summaryrefslogtreecommitdiff
path: root/3411/CH13/EX5.3.u2/Ex5_3_u2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH13/EX5.3.u2/Ex5_3_u2.sce')
-rw-r--r--3411/CH13/EX5.3.u2/Ex5_3_u2.sce8
1 files changed, 4 insertions, 4 deletions
diff --git a/3411/CH13/EX5.3.u2/Ex5_3_u2.sce b/3411/CH13/EX5.3.u2/Ex5_3_u2.sce
index f4070f0bd..453b7563b 100644
--- a/3411/CH13/EX5.3.u2/Ex5_3_u2.sce
+++ b/3411/CH13/EX5.3.u2/Ex5_3_u2.sce
@@ -2,12 +2,12 @@
clc();
clear;
//To calculate the transition temprature and critical field
-hc1=1.4*10^5 //units in amp/met
-hc2=4.2*10^5 //units in amp/met
+hc1=1.4*10^5 //units in amp/meter
+hc2=4.2*10^5 //units in amp/meter
t1=14 //units in K
t2=13 //units in K
tc=sqrt((hc1*t2^2-hc2*t1^2)/(hc1-hc2)) //units in K
printf("Transition temprature is Tc=%.2f K",tc)
hc1_ho=1-(t1/tc)^2
-ho=hc1/hc1_ho //units in amps/met
-printf("Critical field Ho=%.1f amps/met",ho)
+ho=hc1/hc1_ho //units in amp/meter
+printf("\nCritical field Ho=%.1f amp/meter",ho)