[20] Q3: Arithmetic operations in Matlab are subject to roundoff errors. Write a Matlab code that demonstrates this behavior by summing the same number "a" multiple times and compares the result with respect to the "true" sum.
Roundoff Error =|1-(\sum_(i=1)^n a)|, where a=(1)/(n)
Run your Matlab script for the
n
values given in the list below. Fill in the table and plot
n
vs. roundoff error. \table[[
n
,Absolute Roundoff Error],[
1e4
,],[
1e5
,],[
1e6
,]]