blob: 3aa00f6389d9ec9989acb48c23d5cb9f53773162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
clear
//Input data
l=0.7078//Wavelength of X-rays in m
ZMo=42//Atomic number of molybdenum
ZCd=48//Atomic number of cadmium
//Calculations
lCd=(l)*((ZMo-1)^2/(ZCd-1)^2)//Wavelength of Cadmium radiation in angstroms
//Output
printf('The wavelength of cadmium radiation is %3.4f angstroms',lCd)
|