{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

14-440-127_20Recitation_204_20Problems

14-440-127_20Recitation_204_20Problems - 14:440:127...

This preview shows pages 1–2. Sign up to view the full content.

14:440:127- Introduction to Computers for Engineers Problems for students to attempt in Recitation 4 1) Plot the following functions from x = 0 to 10 a) y = 5e 2x b) y = sin(x) c) x = sin(y) d) y = x 1/3 e) y = sin 2 (x) + cos 2 (x) f) Now plot part d using a red dotted line, and represent the points by circles 2) Plot the following functions from x = 10 to 30 Label the x axis as “Hours Spent on Matlab,” the y axis as “Grade in the Class,” and title each graph with the equation of the function plotted a) y = 6x 3 b) y = 5x 3 + 6x 2 c) y = 4x 3 + 12x 2 + 15x d) y = 100x 2 e) Now, graph all four of those equations on the same set of axes. f) Now, graph all four of those equations side by side using subplot 3) Create the surface where z is 1.5*x+sqrt(x.*y), where x and y both run from 1 to 100. Hint: use meshgrid and then surf. Also, think about why we must have x.*y rather than x*y. 4) Given x = 0:10:100, and y = [ 2 , 44053 , 9.7033e+008, 2.1373e+013, 4.7077e+017, 1.0369e+022, 2.2840e+026, 5.0309e+030, 1.1081e+035, 2.4408e+039, 5.3762e+043 ]

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 3

14-440-127_20Recitation_204_20Problems - 14:440:127...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online