The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 327 Weeks Ago, 5 Days Ago |
| Questions Answered: | 12843 |
| Tutorials Posted: | 12834 |
MBA, Ph.D in Management
Harvard university
Feb-1997 - Aug-2003
Professor
Strayer University
Jan-2007 - Present
How do I perform these 2 operations in MATLAB??? DUE AT MIDNIGHT IN HALF HOUR!
PARTS 4 AND 5 OF ATTACHED PDF
6m4m30°Week 9 Application ActivityME219 Computer Programming for EngineersThis week we will revisit our problem from Week 1, except this time we’ll use MATLAB to solve it. Fredthrows a high pass to his friend George standing on a nearby hill as shown, with initial horizontal andvertical velocities of 4 and 10 m/s, respectively. We’re interested in figuring out some of aspects of theball’s trajectory relative to George’s position (i.e. components of the trajectory that are tangential andnormal to the plane of the hill). You will follow 2 general steps when solving this problem: (1) Calculatehorizontal and vertical positions of the ball relative to Fred’s location; and (2) Perform a coordinatetransformation to determine the tangential and normal components of the ball’s position relative toGeorge’s location.1.Start MATLAB, navigate to the directory where you want to save your work, and start a new m‐file called “balltrajectory.m”. Your program should do the following:2.PART 1: create a time row vector running from zero to 2 seconds in steps o 0.1 seconds.3.PART 2: create variables representing the following given conditions:a.Initial position of the ball in (x,y) coordinates (neglect Fred’s height)b.Initial velocity of the ballc.Acceleration due to gravityd.Orientation of (u,v) coordinate system with respect to (x,y) coordinate systeme.Position of (u,v) coordinate system in (x,y) coordinatesf.2x2 rotation matrix4.PART 3: using the equations of projectile motion, create row vectors representing x and ypositions as functions of your time vector:ݔሺݐሻൌݒ௫ݐݔݕሺݐሻൌݒ௬ݐെ12݃ݐଶݕxyuv
Attachments:
-----------