clc disp("Example 1.1") printf("\n") printf("Given") disp("Acceleration is 2.0m/s^2") disp("Mass is 10kg") m=10;a=2; disp("a)") disp("F=m*a") F=m*a printf("Force is %dN\n",F) disp("b)") printf("time=4s\n") t=4; x=(a*t*t)/2 KE=(F*x) P=KE/t printf("Position is %dm\n",x) printf("Kinetic energy =%3.1fJ\n",KE) printf("Power =%3.1fW\n",P)