summaryrefslogtreecommitdiff
path: root/1172/CH4/EX4.8/Example4_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH4/EX4.8/Example4_8.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 '1172/CH4/EX4.8/Example4_8.sce')
-rwxr-xr-x1172/CH4/EX4.8/Example4_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1172/CH4/EX4.8/Example4_8.sce b/1172/CH4/EX4.8/Example4_8.sce
new file mode 100755
index 000000000..55fd07de3
--- /dev/null
+++ b/1172/CH4/EX4.8/Example4_8.sce
@@ -0,0 +1,16 @@
+clc
+//Given that
+m = 1 // mass of particle in kg
+theta = 30 // latitude position in degree
+v = 0.5 // velocity of particle in km/s in north direction
+
+
+// sample Problem 8 Page No. 180
+printf("\n # Problem 8 # \n")
+printf("Standard formula used is coriolis Force = 2*mass*angular velocity X velocity ")
+f_x = -2*m*2*%pi * v*1000*(-1)*sin(theta*%pi/180)/86400 // coriolis force in east direction
+f_z = -2*m*2*%pi * v*1000*cos(theta*%pi/180)/86400 // coriolis force in verticle direction
+F = sqrt(f_x^2+f_z^2)
+alpha = -atan(f_z/f_x) *180 /%pi
+printf(" \n Magnitude and direction of coriolis force on particle are \n %e N and %d degree with east respectively",F,alpha)
+