diff options
Diffstat (limited to '3411/CH6/EX6.2.u1/Ex6_2_u1.sce')
-rw-r--r-- | 3411/CH6/EX6.2.u1/Ex6_2_u1.sce | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/3411/CH6/EX6.2.u1/Ex6_2_u1.sce b/3411/CH6/EX6.2.u1/Ex6_2_u1.sce index afbfbbcb0..4645a69a9 100644 --- a/3411/CH6/EX6.2.u1/Ex6_2_u1.sce +++ b/3411/CH6/EX6.2.u1/Ex6_2_u1.sce @@ -2,11 +2,13 @@ clc();
clear;
//To calculate the Electric field of a bulb
-w=10 //units in W
-i=(100*w)/(4*%pi*10^2) //Units in W/mts^2
-c=3*10^8 //units in mts/sec
+power=10 //units in Watts
+r=10 //units in meters
+area=4*%pi*r^2 //units in meter^2
+i=(100*power)/area //Units in Watt/meter^2
+c=3*10^8 //units in meter/sec
u=4*10^-7 //units in SI
n=1
-E0=sqrt((i*2*c*u)/n) //units in V/mts
-printf("The electric field of the bulb is E0=%.2f V/mts",E0)
+E0=sqrt((i*2*c*u)/n) //units in Volt/meter
+printf("The electric field of the bulb is E0=%.2f Volt/meters",E0)
//In text book answer is given E0=2.4 V/m but the correct answer is E0=13.82 V/m
|