summaryrefslogtreecommitdiff
path: root/564/CH5/EX5.6/5_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /564/CH5/EX5.6/5_6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '564/CH5/EX5.6/5_6.sce')
-rwxr-xr-x564/CH5/EX5.6/5_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/564/CH5/EX5.6/5_6.sce b/564/CH5/EX5.6/5_6.sce
new file mode 100755
index 000000000..a8a220fcf
--- /dev/null
+++ b/564/CH5/EX5.6/5_6.sce
@@ -0,0 +1,12 @@
+pathname=get_absolute_file_path('5_6.sce')
+filename=pathname+filesep()+'5_6data.sci'
+exec(filename)
+SA=0.187*M0/r;
+SB=0.44*M0/r;
+SC=0.373*M0/r;
+printf("\nSA: %f N ",SA)
+printf("\nSB: %f N",SB)
+printf("\nSC:%f N",SC)
+printf("\nM1: %f N.mm",SA*r)
+printf("\nM2: %f N.mm",SB*r)
+printf("\nM3: %f N.mm",SC*r) \ No newline at end of file