summaryrefslogtreecommitdiff
path: root/884/CH12/EX12.11/Example12_11.sce
blob: 1f0805213d1ff2ef8bd241b7588275928c260cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//computation of molar mass of a sample from osmotic pressure

clear;
clc;
funcprot(0);

printf("\t Example 12.11\n");

R=0.0821;//gas constant, L atm/K mol
T=298;//temp, K
pie=10/760;//osmotic pressure, atm
M=pie/(R*T);//molarity of the solution, M

//taking 1L of solution
mass=35;//mass of Hg, g
n=M;//moles
molarmass=mass/n;//molar mass of hemoglobin, g/mol

printf("\t the molar mass of the hemoglobin is : %4.2f *10^4 g/mol \n",molarmass*10^-4);

//End