====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:spring-2016:math445:lab1 [2016/01/25 11:38] gibson created |
gibson:teaching:spring-2016:math445:lab1 [2016/01/25 12:01] (current) gibson |
||
---|---|---|---|
Line 5: | Line 5: | ||
**Problem 1:** Evaluate these Matlab expressions in your head and write down the answer. | **Problem 1:** Evaluate these Matlab expressions in your head and write down the answer. | ||
Then type them into Matlab and see how Matlab evaluates them. If you made a mistake, figure out what it was. | Then type them into Matlab and see how Matlab evaluates them. If you made a mistake, figure out what it was. | ||
+ | |||
+ | 2/3 | ||
25/4*4 | 25/4*4 | ||
Line 31: | Line 33: | ||
tangent of $\pi$ | tangent of $\pi$ | ||
+ | **Problem 3:** Are any of your answers for problems 1 and 2 surprising? Which, and why? | ||
- | **Problem 3:** Wind chill factor: The WCF supposedly conveys how cold it feels with a given air | + | **Problem 4:** Wind chill factor: The WCF supposedly conveys how cold it feels with a given air |
temperature T (degrees Farenheit) and wind speed V (miles per hour). A formula | temperature T (degrees Farenheit) and wind speed V (miles per hour). A formula | ||
for WCF is | for WCF is | ||
<latex> | <latex> | ||
- | WCF = 35.7 + 0.6 T - 35.7 V^{0.16} + 0.43 \; T \; V^{0.16} | + | WCF = 35.74 + 0.6215 T - 35.75 V^{0.16} + 0.4275 \; T \; V^{0.16} |
</latex> | </latex> | ||
Create variables for temperature T and wind speed V and then using this formula, | Create variables for temperature T and wind speed V and then using this formula, | ||
- | calculate the WCF for (a) T = 45 F and V = 10 mph and (b) T = 45 F and V = 0 mph. | + | calculate the WCF for |
+ | |||
+ | **(a)** T = 45 F and V = 10 mph | ||
+ | |||
+ | **(b)** T = 45 F and V = 0 mph. | ||
- | **Problem 4:** The geometric mean g of n numbers $x_1, x_2, \ldots, x_n$ is given by | + | **Problem 5:** The geometric mean g of n numbers $x_1, x_2, \ldots, x_n$ is given by |
\begin{eqnarray*} | \begin{eqnarray*} | ||
Line 59: | Line 66: | ||
Compute the average rate of return, expressed as a percent. | Compute the average rate of return, expressed as a percent. | ||
- | **(b)**Which is better, a steady 5% per year return on investment, or alternating between 0% and 10% year by year? | + | **(b)** Which is better for the investor, a steady 5% per year return on investment, or alternating between 0% and 10% year by year? |
| | ||
- | **Problem 5:** The astoundingly brilliant but short-lived mathematician [[http://en.wikipedia.org/wiki/Srinivasa_Ramanujan | Srinivasa Ramanujan]] devised the following very powerful formula for for $1/\pi$ | + | **Problem 6:** The astoundingly brilliant but short-lived mathematician [[http://en.wikipedia.org/wiki/Srinivasa_Ramanujan | Srinivasa Ramanujan]] devised the following very powerful formula for for $1/\pi$ |
\begin{eqnarray*} | \begin{eqnarray*} |