diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1943/CH3/EX3.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1943/CH3/EX3.7')
-rwxr-xr-x | 1943/CH3/EX3.7/Ex3_7.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1943/CH3/EX3.7/Ex3_7.sce b/1943/CH3/EX3.7/Ex3_7.sce new file mode 100755 index 000000000..60ca65b42 --- /dev/null +++ b/1943/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,21 @@ + +clc
+clear
+//Input data
+Tc=1250+273//Cathode temperature in K
+Ta=500+273//Anode temperature in K
+e=1.602*10^-19//Charge in coloumb
+K=1.38*10^-23//Boltzmann constant in J/molecule.K
+b=18//Constant
+
+//Calculations
+Va=((b*K*Ta)/e)//Voltage of anode in V
+Vc=((b*K*Tc)/e)//Voltage of cathode in V
+Vo=Vc-Va//Output voltage in V
+Ja=(120*Ta^2*exp(-b))//Current density in Cathode in A/cm^2
+Jc=(120*Tc^2*exp(-b))//Current density in Anode in A/cm^2
+P=Vo*(Jc-Ja)//Power output per unit area in /cm^2
+nth=(((Tc-Ta)/Tc)*(b/(b+2)))*100//Thermal efficiency in percent
+
+//Output
+printf('(a) The output voltage is %3.4f V \n (b) The current density in the cathode is %3.3f A/cm^2 and anode is %3.3f A/cm^2 \n (c) Power output per unit area is %3.2f W/cm^2 \n (d) Thermal efficiency is %3.1f percent',Vo,Jc,Ja,P,nth)
|