blob: 5cbc1ba9b3e29734c4d923ec8b1e450f1b85a90b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//initialisation of variables
s0=25//cm
s1=28//cm
s2=23//cm
s3=10//cm
s4=-11//cm
s5=-40//cm
//CALCULATIONS
M=s1-s0+s1-s5//cm
//RESULTS
printf('the displacement are load=% f cm',M)
|