a. What is func in this function? Provide description and how func would be ente
ID: 3727070 • Letter: A
Question
a. What is func in this function? Provide description and how func would be entered.
b. What is es? Provide definition. How can you calculate an es if you want n number of
significant digits in your final answer?
c. Why is iter=iter+1 being used?
d. What is ea?
e. When does the while loop stop?
Explanation / Answer
func is the name of the function used in the above given code. es is the desired relative error. iter= iter+1 is used to increment the value of previous iter value with 1. ea is approximate relative error in percentage. the loop will end after encountering the condition and when the control goes to the end statement.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.