//Example 4_8 clc(); clear; //To find acceleration in terms of m,f and theta printf("The acceleration a=(f/m)-g*sin(theta)") printf("\n In special case when there is no friction f=0\n") printf("So a=-g*sin(theta)\n") printf("As theta=90 degrees\n") printf("Acceleration a=-g")