Mathematics & Science
Learning Center |
|||
Mathematica Basics—ArithmeticIntroductionMathematica has been described by some as the world's most expensive calculator. While this description doesn't pay such a powerful program the tribute it deserves, it can certainly be treated as an on-line calculator, and that's basically what we're going to be doing in this laboratory. The Arithmetic CommandsNow let's quickly go over the symbols used when doing basic arithmetic with Mathematica:
Note: All of Mathematica's built in functions start with a capital letter. Get used to it. Evaluating CommandsThere's one last thing you should be aware of before we dive into a real notebook. In order to tell Mathematica that you want it to actually evaluate what you have typed, hit the ENTER key over on the extreme right side of your keyboard on the numeric keypad. Do not confuse this with the RETURN key, which merely starts a new line of text. (Mathematica commands can span many lines if you want them to.) It should be noted, however, that SHIFT-RETURN will work the same as the ENTER key You're about to do the easiest laboratory exercise of the course, so don't panic too much. You can now switch to an actual Mathematica practice notebook by clicking on the icon on the left. It may take a while to start up! Don't forget to come back here when you're done! (You can also return here just to reread the instructions.) See you in a few minutes. Welcome back! You may be wondering how well you did. Click on the icon on the left to see the answers you should have gotten. (Only the answers are given, so if you don't match our results you need to figure out what you did wrong.) You've now finished learning the Basics of Arithmetic in Mathematica. You may next go to the Table of Contents for the Mathematica Basics Labs, or go to the Table of Contents for all of the Differential Equations Labs, or simply quit. |
|||
ODE Laboratories: A Sabbatical Project by Christopher A. Barker ©2017 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA e-mail: cbarker@deltacollege.edu |