summaryrefslogtreecommitdiff
path: root/3137/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '3137/CH8/EX8.2')
-rwxr-xr-x3137/CH8/EX8.2/Ex8_2.sce34
1 files changed, 18 insertions, 16 deletions
diff --git a/3137/CH8/EX8.2/Ex8_2.sce b/3137/CH8/EX8.2/Ex8_2.sce
index 0b9566048..2a80d8895 100755
--- a/3137/CH8/EX8.2/Ex8_2.sce
+++ b/3137/CH8/EX8.2/Ex8_2.sce
@@ -1,16 +1,18 @@
-//Initilization of variables
-//length matrix
-L1=[0,4,6] //m
-//Bending moment matrix
-B=[0,400,0] //N.m
-//Shear force plotting
-//Here the left side and right side lengths are considered as close as 4 to keep up with right and left distinctions
-L=[0,3.999,4,5.99998,6]
-S=[100,100,-200,-200,0]
-//Calculations cum Result
-subplot(221)
-plot(L1,B)
-xtitle("Bending Moment Diagram","Span","Bending Moment")
-subplot(222)
-plot(L,S,L,0)
-xtitle("Shear Force Diagram","Span","Shear Force")
+//Initilization of variables
+//length matrix
+L1=[0,4,6] //m
+//Bending moment matrix
+B=[0,400,0] //N.m
+//Shear force plotting
+//Here the left side and right side lengths are considered as close as 4 to keep up with right and left distinctions
+L=[0,3.999,4,5.99998,6]
+S=[100,100,-200,-200,0]
+//Calculations cum Result
+subplot(221)
+plot(L1,B)
+xtitle("Bending Moment Diagram","Span","Bending Moment")
+subplot(222)
+plot(L,S)
+mtlb_hold on
+plot(L, zeros(length(L),1))
+xtitle("Shear Force Diagram","Span","Shear Force") \ No newline at end of file