blob: bdbf58c1b3c0f269cc9f135bc48c27039ed3f4fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example 4_10
clc();
clear;
//To calculate the tension in the rope
u=0.7
sintheta=(6/10)
w1=50 //units in Kg
g=9.8 //units in meter/sec^2
costheta=(8/10)
Fn=w1*g*costheta //units in Newtons
f=u*Fn //units in Newtons
T=f+(w1*g*sintheta)
printf("The tension in the rope is T=%d N",T)
|