summaryrefslogtreecommitdiff
path: root/1271/CH12/EX12.11
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH12/EX12.11')
-rwxr-xr-x1271/CH12/EX12.11/11.txt1
-rwxr-xr-x1271/CH12/EX12.11/example12_11.sce9
2 files changed, 10 insertions, 0 deletions
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)