Write a Script to Plot a Function in the Domain Using MATLAB

$39.00$24.001578 reads

Question

Write a script to plot the following mathematical function in the domain -5 ≤ t ≤ 1 in increments of 0.05.

                                          y = t2 + 3t + 4

Assume that the x-axis is time measured in seconds, and the y-axis is distance measured in meters. Print the minimum and maximum values of y for that range of ts, and the t values that produce the minimum and maximum values (hint, look up the different versions of the function min/max). Label the axes with time in seconds (t) and distance in meters (y).

 

Summary

This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to write a script to plot the given mathematical function in the given domain.

 

 

 

 

Add to Cart