summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3769/CH2/EX2.6/Ex2_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH2/EX2.6/Ex2_6.sce b/3769/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..9d45b537f
--- /dev/null
+++ b/3769/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+q=5*10**-9
+x=0.15 //m
+r=0.1 //m
+a=9*10**9
+
+//Calculation
+E=(a*q*x)/((r**2+x**2))**1.5
+
+//Result
+printf("\n Intensity of the electric field is %0.0f N/C",E)