blob: 656794b8a836d53ec8430409340153a95a8e5acb (
plain)
1
2
3
4
5
6
7
8
|
//Chapter 5, Example 5.8, Page 130
clc
clear
// Calculate the time
//based on eq 5.74
t = (4.88*10**10/log(2))*log(1+((0.80-0.710)/1.37208))
printf("\n Time = %e y ",t);
//Answer may vary due to round off error
|