diff options
Diffstat (limited to '1991/CH3/EX3.3')
-rwxr-xr-x | 1991/CH3/EX3.3/3.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1991/CH3/EX3.3/3.sce b/1991/CH3/EX3.3/3.sce new file mode 100755 index 000000000..8c69441fc --- /dev/null +++ b/1991/CH3/EX3.3/3.sce @@ -0,0 +1,9 @@ +clc
+clear
+//input data
+nb=0.67 //refractive index
+va=3.45*10^3
+//calculation
+vb=va/nb //snells law
+//output
+printf("the speed of the wave in medium b is %3.3f m/s",vb)
|