# ENGR 17 Practice Test 2 Name___________________

advertisement
```ENGR 17
Practice Test 2
Name___________________
OPEN COMPUTER – OPEN NOTES
1) A) Use the fib.m function from a previous lab to plot fib(x) vs x,
for x ranging from 1 to 20. You must use a loop to build the vector of fib numbers.
B) Does this curve express a linear, exponential or power relationship? Justify your answer with an
appropriate plot.
C) Fit the curve with the appropriate mathematical formula (one of the above choices), solving for m
and b.
D) Determine the quality of your fit by calculating the r-squared value.
E) Plot the curve and your model on the same plot, using appropriate symbols, axes and title labels.
Also include a legend helping to identify model and data on the plot.
2)
3) Solve the following equations for x,y and z using Matlab
- 1x + 3y - 5z
= -48
5x + 2y - 3z
= 26
2x
= 104
- 8y + 4z
4)
c. In each case determing whether a single solution exists, no solution, or an infinite number of solutions exist.
```