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/26 18:42] gibson  | 
                
                    gibson:teaching:fall-2013:math445:lab1 [2013/08/28 18:33] (current) gibson  | 
            ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| - | **Problem 2:** What is the type of the answers in problem 5? | + | **Problem 2:** What is the type of the answers in problem 1? | 
| **Problem 3:** Use //intmin// and //intmax// to determine the range of values that can be stored in the types //uint32// and //unint64//. Express the answers as integers and in scientific notation. | **Problem 3:** Use //intmin// and //intmax// to determine the range of values that can be stored in the types //uint32// and //unint64//. Express the answers as integers and in scientific notation. | ||
| 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 | ||
| Line 99: | Line 99: | ||
| <latex> | <latex> | ||
| - | \qrt[3]{1.15 \cdot 1.05 \cdot 1.10} | + | \sqrt[3]{1.15 \cdot 1.05 \cdot 1.10} | 
| </latex> | </latex> | ||