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 --- 1703/CH7/EX7.6/7_6.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1703/CH7/EX7.6/7_6.sce (limited to '1703/CH7/EX7.6/7_6.sce') diff --git a/1703/CH7/EX7.6/7_6.sce b/1703/CH7/EX7.6/7_6.sce new file mode 100755 index 000000000..f11dc3ceb --- /dev/null +++ b/1703/CH7/EX7.6/7_6.sce @@ -0,0 +1,22 @@ +clear +clc +//initialisation of variables +l= 8 //ft +b= 6 //ft +h= 10 //ft +r= 3 +Cd= 0.6 +A1= 36 //ft^2 +A2= 12 //ft^2 +l1= 6 //ft +h1= 1 //ft +d= 2 //in +g=32.2 //ft/s^2 +//CALCULATIONS +function [y]=fun(H) + y=H^-0.5/(Cd*(%pi*(d/12)^2/4)*sqrt(2*g)*((1/A1)+(1/A2))) +endfunction +vec2=intg(0,(b-h1),fun) +T= vec2 +//RESULTS +printf ('time for the levels to become equal = %.f sec',T) -- cgit