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.4/4_4.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2066/CH4/EX4.4/4_4.sce (limited to '2066/CH4/EX4.4') diff --git a/2066/CH4/EX4.4/4_4.sce b/2066/CH4/EX4.4/4_4.sce new file mode 100755 index 000000000..6fb3b8a15 --- /dev/null +++ b/2066/CH4/EX4.4/4_4.sce @@ -0,0 +1,16 @@ +clc +clear +//Initialization of variables +r0=1 +ri=0 +//calculations +function v= func1(y) + v= 2*y^(1/7) *(y-1) +endfunction +V=intg(ri,r0,func1) +function alpha= func2(y) + alpha= 1/ (%pi*V^3) *2*%pi *(y)^(3/7) *(y-1) +endfunction +a2=intg(ri,r0,func2) +//results +printf("Kinetic energy correction factor = %.2f",a2) -- cgit