diff options
Diffstat (limited to '2939/CH1/EX1.2/Ex1_2.sce')
-rwxr-xr-x | 2939/CH1/EX1.2/Ex1_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2939/CH1/EX1.2/Ex1_2.sce b/2939/CH1/EX1.2/Ex1_2.sce new file mode 100755 index 000000000..692c4b47d --- /dev/null +++ b/2939/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,9 @@ +//Ex1_2
+
+clc;
+//Given:
+energy=2*10^-6;
+c=2.5*10^-8;// velocity of light
+//solution:
+v=energy/c;// potential
+printf("The potential in V is = %f ",v)
|