Question
Please help with this exercise in Matlab
4 The range of an object shot at an angle θ (with respect toxaos), with the initial velocity of Va (in the absence of air resistance), is calculated by the following formula: va , sin(20) Range (0 052) And the trajectory of object is given by where h is the height of the object at each x location and g 9.81 m/s. Using n/8 increment size for the angle and Vo-10 m/s, plot the trajectories of the object in one figure with respect to x. (Hint: follow these steps: 1) For each value of θ find the range. 2) Create x as a vector starting from 0 to the computed range, 3) Compute h using θ and x from steps 1 and 2, 4) Plot h as a function of x. 5) Use hold on for the next plot (Use different colors for the plots and dont forget to put legends and labels). a) Create a vector for θ including 100 equally-spaced elements, and determine at which angles the maximum and minimum ranges occurs What is the maximum height of the object at the angle determined in part b. b) c)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ам Jee h +ah@ ), χ --h.x® the values b e ae :- G-8 (0-19X gwイ2x.3T).zo.41& m 2

-却3 3 824XI -5 3- 2xto

es 06 04 O.3 0 2 C) moxI mum

Add a comment
Know the answer?
Add Answer to:
Please help with this exercise in Matlab 4 The range of an object shot at an...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please solve using Matlab ONLY Computational Modeling The range of an object shot at an angle...

    Please solve using Matlab ONLY Computational Modeling The range of an object shot at an angle theta with respect to the x-axis and an initial velocity v0 is given by the trajectory shown below. The Range can be obtained by the following equation, The above equation neglects air resistance and uses standard gravity of g = 9.81 m/s2. Write a matlab code in order to calculate the Range for velocity range 0≤ vo ≤100 m/s and shooting angle range 0...

  • please solve it using MATLAB The range of an object shot at an angle theta with...

    please solve it using MATLAB The range of an object shot at an angle theta with respect to the x-axis and an initial velocity v_0 (Figure P3.16) is given by Range = v^2_0/g sin (2 theta) for 0 lessthanorequalto theta lessthanorequalto pi/2 and neglecting air resistance. Use g = 9.81 m/s^2 and an initial velocity v_0 of 100 m/s. Show that the maximum range is obtained at approximately theta = pi/4 by computing the range in increments of pi/100 between...

  • MATLAB Program Problem A projectile is shot at an angle of 50 degrees with respect to...

    MATLAB Program Problem A projectile is shot at an angle of 50 degrees with respect to the horizontal at a velocity of 200 m/s. Earth's gravity is 9.81 m/s 2. Take the variable x as the range and y as the altitude. Create a MATLAB plot, which plots that trajectory. Now, assume the terrain slopes up by 1 m in y for every 10 m in x. On the same axis, plot the line of the terrain in a different...

  • A projectile is shot at an angle of 50 degrees with respect to the horizontal at...

    A projectile is shot at an angle of 50 degrees with respect to the horizontal at a velocity of 200 m/s. Earth's gravity is 9.81 m/s^2. Take the variable x as the range and y as the altitude. Create a MATLAB plot, which plots that trajectory. Now, assume the terrain slopes up by 1 m in y for every 10 m in x. On the same axis, plot the line of the terrain in a different color. (without using a...

  • 2. A baseball thrown from the outfield, a golf ball, or a thrown football, all will follow a trajectory (path) that has horizontal as well as vertical displacement components. If we neglect the a...

    2. A baseball thrown from the outfield, a golf ball, or a thrown football, all will follow a trajectory (path) that has horizontal as well as vertical displacement components. If we neglect the air friction on the ball, the path will be a perfect parabolic trajectory. The equations for the displacement of the ball are: Take gravity g as 9.81 meters per second, and the initial velocity, Vo, equal to 35 meters/second. Use Excel to show the ball trajectory for...

  • Write a MATLAB Graphical User Interface (GUI) to simulate and plot the projectile motion – the...

    Write a MATLAB Graphical User Interface (GUI) to simulate and plot the projectile motion – the motion of an object projected into the air at an angle. The object flies in the air until the projectile returns to the horizontal axis (x-axis), where y=0. This MATLAB program should allow the user to try to hit a 2-m diameter target on the x-axis (y=0) by varying conditions, including the lunch direction, the speed of the lunch, the projectile’s size, and the...

  • Please help! :) Discussion #3 1. Consider the motion of an object that can be treated...

    Please help! :) Discussion #3 1. Consider the motion of an object that can be treated as a point particle and is traveling counter-clockwise in a circle of radius R. This motion can (and will for the purposes of these discussion activities) be described and analyzed using a Cartesian (x-y) coordinate system with a spatial origin at the center of the particle's circular trajectory (the physical path its motion traces out in space). (a) Draw a diagram of the position...

  • Please answer these problems 4. A particle of mass o.500 kg is shot from Pas shown...

    Please answer these problems 4. A particle of mass o.500 kg is shot from Pas shown in Figure P7.6. The particle has an initial velocity with a horizontal component of 30.0 m/s. The particle rises to a maximum height of 20.0 m above P. Using the law of conservation of energy, determine (a) he vertical component of vi, he work done by the gravitational force on the particle during its motion from P to B, and (c) the horizontal and...

  • can you answer both #1 (a&B) and #2 please 1. Write MATLAB code to do the...

    can you answer both #1 (a&B) and #2 please 1. Write MATLAB code to do the following: (4 pts) a) Find the area of the circles where r=[7, 8, 10] using A = tr2 b) Find the distance traveled by a ball falling in the air is given by the equation x=x0+vot+ at?. Calculate the position of the ball at time t = 5s, XO = 10m, vo= 15 m/s, and a = 9.81 m/sec^2. Write MATLAB code to accomplish...

  • Please show matlab editor and command window B. (4 pts) Use the : operator to create...

    Please show matlab editor and command window B. (4 pts) Use the : operator to create the vectors x [2.5,1.50.5,-0.5,-1.51 and y [0.4,0.8,1.2,1.6,2], then use them in the following expression to compute vector z using element-by-element calculations C. (8 pts) A 70 lb bag of rice is being pulled by applying a force F at an angle θ as shown. The force required to drag the bag is given by: θ μ sin θ + cos θ Where u-0.35 is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT