Hey Everyone, One small modification required for this code regarding the maximum value for finding the maximum error! I forgot to take the absolute value for the maximum! The line of code should be the following: max_derivative = np.max(abs(f_prime(x_prime)))
@dinoortolani679411 ай бұрын
thank you so much
@jamesdennis612010 ай бұрын
I'm so lost on how you went from: delta_x * ( abs([ f(b) - f(a) ]) ) to { [(b - a)**2 * max( f'(x) )] / 2*n }.