hw10 - Homework 10 ( 4-11) 4. (Ch. 18, Problem 7) Write a...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 10 ( 4-11) 4. (Ch. 18, Problem 7) Write a program plotting.c to plot function f ( x ) = 2 x 2 * sin( x ) versus x when x varies within the range of -8.5 radian x 8.5 radian using plotting function plotxy() . 5. (Ch.18, Problem 8) Write a program to plot functions y 1 = e x + x and y 2 = 10sin( x ) from x = 0 to π without labels in both x and y axes. The plot shall have legends of y1 and y2 for the curves of these two functions with 50 points for each curve. 6. (Ch. 18, Problem 9) A projectile is fired into the air with an initial speed v o of 35.0 m/s. Plot its trajectories for
Background image of page 1

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

View Full DocumentRight Arrow Icon
initial projection angles of θ o = 15 ° , 30 ° , 45 ° , 60 ° , 75 ° , and 90 ° . Plot with 100 points for each curve in a single plot. The trajectory can be expressed in X-Y coordinates using equations 5.3 and 5.4 in section 5.8. You may use the following member function call plot.border(PLOT_BORDER_LEFT, PLOT_OFF); to remove the board on the left of the plot. 7. (Ch.19, Problem 4) Given
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

hw10 - Homework 10 ( 4-11) 4. (Ch. 18, Problem 7) Write a...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online