User Tools

Site Tools


gibson:teaching:spring-2018:math445:lecture:arithmetic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gibson:teaching:spring-2018:math445:lecture:arithmetic [2018/01/23 13:49]
gibson [Evaluating expressions]
gibson:teaching:spring-2018:math445:lecture:arithmetic [2018/01/24 18:05] (current)
gibson [basic math functions]
Line 112: Line 112:
 ====Variables==== ====Variables====
  
 +<code matlab>
 >> x = 4  % assign value of 4 to variable x >> x = 4  % assign value of 4 to variable x
 x =  x = 
Line 127: Line 128:
 ans = ans =
   12   12
 +</​code>​
 ====Evaluating expressions==== ====Evaluating expressions====
  
Line 144: Line 145:
 </​code>​ </​code>​
 ==== basic math functions ==== ==== basic math functions ====
-  ​sin, cos, tan, sec, csc, cot, asin, acos, atan,  + 
-  exp, log, log10, abs, sqrt, factorial, mod+<code matlab>​ 
 +  ​sin, cos, tan, sec, csc, cot, asin, acos, atan          % the classic trig funcsin radians 
 +  sind, cosd, tand, secd, cscd, cotd, asind, acosd, atand % the classic trig funcs, in degrees 
 +  exp, log, log10, abs, sqrt, factorial, mod              % other awesome functions 
 +</​code>​ 
   ​   ​
   ​   ​
gibson/teaching/spring-2018/math445/lecture/arithmetic.1516744166.txt.gz · Last modified: 2018/01/23 13:49 by gibson