diff options
Diffstat (limited to '2417/CH1/EX1.10/Ex1_10.sce')
-rwxr-xr-x | 2417/CH1/EX1.10/Ex1_10.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2417/CH1/EX1.10/Ex1_10.sce b/2417/CH1/EX1.10/Ex1_10.sce new file mode 100755 index 000000000..d72fc597e --- /dev/null +++ b/2417/CH1/EX1.10/Ex1_10.sce @@ -0,0 +1,15 @@ +//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 1.10\n\n\n");
+// Chapter 1: Fundamental Concepts
+// Problem 1.10 (page no. 35)
+// Solution
+
+//Given
+Rho=2000; //Unit: kg/m^3 //The density of fluid
+h=-10; //Unit: mm //Height of column of fluid //the height is negative because it is measured up from the base
+g=9.6 //Unit:m/s^2 //the local acceleration of gravity
+//Solution
+p=-Rho*g*h; //P=Pressure at the base of a column of fluid //Unit:Pa
+printf("Pressure at the base of a column of fluid is %f Pa",p);
|