diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1898/CH4/EX4.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1898/CH4/EX4.9')
-rwxr-xr-x | 1898/CH4/EX4.9/Ex4_9.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/1898/CH4/EX4.9/Ex4_9.sce b/1898/CH4/EX4.9/Ex4_9.sce new file mode 100755 index 000000000..4b9406d00 --- /dev/null +++ b/1898/CH4/EX4.9/Ex4_9.sce @@ -0,0 +1,29 @@ +clear all; clc;
+
+disp("Scilab Code Ex 4.9 : ")
+
+//Given:
+l_ab = 800 + 400;//mm
+P = 20; //kN
+d = 5/1000; //m
+area = (%pi/4)*d^2; //Cross sectional area
+l_bbdash = 1/1000;//m
+E = 200; //GPa
+
+//Calculations:
+
+//Compatibility
+delta_p = (P*10^3*0.4)/(area*E*10^9); //delta = PL/AE
+delta_b = delta_p-l_bbdash;
+F_b = (delta_b*area*E*10^9)/(l_ab/1000);
+F_b = F_b/1000;
+
+//Equilibrium:
+F_a = P - F_b;
+
+//Display:
+
+printf("\n\nThe reaction at A = %1.1f kN',F_a);
+printf('\nThe reaction at B = %1.1f kN',F_b);
+
+//------------------------------------------------------------END--------------------------------------------------------------------
|