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 --- 1922/CH9/EX9.6.c/9_6c.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1922/CH9/EX9.6.c/9_6c.sce (limited to '1922/CH9/EX9.6.c/9_6c.sce') diff --git a/1922/CH9/EX9.6.c/9_6c.sce b/1922/CH9/EX9.6.c/9_6c.sce new file mode 100755 index 000000000..5b8d4b5ae --- /dev/null +++ b/1922/CH9/EX9.6.c/9_6c.sce @@ -0,0 +1,15 @@ +clc +clear +//Initialization of variables +C=6 +phi=1 +R=3 +Sc=0 +function V=fun(C,phi,R,Sc) + V=2+C-phi-R-Sc +endfunction +//calculations +V=fun(C,phi,R,Sc) +//results +printf("Degrees of freedom = %d ",V) + -- cgit