Question: 1 and 2 please [15 pts] A sphere has a radius R with units of cm. A rectangular prism has sides of , /2, and

1 and 2 please
 1 and 2 please [15 pts] A sphere has a radius

[15 pts] A sphere has a radius R with units of cm. A rectangular prism has sides of , /2, and a/4. Write a MATLAB script that asks for three different values for the radius. The MATLAB script should calculate determine of a prism that has the same volume as the sphere for the three different radius values. In addition, the script should determine a of a prism that has the same surface area as the sphere. Format the display in the command window such that it states the value of for the radius R. I. sphereTT3 sphere-4r2 Generate a graph that plots vs R, for the three data points. I abel the axis appropriately. Title the graph. Name your script, Lastname1.m. 120 pts] A train and a car are moving perpendicular to each other. The train is moving along the y-axis and the car is moving along the x-axis. The train is moving at a constant 2. 60 miles per hour. The car has an initial velocity of 35 miles per hour and accelerating at 4 feet per second squared. The initial position of the train is -600 feet and the initial position of the car is -325 feet. The distance between the train and the car is d y x. The velocity of the train relative to the car is velv /c-Vtrain-Vcar. Display in the command window a table from 0 to 15 seconds that includes the position of the car, the position of the train, the velocity of the train, the velocity of the car and the relative velocity of the train with respect to the car. Plot the positon of the train and the car on the same graph and on a separate graph plot the velocity of the train and the car. Label the graphs accordingly. Who arrives to the intersection first? Name your script Lastname2.m

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!