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 --- 1271/CH12/EX12.11/11.txt | 1 + 1271/CH12/EX12.11/example12_11.sce | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100755 1271/CH12/EX12.11/11.txt create mode 100755 1271/CH12/EX12.11/example12_11.sce (limited to '1271/CH12/EX12.11') diff --git a/1271/CH12/EX12.11/11.txt b/1271/CH12/EX12.11/11.txt new file mode 100755 index 000000000..8a8138c96 --- /dev/null +++ b/1271/CH12/EX12.11/11.txt @@ -0,0 +1 @@ + Fraction of sample left after 3 half lives is 0.125000 . \ No newline at end of file diff --git a/1271/CH12/EX12.11/example12_11.sce b/1271/CH12/EX12.11/example12_11.sce new file mode 100755 index 000000000..ca8635870 --- /dev/null +++ b/1271/CH12/EX12.11/example12_11.sce @@ -0,0 +1,9 @@ +clc +// Given that +n = 3 // no. of half lives +// Sample Problem 11 on page no. 12.35 +printf("\n # PROBLEM 11 # \n") +printf("Standard formula used \n") +printf(" N = 2^(-n) ...... fraction after n half lives.\n") +f = (1 / 2)^n +printf("\n Fraction of sample left after %d half lives is %f . ",n,f) -- cgit