summaryrefslogtreecommitdiff
path: root/3769/CH1/EX1.16/Ex1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH1/EX1.16/Ex1_16.sce')
-rw-r--r--3769/CH1/EX1.16/Ex1_16.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3769/CH1/EX1.16/Ex1_16.sce b/3769/CH1/EX1.16/Ex1_16.sce
new file mode 100644
index 000000000..d7e2c5c6f
--- /dev/null
+++ b/3769/CH1/EX1.16/Ex1_16.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+m=9*10**9 //C
+q1=10*10**-6
+q2=5*10**-6
+r=0.05
+
+//Calculation
+//
+F1=m*q1*q2/r**2
+F2=m*q1*q2/r**2
+F3=sqrt(F1**2+F2**2+(2*F1*F2*cos(120)*180/3.14))
+
+//Result
+printf("\n Resultant charge is %0.0f N",F3*10**-1)