From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 24/CH42/EX42.6/Example42_6.sce | 16 ++++++++++++++++ 24/CH42/EX42.6/Example42_6_result.txt | 2 ++ 2 files changed, 18 insertions(+) create mode 100755 24/CH42/EX42.6/Example42_6.sce create mode 100755 24/CH42/EX42.6/Example42_6_result.txt (limited to '24/CH42/EX42.6') diff --git a/24/CH42/EX42.6/Example42_6.sce b/24/CH42/EX42.6/Example42_6.sce new file mode 100755 index 000000000..679a5426b --- /dev/null +++ b/24/CH42/EX42.6/Example42_6.sce @@ -0,0 +1,16 @@ +//Given that +No = 10^16 //number per m^3 +T = 298 //in K +fac = 10^6 +density = 2330 //in kg/m^3 +Na = 6.023*10^23 +M = 28.1*10^-3 //in kg/mol + +//Sample Problem 42-6 +pt = mopen('Example42_6_result.txt', 'wt') +mfprintf(pt, '**Sample Problem 42-6**\n') +Np = fac*No + No +NSi = density*Na/M +fraction = Np/NSi +mfprintf(pt, 'The fraction of Phosphorus atoms with Silicon atoms is equal to %e', fraction) +mclose(pt) \ No newline at end of file diff --git a/24/CH42/EX42.6/Example42_6_result.txt b/24/CH42/EX42.6/Example42_6_result.txt new file mode 100755 index 000000000..a073fe408 --- /dev/null +++ b/24/CH42/EX42.6/Example42_6_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 42-6** +The fraction of Phosphorus atoms with Silicon atoms is equal to 2.002341e-007 \ No newline at end of file -- cgit