1 2 3 4 5 6 7 8
clc //initialisation of variables t=4.5//sec a=2//mm //CALCULATIONS X=a*(t)^2//cm //RESULTS printf('the perpendicular at point=% f cm',X)