diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /746/CH4/EX4.10/4_10.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '746/CH4/EX4.10/4_10.sce')
-rwxr-xr-x | 746/CH4/EX4.10/4_10.sce | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/746/CH4/EX4.10/4_10.sce b/746/CH4/EX4.10/4_10.sce deleted file mode 100755 index 39073d8e6..000000000 --- a/746/CH4/EX4.10/4_10.sce +++ /dev/null @@ -1,19 +0,0 @@ -//Net force//
-pathname=get_absolute_file_path('4.10.sce')
-filename=pathname+filesep()+'4.10-data.sci'
-exec(filename)
-u1=V-U
-u2=(V-U)*cosd(theta)
-v2=(V-U)*sind(theta)
-V1=V-U
-V2=V1
-//X component of moment equation(in N):
-function y=f(A),y=u1*-(d*V1),endfunction
-function z=g(A),z=u2*d*V2,endfunction
-Rx=intg(0,A,f)+intg(0,A,g)
-
-//Y component of moment equation(in N):
-function a=h(A),a=v2*d*V1,endfunction
-Ry=intg(0,A,h) //This is after neglecting weight of vane and the water.
-printf("\n\nRESULTS\n\n")
-printf("\n\nNet force on the vane: %.3f i+%.2f j kN\n\n",Rx/1000,Ry/1000)
|