Wednesday, June 6, 2012

Terminal 101: Solving Math Equations

by Cory Bohon 4Comments

Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!

This week’s Terminal 101 tip will help you solve both simple and complex equations through the command line without having to launch a dedicated application. With the Terminal and bc (a command line-based basic calculator), you’ll be able to perform quick calculations in long string formats, and even set variables and refer to them throughout the equation.

Opening bc



View the Original article

No comments: