Project

Numerical derivative vs exact derivative

Objective: clear all close all clc % Analytical Function = f(x) = sin(x)/(x)^3 % f\'(x) = (x^3*(cos(x))-sin(x)*3*(x)^2)/(x)^6 x = pi/3; analytical_derivative = (x^3*(cos(x))-sin(x)*3*x^2)/x^6; % Numerical Derivative % Forward Differencing % Forward_Differencing = (f(x+dx)-f(x))/dx % Let dx = pi/20 dx = pi/400; % First Order Approximation…

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.