diff options
Diffstat (limited to '3769/CH2/EX2.14/Ex2_14.sce')
-rw-r--r-- | 3769/CH2/EX2.14/Ex2_14.sce | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/3769/CH2/EX2.14/Ex2_14.sce b/3769/CH2/EX2.14/Ex2_14.sce index fe6433581..71feff981 100644 --- a/3769/CH2/EX2.14/Ex2_14.sce +++ b/3769/CH2/EX2.14/Ex2_14.sce @@ -1,12 +1,13 @@ + clear //Given -q=1*10**-6 -a=2*10**-2 -E=10**5 +q=1*10**-6// charges C +a=2*10**-2// seperation distance m +E=10**5 // electric field N //Calculation -p=q*a -W=2*p*E +p=q*a // finding potential +W=2*p*E// total work done //Result printf("\n Work done in the rotation is %0.3f *10**-3 J", W*10**3) |