summaryrefslogtreecommitdiff
path: root/866/CH20/EX20.8/20_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '866/CH20/EX20.8/20_8.sce')
-rwxr-xr-x866/CH20/EX20.8/20_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/866/CH20/EX20.8/20_8.sce b/866/CH20/EX20.8/20_8.sce
new file mode 100755
index 000000000..fd33bc5a2
--- /dev/null
+++ b/866/CH20/EX20.8/20_8.sce
@@ -0,0 +1,21 @@
+clc
+//initialisation of variables
+W= 1.5 //KN/m
+W1= 1 //KN/m
+n=10
+x= 0.9 //m
+y= 1.2 //m
+x1= 5
+x2= 0.5
+x3= 4
+x4= 0.4
+x5= 6
+x6= 0.6
+x7= 3
+x8= 0.3
+//CALCULATIONS
+S5= -1*0.5*x1*x2+2.5*0.5*x3*x4
+S51= -1*0.5*x5*x6+2.5*0.5*x7*x8
+//RESULTS
+printf ('S5= %.2f KN',S5)
+printf (' \n S4= %.2f KN',S51)