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 --- 2132/CH3/EX3.23/Example3_23.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2132/CH3/EX3.23/Example3_23.sce (limited to '2132/CH3/EX3.23') diff --git a/2132/CH3/EX3.23/Example3_23.sce b/2132/CH3/EX3.23/Example3_23.sce new file mode 100755 index 000000000..813d08ca2 --- /dev/null +++ b/2132/CH3/EX3.23/Example3_23.sce @@ -0,0 +1,16 @@ +//Example 3.23 +clc; +clear; +close; +format('v',7); +//Given data : +ABbar=sqrt(2)*4;//meter +xbar=ABbar/2;//meter +A=ABbar*1;//m^2 +w=9.81;//kN/m^2 +PH=w*A*xbar;//kN +disp(PH,"Horizontal component of resultant Pressure in kN : "); +hbar=2/3*ABbar;//meter +disp("Position of horizontal component of pressure is "+string(hbar)+" meter below free water surface."); +PV=w*[%pi*4^2/4-4*4/2]*1;//kN +disp(PV,"Verticalal component of resultant Pressure in kN : "); -- cgit