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.
Check the minimum value against the analytic solution (hint: minimum and maximum values occur when the derivative is zero).
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.
Download Full Solution