summaryrefslogtreecommitdiff
path: root/539/CH12/EX12.2/Example_12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '539/CH12/EX12.2/Example_12_2.sce')
-rwxr-xr-x539/CH12/EX12.2/Example_12_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/539/CH12/EX12.2/Example_12_2.sce b/539/CH12/EX12.2/Example_12_2.sce
new file mode 100755
index 000000000..3d1070ca2
--- /dev/null
+++ b/539/CH12/EX12.2/Example_12_2.sce
@@ -0,0 +1,19 @@
+//Ceramic Crystal structure prediction
+
+clear;
+clc;
+
+printf("\tExample 12.2\n");
+
+r_Fe=0.077; // in nm Radius of iron cation Fe++
+
+r_O=0.140; //in nm Radius of Oxygen anion O--
+
+ratio=r_Fe/r_O;
+
+printf("\nRatio is : %0.3f",ratio);
+
+if ratio>0.414 & ratio<0.732 then
+ printf("\nCo-ordinaton no. is 6");
+ printf("\nStructure is Rock Salt type\n");
+end \ No newline at end of file