Compute the derivative, Mathematics

Assignment Help:

Write an octave program that will take a set of points {xk, fk} representing a function and compute the derivative at the same points xk using

1. 2-point forward di erence

2. 2-point backward di erence

3. 3-point central di erence

4. 5-point central di erence

Use your program for the function

f(x) = ex

for which you know the correct answer to study the result as a function of h in the interval x ∈ [0; 1]. Make a table showing the values of the maximum absolute and relative errors for the 4 di erent methods for values of n=10, 100, 1000, 10000. Plot the di erent estimates for the derivative together with the analytical answer for 2 values of n. Comment on your results. You should submit an octave script or function le I can use to reproduce your results and a separate document (plain text le preferred) for your comments.

2050_Compute the derivative.png


Related Discussions:- Compute the derivative

Problems with applying algorithms , PROBLEMS WITH APPLYING ALGORITHMS :  F...

PROBLEMS WITH APPLYING ALGORITHMS :  From your experience, you would agree that children are expected to mechanically apply the algorithms for adding or subtracting numbers, regar

Statistics Assignment, I need help in assignment of stats? Please give me a...

I need help in assignment of stats? Please give me assist in my stats exam.

Determine the differential y = t 3 - 4t 2 + 7t, Determine the differentia...

Determine the differential for following.                                      y = t 3 - 4t 2 + 7t Solution Before working any of these we have to first discuss just

Brahmaguptas problem, How to solve Brahmaguptas Problem? Explain Brahmagupt...

How to solve Brahmaguptas Problem? Explain Brahmaguptas Problem solving method?

BASIC MATHEMATHICS :AN APPLIED APPROACH BY RATHUS, FIRST OF ALL I WANNA KN...

FIRST OF ALL I WANNA KNOW THECHNIQUES, I CAT DIVIDE BIG BIG NUMBERS , EVERYTHING IN MATH IIS VERY HARD FOR ME I HOPE YOU CAN HELP ME

Division, Why do we start dividion operation from left to right?

Why do we start dividion operation from left to right?

Construct the adjacency matrix and the adjacency lists, Question: Constrcut...

Question: Constrcut the adjacency matrix and the adjacency lists for the graph G below, where the weights associated with edges represent distances between nodes. If no edge is pre

Show that the function f is one-one but not onto, Consider the function f: ...

Consider the function f: N → N, where N is the set of natural numbers, defined by f(n) = n 2 +n+1. Show that the function f is one-one but not onto. Ans: To prove that f is one

Probability, An unbiased die is tossed twice .Find the probability of getti...

An unbiased die is tossed twice .Find the probability of getting a 4,5,6 on the first toss and a 1,2,3,4 on the second toss

Find the limit of given matrix, What is required: This assignment is to be ...

What is required: This assignment is to be resolved using Maple. You are to upload a single Maple worksheet with file name FamilynameFirstname.mw (e.g., CarrElliot.mw), using the A

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd