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 /24/CH6/EX6.5 | |
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 '24/CH6/EX6.5')
-rwxr-xr-x | 24/CH6/EX6.5/Example6_5.sce | 21 | ||||
-rwxr-xr-x | 24/CH6/EX6.5/Example6_5_result.txt | 5 |
2 files changed, 26 insertions, 0 deletions
diff --git a/24/CH6/EX6.5/Example6_5.sce b/24/CH6/EX6.5/Example6_5.sce new file mode 100755 index 000000000..cfabd9e14 --- /dev/null +++ b/24/CH6/EX6.5/Example6_5.sce @@ -0,0 +1,21 @@ +//Given that
+g = 9.8 //in m/s^2
+Radius = 1.5 * 10^-3 //in meter
+height = 1200 //in meter
+C_drag = 0.60
+density_water = 1000 //in kg/m^3
+density_air = 1.2 //in kg/m^3
+
+//Sample Problem 6-5a
+printf("**Sample Problem 6-5a**\n")
+//v_t = sqrt(2*F_g/(C*density*A))
+volume_drop = 4/3*%pi*Radius^3
+mass_drop = density_water *volume_drop
+Area_drop = %pi *Radius^2
+v_terminal = sqrt(2*mass_drop*g/(C_drag*density_air*Area_drop))
+printf("The terminal velocity will be %f m/s\n", v_terminal)
+
+//Sample Problem 6-5b
+printf("\n**Sample Problem 6-5b**\n")
+v_without_drag = sqrt(2 *g * height)
+printf("The velocity just before the impact if there were no drag force would be %f m/s", v_without_drag)
\ No newline at end of file diff --git a/24/CH6/EX6.5/Example6_5_result.txt b/24/CH6/EX6.5/Example6_5_result.txt new file mode 100755 index 000000000..33c4be6f8 --- /dev/null +++ b/24/CH6/EX6.5/Example6_5_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 6-5a**
+The terminal velocity will be 7.378648 m/s
+
+**Sample Problem 6-5b**
+The velocity just before the impact if there were no drag force would be 153.362316 m/s
\ No newline at end of file |