blob: b438c48a18915b7cf9459cfc070d5669066ec500 (
plain)
1
2
3
4
5
6
7
8
9
|
//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")
|