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 --- 812/CH4/EX4.07/4_07.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 812/CH4/EX4.07/4_07.sce (limited to '812/CH4/EX4.07') diff --git a/812/CH4/EX4.07/4_07.sce b/812/CH4/EX4.07/4_07.sce new file mode 100755 index 000000000..6f0000427 --- /dev/null +++ b/812/CH4/EX4.07/4_07.sce @@ -0,0 +1,16 @@ +//Force to hold// +pathname=get_absolute_file_path('4.07.sce') +filename=pathname+filesep()+'4.07-data.sci' +exec(filename) +//Velocity at section 1(in m/sec): +V1=V2*A2/A1 +//Gauge pressure(in kPa): +p1g=p1-patm +u1=V1;u2=-V2; +//Reaction force component in the x direction(in N): +Rx=-p1g*A1-u1*d*V1*A1 +//Reaction force component in the y direction(in N): +Ry=u2*d*V2*A2 +printf("\n\nRESULTS\n\n") +printf("\n\nForce to hold elbow acting to the left: %.3f kN\n\n",Rx/1000) +printf("\n\nForce to hold elbow acting downwards: %.3f N\n\n",Ry) -- cgit