summaryrefslogtreecommitdiff
path: root/3776/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH1/EX1.2/Ex1_2.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 '3776/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3776/CH1/EX1.2/Ex1_2.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3776/CH1/EX1.2/Ex1_2.sce b/3776/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..90d76b556
--- /dev/null
+++ b/3776/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,24 @@
+clear
+//Given
+load_distributed = 20 //kN/sq.m, This is the load distributed over the pier
+H = 2 // m, Total height
+h = 1 //m , point of investigation
+base = 1.5 //m The length of crossection in side veiw
+top = 0.5 //m ,The length where load is distributed on top
+base_inv = 1 //m , the length at the point of investigation
+area = 0.5*1 //m ,The length at a-a crossection
+density_conc = 25 //kN/sq.m
+//caliculation of total weight
+
+v_total = ((top+base)/2)*top*H //sq.m ,The total volume
+w_total = v_total* density_conc //kN , The total weight
+R_top = (top**2)*load_distributed //kN , THe reaction force due to load distribution
+reaction_net = w_total + R_top
+
+//caliculation of State of stress at 1m
+v_inv = ((top+base_inv)/2)*top*h //sq.m ,The total volume from 1m to top
+w_inv = v_inv*density_conc //kN , The total weight from 1m to top
+reaction_net = w_inv + R_top //kN
+Stress = reaction_net/area //kN/sq.m
+printf("\n The total weight of pier is %0.3f kN",w_total)
+printf("\n The stress at 1 m above is %0.1f kN/m**2",Stress)