diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH3/EX3.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1271/CH3/EX3.1')
-rwxr-xr-x | 1271/CH3/EX3.1/1.txt | 2 | ||||
-rwxr-xr-x | 1271/CH3/EX3.1/example3_1.sce | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH3/EX3.1/1.txt b/1271/CH3/EX3.1/1.txt new file mode 100755 index 000000000..a9379c86f --- /dev/null +++ b/1271/CH3/EX3.1/1.txt @@ -0,0 +1,2 @@ + Brewster angle = 56.309932 degree
+ Angle of refraction = 33.690068 degree
diff --git a/1271/CH3/EX3.1/example3_1.sce b/1271/CH3/EX3.1/example3_1.sce new file mode 100755 index 000000000..970f92b03 --- /dev/null +++ b/1271/CH3/EX3.1/example3_1.sce @@ -0,0 +1,9 @@ +clc +// Given that +mu = 1.5 // refractive index of glass +// Sample Problem 1 on page no. 3.23 +printf("\n # PROBLEM 1 # \n") +Ip = atan(mu) * (180 / %pi) // by brewster's law +r = 90 - Ip // calculation for angle of refraction +printf("Standard formula used \n mu=tan(Ip)\n") +printf("\n Brewster angle = %f degree\n Angle of refraction = %f degree",Ip,r) |