summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.17/Ex2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH2/EX2.17/Ex2_17.sce')
-rw-r--r--3769/CH2/EX2.17/Ex2_17.sce9
1 files changed, 5 insertions, 4 deletions
diff --git a/3769/CH2/EX2.17/Ex2_17.sce b/3769/CH2/EX2.17/Ex2_17.sce
index c98cea389..9a994c787 100644
--- a/3769/CH2/EX2.17/Ex2_17.sce
+++ b/3769/CH2/EX2.17/Ex2_17.sce
@@ -1,14 +1,15 @@
+
clear
//Given
-p=2*10**-8
-m=9*10**9
-r=1.0
+p=2*10**-8// dipole moment coulomb-meter
+m=9*10**9// constant
+r=1.0// distance m
//Calculation
//
b=3*cos(60*3.14/180.0)**2+1
a=p*sqrt(b)
-E=(m*a)/r**3
+E=(m*a)/r**3// electric field intensity
//Result
printf("\n Magnitude of electric intensity is %0.1f N/C",E)