Question: 1. Create a script file and save it as Assignment.1a LastName.m in a directory of your preference 2. Add a commented line containing the file
1. Create a script file and save it as Assignment.1a LastName.m in a directory of your preference 2. Add a commented line containing the file name at the top of your script file 3. Add commands to clear the screen, clear the workspace and close all figures. 4. Introduce variables to define the problem parameters and assign to them the following values: (a) g 9.81 m/s; (b) m=68.1 Kg; (c) Cd= 0.25 Kg/m; 5. Define a column vector t containing time instants between 0 and 12 seconds, spaced by 1 second: 6. Compute the value of the displacement, measured in meters, at every time instant in t using the formula: 7. Create a figure to plot x = 2(1) defined above. Report on the figure: (a) a continuous blue line plotting z = z(t); (b) red x-marks to display the discrete data points; (c) labels on the x and y axes. 8. Compute the value of the velocity, measured in meters per second, at every time instant in t using the formula: g Cd tanh t Cd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
