Question: matlab programming help me. make a code 6. [15 points] The following diagram shows how we can calculate the position of the particle launched by

 matlab programming help me. make a code 6. [15 points] The

matlab programming help me. make a code

6. [15 points] The following diagram shows how we can calculate the position of the particle launched by an initial velocity of vo and a launch angle of ignore drag x(t) =v,cos(8), y(t) ay, sin()--gr yet) where v launch speed(m/s) o-launch angle(deg) g gravitational acc (9.8m/s) particle x(t) (1) The following plot shows particle positions from Ot o 1.5 sec with a time increment of 0.05 for the launch angles of 30,40*, 50, and 60 when vois 50Km/hr. Write the MATLAB program that can generate the following plot using me shgrid and plot functions. Note that Need to convert vo from km/hr to the unit of m/s Use the [TH, T]-meshgrid(theta, t) where theta is a vector with launch angles 30, 40 50, and 60t and t is a vector storing time values. Note that each column of TH and with each launch angle. Markers shown in the plot can be created with 'in plot function with 'markersize'of 10 T is associated Insert an appropriate title, labels for x and y axes Insert the legend. Note that a Greek letter can be created with \theta, and a subscript can be created using Insert the text t-Osec' at (0,0) Grid is on. * -'(T express you can type \theta-1) . (2) In a new figure window, plot the horizontal (x) and vertical (v) distances traveled for time from 0 to 1.5 sec with an increment of 0.0S sec for the launch angles of 30, 40, 50, and 60 using solid lines with linewidth' of 1. Note that Use subplot 211 and 212 to plot horizontal(x)-time and vertically)-timeft) for four launch angles .Insert appropriate axes labels . Insert legends . Insert titles 'Horizontal distance vs time' and Vertical distance vs time' . Grid is on 7. (10 points] When the interest is compounded continuously the following equation represents the growth cof your savings. Find the amount in your account at the end of each year if you invested $1,000 at 5% for 30 years. Create figures with 4 subplots with time t (year) on x axis and the current balance P on the y axis. 221 :plot t versus P in a rectangular coordinate Subplot system . where P current balance P -initial balance growth constant expressed is a decimal fraction -time invested . Subplot 222: plot t versus P, scaling the x-axis logarithmically . Subplot 223: plot t versus P, scaling the y-axis logarithmically . Subplot 224: plot t versus P, scaling both axes logarithmically | . Insert x label and plots Insert the title of 'Continuous Compound Interest for all plots y label of Timelyearl' and 'Dollar for all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!