Engr 101 Assigned: November 6, 2015 Assignment 1 Due: November 11, 2015

advertisement
Engr 101
Assignment 1
Assigned: November 6, 2015
Due: November 11, 2015
Download this page as a Word document from
http://csserver.evansville.edu/~blandfor/EN101/index.htm.
Work each problem by using MATLAB® as a calculator. Copy and paste your MATLAB® code
and your results below each problem. Turn in the completed sheet.
1.
2.
91 
42 sin( 15.6o )  23.5
5
If x = 2 and y = 7 use MATLAB® to calculate the value of each of the following:
A)
1
 100 
1  6 
x 

B)
2 y2
2x  8
C)
yx3
x2  y 2
3. Find the value of y in the following for x = 0, 1, 2, … 10.
y  0.4 x3  12 x2  4.2 x  6
4. Find the value of y in the following for x = 0, 0.1, 0.2, … 1.0.
y  x3  14.2 x2  3x  6
5. Find the value of y in the following for x = -2 to +2 in steps of 0.5.
sin( x )
y
x
6. Find the value of y in the following for x = 0 to 6 in steps of 0.5.
y  e x sin( x)
7. Use the roots function to find the roots of the following polynomial.
x3  9 x 2  3x  1  0
8. Use the sqrt function to find the square roots of the integers from -4 to +4.
9. What does the following statement do when executed in MATLAB®. Explain
roots(poly(1:20))
10. Use MATLAB® to print the sin(2θ) x cos(3θ) for θ = 0o, 10o, …900
Download