Question: us matlab please 3. How to create a graph with more than one set of data plotted in it? in the lab 4, we have
3. How to create a graph with more than one set of data plotted in it? in the lab 4, we have 3 ways to do it. Do you know them? Do you know how to use hold on and hold off? The three ways are plot (x,y),y=f(x), and define x by using specific ranges of values for the variables. Yes I know how to use hold on and hold off. Homeworkt Chapter 4 textbook- 1,2,3,4 Rroiectiles The distance a projeetile travels when fired at an angle is a function of time and can be civided into horizontal and vertical distances. Horizontal(t)=tV0cos()Vertical(t)=tV0sin()21gt2. Horizontal is the distance traveled in the x direction, Vertical is the distance traveled in the y direction, V0 is the initial velocity, is the acceleration due to gravity, 9.8m/3, and is time in seconds. 1. For the projectile just described and fired at an initial velocity of 100m/s and a launch angle of /4(45), find the distance traveled both horizontally and vertically (in the x and y direction) for times from 0 to 20 seconds. Graph horizontal distance versus time on one plot, and in a new figure window plot vertical distance versus time (time on the x-axis). Do not forget a title and labels. 2. In a new figure, plot horizontal distance on the x-axis and vertical distance on the y-axis. assuming launch angles of /3,/4,/6. In a new figure window, graph horizontal distance on the x-axis and vertical distance on the y-axis, for all three cases. (You will have threge lines.) Make. one line solid, one dashed, and one dotted. Add a legend to identify, which line is which
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
