summaryrefslogtreecommitdiff
path: root/3863/CH4/EX4.11
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3863/CH4/EX4.11
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3863/CH4/EX4.11')
-rw-r--r--3863/CH4/EX4.11/Ex4_11.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3863/CH4/EX4.11/Ex4_11.sce b/3863/CH4/EX4.11/Ex4_11.sce
new file mode 100644
index 000000000..24af8f5fe
--- /dev/null
+++ b/3863/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,23 @@
+clear
+//
+//Given
+//Variable declaration
+delL=2.1 //Instantaneous extension in mm
+L=3*10**3 //Length of bar in mm
+A=5*100 //Area of bar in mm
+h=4*10 //Height in mm
+E=2e5 //Modulus of elasticity in N/sq.mm
+
+//Calculation
+V=A*L //Volume of bar in mm^3
+
+//case(i):Instantaneous stress induced in the vertical bar
+sigma=int(E*delL/L)
+
+//case(ii):Unknown weight
+P=(((sigma**2)/(2*E)*V)/(h+delL))
+
+
+//Result
+printf("\n Instantaneous stress = %0.3f N/mm^2",sigma)
+printf("\n Unknown weight = %0.3f N",P)