Answer:
Plot attached.
Explanation:
It is required to plot the function: T = 6 * Ln(t) - 7* e^(0.2*t)
Where t is in minutes ranging from 1 to 3.
T is the temperature in °C.
Matlab uses the expresión: exp() to represent e^()Matlab uses the expression: Log() for Natural logarithm Ln.
The first section of the program: Delete previous calculations and plots. clcclear allclose all
Second section of the program: Declare the time variable and its range.
t = 1:0.1:3;
Third, calculate the Temperature with the function defined previously:
T = 6*log(t) - 7 *(exp(0.2*t));
Finally, we can plot the Temperature vs Time using the plot command, it is required to label the axes with xlabel and ylabel function
plot(t,T)
xlabel('Time [min]')
ylabel('Temperature [°C]')
The plot is attached.