1. From the equation attached, given z = 1, find true et( true percent relative error), and ea (percent relative error) as more terms are added. Compute for 3 iterations. 2. Explain the term overflow, underflow and quantising errors.
1. From the equation attached, given z = 1, find true et( true percent relative error), and ea (percent relative error) as more terms are added. Compute for 3 iterations.
2. Explain the term overflow, underflow and quantising errors.
1. Answer:
given;
After 3 iterations, the true et is 0.62857 and the ea is -0.011429.
Explanation:
Performing 3 iterations:
Iteration 1:
true et = (1- (1^3)/3)/1 = 0.66667
ea = ((1- (1^3)/3)/1) - 1 = -0.333333
Iteration 2:
true et = (1- (1^3)/3- (1^5)/5)/1 = 0.64
ea = ((1- (1^3)/3- (1^5)/5)/1) - 0.66667 = -0.026667
Iteration 3:
true et = (1- (1^3)/3- (1^5)/5+ (1^7)/7)/1 = 0.62857
ea = ((1- (1^3)/3- (1^5)/5+ (1^7)/7)/1) - 0.64 = -0.011429
After 3 iterations, the true et is 0.62857 and the ea is -0.011429.
Step by step
Solved in 2 steps