Write a program that does the following: Let f(x) = In(x) and carry 9 decimal places to find: a) Use formula (6) from textbook (page 330) with h=0.05 to approximate f"(5) b) Use formula (6) from textbook (page 330) with h=0.01 to approximate f"(5) c) Use formula (6) from textbook (page 330) with h=0 1 to

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
the formula is given, please solve the Question
650 ANSWERS TO SELECTED EXERCISES
6. P+1 = P + (0.02 P. - 0.00004 P?) 10 for k = 1,2,
,8.
Actual population Euler rounded at
at ik, P(t)
Euler with more
digits carried
Year
each step
1900
1910
76.1
0.0
10.0
76.1
92.4
76.1
89.0035
89.0
1920
20.0
106.5
103.6
103.6356
1930
123.1
120.0
30.0
40,0
120.0666
132.6
138,3135
138.2
158.2
179.8
1940
152.3
180.7
1950 50.0
158.3239
179.9621
203.0000
227.1164
60.0
1960
1970
70.0
80.0
204.9
202.8
1980
226.5
226.9
Transcribed Image Text:650 ANSWERS TO SELECTED EXERCISES 6. P+1 = P + (0.02 P. - 0.00004 P?) 10 for k = 1,2, ,8. Actual population Euler rounded at at ik, P(t) Euler with more digits carried Year each step 1900 1910 76.1 0.0 10.0 76.1 92.4 76.1 89.0035 89.0 1920 20.0 106.5 103.6 103.6356 1930 123.1 120.0 30.0 40,0 120.0666 132.6 138,3135 138.2 158.2 179.8 1940 152.3 180.7 1950 50.0 158.3239 179.9621 203.0000 227.1164 60.0 1960 1970 70.0 80.0 204.9 202.8 1980 226.5 226.9
Write a program that does
the following:
Let f(x)
In(x) and
carry 9 decimal places to
find:
a) Use formula (6) from
textbook (page 330)
with h=0.05 to
approximate f"(5)
b) Use formula (6) from
textbook (page 330)
with h=0.01 to
approximate f"(5)
c) Use formula (6) from
textbook (page 330)
with h=0.1 to
approximate f"(5)
d) Which answer is more
accurate
Transcribed Image Text:Write a program that does the following: Let f(x) In(x) and carry 9 decimal places to find: a) Use formula (6) from textbook (page 330) with h=0.05 to approximate f"(5) b) Use formula (6) from textbook (page 330) with h=0.01 to approximate f"(5) c) Use formula (6) from textbook (page 330) with h=0.1 to approximate f"(5) d) Which answer is more accurate
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Asymptotic Analysis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education