summaryrefslogtreecommitdiff
path: root/1199/CH2/EX2.2/2_2.sci
blob: 24c2b9ff83c5bf90c81cbb3d9f12b4f78d1cfa03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 2.2
clc;
P=100*10^3;
A=1500*10^-6;
F=P*A;
Cs=F/3;
Ls=Cs+40;
printf("Natural length of spring = %.2f mm", Ls)
P1=10*10^3;
F1=P1*A;
Ss=3+2*.5;
D=F1/Ss;
printf("\nDisplacement of point C = %.2f mm", D)