summaryrefslogtreecommitdiff
path: root/3204/CH3/EX3.10/Ex3_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH3/EX3.10/Ex3_10.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3204/CH3/EX3.10/Ex3_10.sce')
-rw-r--r--3204/CH3/EX3.10/Ex3_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3204/CH3/EX3.10/Ex3_10.sce b/3204/CH3/EX3.10/Ex3_10.sce
new file mode 100644
index 000000000..a40f78aab
--- /dev/null
+++ b/3204/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,13 @@
+//Initilization of variables
+w=2000 //N/m
+Lab=3 //m
+//Calculations
+W=w*Lab/2 //N// Area under the curve
+Lac=(2/3)*Lab //m//centroid of the triangular load system
+Rb=(W*Lac)/Lab //N //sum of moment at A
+Ra=W-Rb //N
+//Results
+clc
+printf('The resultant of the distibuted load lies at %f m \n',Lac)
+printf('The reaction at support A is %f N \n',Ra)
+printf('The reaction at support B is %f N \n',Rb)