diff options
Diffstat (limited to '3828/CH9/EX9.5/Ex9_5.sce')
-rw-r--r-- | 3828/CH9/EX9.5/Ex9_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3828/CH9/EX9.5/Ex9_5.sce b/3828/CH9/EX9.5/Ex9_5.sce new file mode 100644 index 000000000..b0b7fb713 --- /dev/null +++ b/3828/CH9/EX9.5/Ex9_5.sce @@ -0,0 +1,15 @@ +//Chapter 9 : Electromagnetic Theory + +clear; + +//Variable declaration +E=81 +c=3*10**8 //speed of ligth + +//Calculations +n=sqrt(E) +V=c/n/10**7 + +//Result +mprintf("Refractive index n= %d",n) +mprintf("\nVelocity of light= %.2f*10**7 m/sec",V) |