summaryrefslogtreecommitdiff
path: root/3705/CH6/EX6.10/Ex6_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3705/CH6/EX6.10/Ex6_10.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3705/CH6/EX6.10/Ex6_10.sce')
-rw-r--r--3705/CH6/EX6.10/Ex6_10.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3705/CH6/EX6.10/Ex6_10.sce b/3705/CH6/EX6.10/Ex6_10.sce
new file mode 100644
index 000000000..7aaafaa66
--- /dev/null
+++ b/3705/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,23 @@
+
+clear//
+
+//Variable Declaration
+P1=150 //Load in lb
+P2=30 //Load in lb
+R_A=78 //Reaction at A in lb
+R_C=102 //Reaction at C in lb
+L1=4 //Length in ft
+L2=6 //Length in ft
+M1=780 //Moment in lb.ft
+M2=900 //Moment in lb.ft
+M3=120 //Moment in lb.ft
+
+//Calculations
+EI_AC=0.5*(L1+L2)*M1*(2*3**-1)*(L1+L2)-(0.5*L2*M2*(L1+(2*3**-1)*L2)) //Deflection in lb.ft^3
+EI_thetaC=EI_AC/(L1+L2) //Deflection in lb.ft^2
+
+EI_DC=-0.5*L1*M3*2*3**-1*L1 //Deflection in lb.ft^3
+EI_deltaD=EI_thetaC*L1-(-EI_DC) //Deflection in lb.ft^2
+
+//Result
+printf("\n The deflection is %0.0f lb.ft^2 upwards",EI_deltaD)