summaryrefslogtreecommitdiff
path: root/2858/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2858/CH1/EX1.6/Ex1_6.sce')
-rwxr-xr-x2858/CH1/EX1.6/Ex1_6.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2858/CH1/EX1.6/Ex1_6.sce b/2858/CH1/EX1.6/Ex1_6.sce
new file mode 100755
index 000000000..363bdcfb5
--- /dev/null
+++ b/2858/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,11 @@
+//example 1.6
+clc; funcprot(0);
+Gammad=14.5;
+Gammasat=17.2;
+Gammaw=9.81;
+printf("Point \t Sigma(kN/m^2)\t u(kN/m^2)\t sigmadash=sigma-u (kN/m^2)\n");
+
+printf(" A\t %d\t \t %d\t\t %d \n",0,0,0);
+printf(" B\t%.2f\t \t%.2f\t\t %.2f \n",4*Gammad,0,4*Gammad-0);
+printf(" C\t%.2f\t \t%.2f\t\t %.2f \n",4*Gammad+5*Gammasat,5*Gammaw,4*Gammad+5*Gammasat-5*Gammaw);
+