blob: e085b7acd0f26f986656d60f769b09d775f7b6d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Chapter 1 : Wave Optics
clear;
//Variable declaration
n2=20 //order of dark ring
lamda=5890*10**-8 //wavelenght
//Calculations
n1=n2*4
//Result
mprintf("Order of the dark ring n1= %d" ,n1)
|