Hi,This is what i have done so far Please finish the code an

Hi,This is what i have done so far Please finish the code and add %notations because I need to understand.This is my function:function [ n ] = Geometic_Approx( x )f = 1/(1-x);f_hat = 0;Eabs =abs(f_hat-f);if abs(x)<1while Eabs < epsf = 1/(1-x)n =exp(f)/log(x)x = x+1end;elsefprintf(‘the following should be correct: |x|<1, please try different number n’);end;endHint:Geometic_Approx( 0.25 ) ans = 22

Place New Order
It's Free, Fast & Safe

"Looking for a Similar Assignment? Order now and Get a Discount!

Scroll to Top