blob: 9c041c4210745240db75571276ce0012c144577f (
plain)
1
2
3
4
5
6
7
8
|
//Chapter 5, Example 5.6, Page 129
clc
clear
// Age of the wood
//based on eq 5.74
t = -(5730/log(2))*log(1.2/6.4)
printf("\n Time = %f y ",t);
//Answer may vary due to round off error
|