This MATLAB application calculates the derivative at a specified point using:
- x values - The points at which the function is evaluated.
- f values or a function - The corresponding function values or the function itself.
- h (tolerance or precision) - The step size used to approximate the derivative.
Application built using MATLAB's App Designer and requires the Symbolic Math Toolbox.
Before running this program, ensure you have the following installed:
- MATLAB (R2021a or later recommended)
- Symbolic Math Toolbox (required for symbolic computations)
- Go to the Home tab in MATLAB.
- Click on Add-Ons and search for "Symbolic Math Toolbox".
- Click Install to add it to your MATLAB installation.
-
Clone repository.
git clone https://github.com/leovergaramarq/derivatives_using_taylor_series.git
-
In MATLAB, from the Home tab, click Open and browse the
derivative_calculator.mlapp
file.Alternatively, you can double-click the
derivative_calculator.mlapp
file in your file explorer and open it with with MATLAB. -
Run the application by clicking the Run button in the App Designer.
-
In the application interface:
- Input the x values.
- Input the f values (or select the function if applicable).
- Specify the value of h (precision).
- Specify the derivative order.
- Indicate the point around which to find the derivative.
- Click Go to compute the derivative at the specified point.