In this activity, you will investigate the two main solvers that Maple uses, solve() and fsolve(). In some cases, you may find one is much more helpful than the other. Both commands provide unique benefits in specific circumstances.
Plot \(f(x)\text{,}\) choosing ranges for \(x\) and \(y\) so that you can clearly see all five \(x\)-intercepts on the graph (you may need to adjust each a few times).
Try solving \(f(x)=0\) using the solve() command. Maple will attempt to give exact values of all five roots. Note that for challenging equations such as this one, the output may be more symbolic than you may prefer.
Finally, try solving \(f(x)=0\) using the fsolve() command. Maple will only attempt to give numerical approximations of all five roots. The number of digits given will depend on the current value assigned to Digits.
Finally, solve the quadratic using the fsolve() command. Since this solver uses numerical approximation, it will only display real roots (if it finds any).
When multiple curves are plotted on the same set of axes, it is a good practice to specify the colour of each one. You can do this after specifying the ranges for \(x\) and \(y\text{.}\)
There are multiple ways that you can solve for both! You may start by solving \(x=\frac{3}{x}\) to find the \(x\)-coordinate first and then use subs() to find \(y\text{.}\) Instead, you may want to solve a system of equations in one command. An example is provided in SectionΒ 10.4.