Text-only Table of Contents (frame/ no frame)
(3) Command Line Calculations Previous Top Next

">

Try:
>> -5/(3.45+2.75)^2
ans =
-0.1301
>> (2+6i)*(2-6i)
ans =
40
>> sin(pi/4)
ans =
0.7071
>> exp(acos(0.3))
ans=3.547
>> a= factorial(12)
>> b= a* cos(.76);
>> b

Useful keys to remember:

;                       Suppress the output of results to the screen
up-arrow         scroll through previously typed commands
???up-arrow     scroll through commands beginning with ??? (command completion)
Esc                  Clear command line
Ctrl+C            Quit current operation and return control to the command line












Previous Top Next


Command_Line_Calculations.src  last modified Sep 29, 2009 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College