Roots of a function: Difference between revisions

Content added Content deleted
(Ada example)
m (Spelling correction in task.)
Line 1: Line 1:
{{task}}Create a program that finds an outputs the roots of a given function, range and (if applicable) step width. The program should identify whether the root is exact or approximate.
{{task}}Create a program that finds and outputs the roots of a given function, range and (if applicable) step width. The program should identify whether the root is exact or approximate.


For this example, use f(x)=x^3-3x^2+2x.
For this example, use f(x)=x^3-3x^2+2x.