blob: ad2984b66208906c5f7a60a39d66c58fa62988fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example number 10.5, Page number 225
clc;clear;
close;
//Variable declaration
T1=5; //temperature(K)
T2=5.1; //temperature(K)
M1=199.5; //isotopic mass(amu)
//Calculation
M2=M1*(T1/T2)**2; //isotopic mass(amu)
//Result
printf("isotopic mass is %.2f a.m.u.",M2)
|