clear; clc; printf("\nEx1.15\n"); //page no.-25 //given theta=12;.......//angle in degrees n=1;............//order of spectrum d=3.035;....//interatomic spacing in angstrom lambda=(2*d*sind(12))/n.........//wavelength in angstrom printf("\nwavelength of X ray beam is 1.262 angstrom\n");