From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2066/CH4/EX4.8/4_8.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2066/CH4/EX4.8/4_8.sce (limited to '2066/CH4/EX4.8') diff --git a/2066/CH4/EX4.8/4_8.sce b/2066/CH4/EX4.8/4_8.sce new file mode 100755 index 000000000..7319f38fe --- /dev/null +++ b/2066/CH4/EX4.8/4_8.sce @@ -0,0 +1,13 @@ +clc +clear +//Initialization of variables +x=12 //ft +angle=30 //degrees +g=32.2 //ft/s^2 +z=-2 //ft +d=2 //in +//calculations +vj= x/cosd(angle) *sqrt(g/(2*(x*tand(angle) -z))) +Q=%pi/4 *(d/12)^2 *vj +//results +printf("Rate of flow = %.2f ft^3/s",Q) -- cgit