Project

discretisation numerical derivative vs exact derivative

Objective: CODE clear all close all clc % analytical function =sin(x)/x^3; % analytical derivative % 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 dx=pi/40; % first order approximation forward_differencing=…

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.