a) The voltage v across a capacitor at time t seconds is given by the following table
t: 0 2 4 6 8
v: 150 63 28 12 5.6
Use the method of least square to fit a curve of the form v=aekt to this data.
b) Fit a straight line y= a+bx to the following data by the method of moments
x: 1 2 3 4
y: 0.17 0.18 0.23 0.32