# Solving Nonlinear Equations with MATLAB

## Course Overview

Course Outline What is Root Finding? Define the root of a function and how finding a root relates to solving an equation.   Finding a Root: The Bisection Method Implement

## The Roots of a Function(Preview)

What is a Root? A root is any value of x which makes the function f(x) equal to zero. Graphically, a root can be thought of as where f(x) crosses the x-axis. Locating a root of

## Visualizing Roots(Preview)

Estimating Roots Graphically  Looking at a plot is the easiest way to approximate a root's location. In fact, to use most numerical root finding algorithms, you will need to provide

## Defining the Root Finding Problem(Preview)

Root Finding and Solving Equations  It's more common to be solving an equation than finding the root of a function. However, you can rearrange an equation to use root finding

## Selecting Brackets for a Root(Preview)

Where to Look for Roots   So far, you have estimated roots by plotting the function and visually locating the root. Numerical root finding methods can't visually locate a root;

## The Bisection Method Algorithm(Preview)

The bisection method is a simple and robust root finding algorithm. Like all numerical root finding algorithms, the method starts with an initial guess and refines it until the root

## MATLAB Root Finding Functions(Preview)

The fzero function is a built-in MATLAB function for solving nonlinear equations. fzero uses a combination of root finding methods, including the bisection method. Like the bisection method, fzero needs

## Anonymous Functions(Preview)

An anonymous function is a way to define a simple function and store it as a variable in the workspace.     This syntax creates an anonymous function. The variable

## The fzero Function(Preview)

Using a MATLAB Root Finding Function    The fzero function takes a function handle and an interval as inputs, and returns exactly one root in the interval.   Find a