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 /866/CH7/EX7.7/7_7.sce | |
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 '866/CH7/EX7.7/7_7.sce')
-rwxr-xr-x | 866/CH7/EX7.7/7_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/866/CH7/EX7.7/7_7.sce b/866/CH7/EX7.7/7_7.sce new file mode 100755 index 000000000..8d4c1a18b --- /dev/null +++ b/866/CH7/EX7.7/7_7.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+A= 120*300 //mm^2
+At= 6*300 //mm^2
+Ec= 150 //N/mm^2
+Et= 150*15 //N/mm^2
+P= 150*10^3 //N
+//CALCULATIONS
+Ac= A-At
+sigmaci= (Ec*At)/Ac
+F= Ac*sigmaci
+stressintheconcrete= (sigmaci)-((Ec*P)/(Ac*Ec+At*Et))
+stressinthesteel= (F/At)+((Et*P)/(Ac*Ec+At*Et))
+printf ('stressintheconcrete= %.1f N/mm^2(compression)',stressintheconcrete)
+printf (' \n stressinthesteel=% f N/mm^2(tension)',stressinthesteel)
|