Question: I need help with this problem in matlab A truck makes deliveries from the warehouse to retail stores. Using a delivery trucks log showing the

I need help with this problem in matlab

A truck makes deliveries from the warehouse to retail stores. Using a delivery trucks log showing the distances between stores, and the time spent in transit from store to store, the companys transportation engineer developed a model for the trucks speed as a function of time: v = 10.5 + 2*tan (t^2)

where v = the trucks speed in miles/hr t = time is in hrs Using a time interval of 0 to 8 hours, with increments (time steps) of 0.5 hour, write a script that will generate a data set of truck speeds as a function of time. In addition, write the output to a .txt file called TruckSpeed.txt. Truck speeds should be shown with 1 decimal place accuracy. 2. A governor is placed in a motor vehicle to limit its speed to a predetermined maximum. The transportation engineer, who is concerned about fuel economy and the drivers probability of speeding to save time, wants to install a governor on the truck so that the speed does not exceed 55 miles per hour. Write a function script to plot the trucks speed over time, using the .txt file in Part 1. 3. In order to convince their manager to authorize the purchase of a governor for the truck, the transportation engineer needs to show how often the governor would be used, based on the trucks speed history. Use the data calculated in Problem 1 and the function file from Problem 2 to write a script to calculate the percentage of speeds that exceed 55 miles per hour. In your output, include a label next to each speed to indicate whether a governor is necessary to limit the speed.

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!