clc clear //input t1=34 u=0//starts from rest x=3//distance to move //calculation t=(3*3/(10*sind(t1)))^0.5//from law of conservation of energy //output printf("the time taken is %3.3f s",t)