summaryrefslogtreecommitdiff
path: root/3526/CH2/EX2.1/EX2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3526/CH2/EX2.1/EX2_1.sce')
-rw-r--r--3526/CH2/EX2.1/EX2_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3526/CH2/EX2.1/EX2_1.sce b/3526/CH2/EX2.1/EX2_1.sce
new file mode 100644
index 000000000..9ad3b1c2d
--- /dev/null
+++ b/3526/CH2/EX2.1/EX2_1.sce
@@ -0,0 +1,10 @@
+//Page 26
+clc;funcprot(0);//EXAMPLE 2.1
+// Initialisation of Variables
+r=1.5*10^-7;........//Radius of a particle in cm
+rho=7.8;..........//Density of iron magnetic nano- particle in cm^3
+//CALCULATIONS
+v=(4/3)*%pi*(r)^3;.....//Volume of each Iron magnetic nano -particle in cm^3
+m=rho*v;.......//Mass of each iron nano-particle in g
+disp(v,"Volume of each Iron magnetic nano -particle in cm^3:")
+disp(m,"Mass of each iron nano-particle in g:")