clear // // // //Variable declaration n1=1.55 //Core refractive index n2=1.50 //Cladding refractive index //Calculation NA=sqrt(n1**2-n2**2) //numerical aperture //Result printf("\n numerical aperture is %0.4f ",NA)