summaryrefslogtreecommitdiff
path: root/2417/CH1/EX1.10/Ex1_10.sce
blob: d72fc597ee1e40c5b0ab6576f5b68f8ff0a58bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);