This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:spring-2018:math445:lab1 [2018/01/22 18:47] gibson created |
gibson:teaching:spring-2018:math445:lab1 [2018/01/22 20:13] (current) gibson |
||
---|---|---|---|
Line 17: | Line 17: | ||
(5-2)*3 | (5-2)*3 | ||
+ | |||
+ | 4*3^2-7 | ||
+ | |||
+ | 1.7 - 1.4 - 0.3 | ||
Line 46: | Line 50: | ||
calculate the WCF for | calculate the WCF for | ||
- | **(a)** T = 45 F and V = 10 mph | + | **(a)** T = 20 F and V = 0 mph |
- | **(b)** T = 45 F and V = 0 mph. | + | **(b)** T = 20 F and V = 10 mph |
+ | |||
+ | **%%(c)%%** T = 20 F and V = 20 mph | ||
**Problem 5:** 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 | ||
Line 74: | Line 80: | ||
\end{eqnarray*} | \end{eqnarray*} | ||
+ | You can get an approximation of $\pi$ using only arithmetic operations by evaluating and summing a finite number of terms of this series. What is the numerical approximation of $\pi$ using just the first term ($k=0$)? Using the first and second ($k=0$ and $k=1$)? How many digits of accuracy does each of these approximation have? Be sure to use ''format long''. | ||
+ | |||
+ | (adapted from a problem in //Introduction to Matlab Programming// by Siauw and Bayen) |