blob: d751fc0f3cb7640b112ae37e3a6a29f60af5193c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
clear
//input
v=15//velocity
m=70//mass
r=50//radius
//calculation
x=v*v/(r*10)//applying parallelogram of vectors,then for equilibrium
y=atand(x)
r1=(m*10)/cosd(y)
//output
printf("the inclination is %3.3f deg",y)
printf("\n the reaction is %3.3f N",r1)
|