% A3 is the average value, otherwise A3=(A1+A2)/2 % value takes the value of function when A3 substitute it in the function % previousA1Value takes the value of function when A1 substitute it in the ...