Project

Effect of dx on error

Objective: discretization_main.m close all clear all clc % Discretization %f(x)= sin(x)/x^3; %f\'(x) =(x^3*(cos(x)) - 3 * x^2 * sin(x))/x^6 %analytical_derivative =(x^3*(cos(x)) - 3 * x^2 * sin(x))/x^6 x = pi /3; dx = linspace(pi/40,pi/4000, 10); for i=1:length(dx) first_order_error(i) = first_order_approximation(x, dx(i)); second_order_error(i)…

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.