summaryrefslogtreecommitdiff
path: root/1586/CH2/EX2.1/EXP2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1586/CH2/EX2.1/EXP2_1.sce')
-rw-r--r--1586/CH2/EX2.1/EXP2_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1586/CH2/EX2.1/EXP2_1.sce b/1586/CH2/EX2.1/EXP2_1.sce
new file mode 100644
index 000000000..9de06aaf3
--- /dev/null
+++ b/1586/CH2/EX2.1/EXP2_1.sce
@@ -0,0 +1,9 @@
+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:")