Skip to content

Opening book details…

Can I read Python Function for Root Finding on EtoBox?

Python Function for Root Finding by Bestia is a document available to read on EtoBox.

What is Python Function for Root Finding about?

This document defines a function that calculates y=x^3 + 2x^2 + 10x - 20. It then calls this function for input values of 1 and 2, and uses bisection method to find the root of the function to within an error of 0.00001 by repeatedly taking the average of the current lowest and highest values that bracket the root and evaluating the function at that average point. It prints the iteration number, lowest value, highest value, average value, and error at each step.

Author
Bestia
Language
EN

More by Bestia

Browse all works by Bestia