summaryrefslogtreecommitdiff
path: root/1367/CH20/EX20.2/20_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1367/CH20/EX20.2/20_2.sce')
-rwxr-xr-x1367/CH20/EX20.2/20_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1367/CH20/EX20.2/20_2.sce b/1367/CH20/EX20.2/20_2.sce
new file mode 100755
index 000000000..c285e1fc8
--- /dev/null
+++ b/1367/CH20/EX20.2/20_2.sce
@@ -0,0 +1,14 @@
+//Investigate an oxidation film will form over Nickel or not
+//Ex:20.2
+clc;
+clear;
+close;
+m_m=58.71;//molecular weight of ni
+m_c=74.71;//molecular weight of nio
+p_m=8900;//density of ni in kg/m^3
+p_c=7080;//desity of nio in kg/m^3
+x=m_m/p_m;//molar volume of ni in m^3/mol
+disp(x,"Mc/Pc (in m^3/mol)");
+y=m_c/p_c;//molar volume of nio in m^3/mol
+disp(y,"Mm/Pm (in m^3/mol)");
+printf(" Mc/Pc > Mm/Pm Hence protective layer of NiO will form over Ni "); \ No newline at end of file