Question: Matlab Part 1: Jupiter Object at 5km Part 2: Circular Motion Parts 1 and 2 please and thank you. Write a matlab script (an m-file)
Matlab Part 1: Jupiter Object at 5km

Part 2: Circular Motion

Parts 1 and 2 please and thank you.
Write a matlab script (an m-file) based on the "Vertical Motion Wtih Gravity" exercise. Make the following modifications: use the gravity of Jupiter (one decimal precision, round using standard rounding practice) - Determine the initial velocity required such that the height peaks in between 5 km and 5.1 km Please please determine the value through trial and error! I intend for this process to help demonstrate two future programming skills. - Trial and error here means... 1. try an initial velocity value in your script. 2. run script. 3. analyze the results 4. adjust initial velocity 5. run script again 6. repeat . Your code must assign the appropriate value to the following variables and perform the specified actions gravityJupiter (in m/s^2) initVelocity = velocity required to peak in between 5 km and 5.1 km time = a matrix representing your simulation time values from 0 to 40 seconds with 0.1 timestep. (in seconds) height = a matrix representing the height over time in meters) plot height against time. Plot should include informative axis and title. Write an m-file script that will plot an object in circular motion. The script must take advantage of vectorized operations the script should plot one complete "orbit" the a=amplitude should be set 42 . Using the following two equations for position (coordinates) of an object in circular motion: x(t)=a * sin(t) y(t)=a * cos(t) Your code must assign the appropriate value to the following variables and perform the specified actions . t= values from 0 to that needed for a full circle. Increments of 0.01 x and y as calculated above Plot of the circular motion, x and y, used appropriately. Plot should be well labeled
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
