diff options
Diffstat (limited to '3648/CH16/EX16.5/Ex16_5.sce')
-rw-r--r-- | 3648/CH16/EX16.5/Ex16_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3648/CH16/EX16.5/Ex16_5.sce b/3648/CH16/EX16.5/Ex16_5.sce new file mode 100644 index 000000000..690595315 --- /dev/null +++ b/3648/CH16/EX16.5/Ex16_5.sce @@ -0,0 +1,15 @@ +//Example 16_5
+clc();
+clear;
+//To find the work done in carrying a proton and for an electron
+q=1.6*10^-19 //Units in C
+vab=9 //Units in V
+work=q*vab //Units in J
+printf("The work done in carrying proton is=")
+disp(work)
+printf("Joules\n")
+q=-1.6*10^-19 //Units in C
+work=q*vab //Units in J
+printf("The work done in carrying electron is=")
+disp(work)
+printf("Joules\n")
|