From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3869/CH2/EX2.12/Ex2_12.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3869/CH2/EX2.12/Ex2_12.sce (limited to '3869/CH2/EX2.12/Ex2_12.sce') diff --git a/3869/CH2/EX2.12/Ex2_12.sce b/3869/CH2/EX2.12/Ex2_12.sce new file mode 100644 index 000000000..5eae2205f --- /dev/null +++ b/3869/CH2/EX2.12/Ex2_12.sce @@ -0,0 +1,14 @@ +clear +// +// +// + +//Variable declaration +lamda=6000*10**-10 //wavelength(m) +a=12*10**-7 //slit width(m) + +//Calculation +theta=asin(lamda/a)*180/%pi //half angular width(degrees) + +//Result +printf("\n half angular width is %0.0f degrees",theta) -- cgit