This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    gibson:teaching:fall-2013:math445:lab1 [2013/08/27 06:47] gibson  | 
                
                    gibson:teaching:fall-2013:math445:lab1 [2013/08/28 18:33] (current) gibson  | 
            ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| is fix(-3.2) == floor(-3.2)? | is fix(-3.2) == floor(-3.2)? | ||
| - | is fix(-3.2) === ceil(-3.2)? | + | is fix(-3.2) == ceil(-3.2)? | 
| - | What is the type of //fix(-3.2) === ceil(-3.2)//? | + | What is the type of //fix(-3.2) == ceil(-3.2)//? | 
| **Problem 6:** Find Matlab expressions for | **Problem 6:** Find Matlab expressions for | ||
| Line 56: | Line 56: | ||
| tangent of pi | tangent of pi | ||
| - | Evaluate the expressions. Do you notice anything unexpected? | + | Evaluate the expressions. Do you notice anything unexpected? Can you explain it? | 
| **Problem 7:** Generate random numbers | **Problem 7:** Generate random numbers | ||