clc clear //Input data //A small ball is released from height of 4r measured from the bottom of the loop, where r is the radius of the loop //Calculations ar=(6*9.8)//Radial acceleration in m/s^2 at=(9.8*sind(90))//Tangential acceleration in m/s^2 //Output printf('Radial acceleration is %3.1f m/s^2 \n Tangential acceleration is %3.1f m/s^2',ar,at)