Question

Converting Function To MATLAB,We should be able to convert thethrust function into an if and elseifActual Project #2 Code;Exact Numbers Redactedx(1statement.This allows us to input any time andthe thrust of the rocket will be outputto us!1DO NOT forget the else statement thathas the motor“burnout”.This issection #5 on the previous slide's plot.

Fig: 1

Fig: 2