diff options
Diffstat (limited to '416/CH15/EX15.2/exp15_2pp.sce')
-rwxr-xr-x | 416/CH15/EX15.2/exp15_2pp.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/416/CH15/EX15.2/exp15_2pp.sce b/416/CH15/EX15.2/exp15_2pp.sce new file mode 100755 index 000000000..6620e54d9 --- /dev/null +++ b/416/CH15/EX15.2/exp15_2pp.sce @@ -0,0 +1,13 @@ +clc
+clear
+disp('example 15.2')
+b=4.2 //flux density
+v=600 //gas velocity
+d=0.6 //dimension of plate
+k=0.65 //constent
+e=b*v*d //open circuit voltage
+vg=e/d //voltage gradient
+v=k*e //voltage across load
+vgg=v/d //voltage gradient due to load voltage
+printf("voltage E=%dV \n voltage gradient %dV/m \n voltage across load %.1fV \n voltage gradient due to load voltage %dv",e,vg,v,vgg)
+
|