Week 7 Challenge
This is the vehicle model block in simulink.

Aerodynamic drag:
Fa = (1/2)*delta*Af*Cd*(V*V)
Delta - density of surrounding air
Af - vehicle frontal area
Cd - drag coefficient
V - velocity of vehicle
Grade resistance:
Fg = M*g*sin(u)
M - mass
g - gravity
u - angle of slope
This is the simulink block for aerodynamic drag and grade resistance formula.

This is the result from data inspector in simulink.
