Solves x + exp(x) = 0 using the bisection method

Version 1.0.3 (179 KB) by Thomas
Four files in the .zip: a MATLAB script, a sample run of it with output and a PDF of the graph created and a live script.
4 Downloads
Updated 19 Jan 2025

View License

This zip file has a script, Bisection_w_func.m, that solves x + exp(x) = 0 using the bisection method. The script has a function, bisect, that can be used to solve other equations. The text file, MATLAB_Code_For_Bisection_Method.txt, has the same code and a sample run. The PDF is a graph of the bisection iteration history. Added a live script, Bisection_Method3, with all the code and output. Send bugs to Tom Wellington.

Cite As

Thomas (2026). Solves x + exp(x) = 0 using the bisection method (https://www.mathworks.com/matlabcentral/fileexchange/178984-solves-x-exp-x-0-using-the-bisection-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.3

Added a live script with code and output.

1.0.2

This version has the MATLAB code and a sample run as a text file.

1.0.1

New Version with PDF of graph

1.0.0