Book
Advanced Engineering Mathematics
Author
Erwin Kreyszig
Edition
8th Edition
{{{#Method 1 var('x') f(x) = x**2 - 3*x + 1 solve([f(x) == 0], x)
#Method 2 from scipy.optimize import fsolve import numpy as np
def f(x):
- return x**2 - 3*x + 1
fsolve(f, np.random.rand(2))}}}
Solution by:
- phanindra,student,nmrec