summaryrefslogtreecommitdiff
path: root/680/CH4/EX4.01
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /680/CH4/EX4.01
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 '680/CH4/EX4.01')
-rwxr-xr-x680/CH4/EX4.01/4_01.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/680/CH4/EX4.01/4_01.sce b/680/CH4/EX4.01/4_01.sce
new file mode 100755
index 000000000..668a51aee
--- /dev/null
+++ b/680/CH4/EX4.01/4_01.sce
@@ -0,0 +1,16 @@
+//Problem 4.01:
+
+//initializing the variables:
+mdt = 0.15; // in kg/sec
+v = 420; // in m/sec
+
+//calculation:
+vxin = v
+vxout = 0
+vyin = 0
+vyout = v
+Fxgc = mdt*(vxout - vxin)
+Fygc = mdt*(vyout - vyin)
+
+printf("\n\nResult\n\n")
+printf("\n The x-direction supporting force is %.1f N and The y-direction supporting force is %.1f N",Fxgc,Fygc) \ No newline at end of file