====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:fall-2013:math445:sampleexam1solns [2013/10/23 09:16] gibson created |
gibson:teaching:fall-2013:math445:sampleexam1solns [2013/10/23 09:18] (current) gibson |
||
---|---|---|---|
Line 8: | Line 8: | ||
or | or | ||
- | x = [4 5 7]' | + | <code> |
+ | x = [4 5 7]' | ||
+ | </code> | ||
Line 23: | Line 25: | ||
randperm(52) | randperm(52) | ||
- | **Problem 4.** Write Matlab code that draws a unit circle, using the formulae ''x = cos theta'' | + | **Problem 4.** Write Matlab code that draws a unit circle, using the formulae $x = \cos \theta$ |
- | and ''y = sin theta'' for 200 evenly spaced values of theta between 0 and 2pi. Label the | + | and $y = \sin \theta$ for 200 evenly spaced values of theta between 0 and 2pi. Label the |
axes and make the circle red. | axes and make the circle red. | ||