diff options
Diffstat (limited to '1922/CH9/EX9.6.c')
-rwxr-xr-x | 1922/CH9/EX9.6.c/9_6c.sce | 15 |
1 files changed, 15 insertions, 0 deletions
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)
+
|