chapter 11: Exponential fitting

A Partial Differential Equation Approach

chapter 11: Exponential fitting

Postby JLMARTIN » Sun Feb 28, 2016 1:43 pm

Hi Daniel

I'm trying to implement the exponential fitting scheme in a function like sigma(x)u'' + mu(x)u' + b(x)u = f(x) with the related 2 boundary conditions (page 127 of your book), in order to better understand this scheme.

I figured out an example: u'' + (16x-8)u' - 64xu = 0, that has as exact solution u=x*exp(4x). My x's interval is (0,1) and the boundary conditions are given by the exact solution.

My issue is that the error I get using the scheme sigma_j*D+D-Uj + mu_j*D0Uj + b_j*Uj = f_j is smaller than the error of the scheme rho_j*D+D-Uj + mu_j*D0Uj + b_j*Uj = f_j (with rho_j defined as in your book).

My guess on this strange result (at least form me) is that I'm not using an appropriate function, since I've read on the internet that mu(x)>=U(x_min)>0 (here).

Is my guess correct? can you give me please an example where I can apply this scheme?

Thank you!
JLMARTIN
 
Posts: 16
Joined: Mon Jul 30, 2012 9:52 am

Re: chapter 11: Exponential fitting

Postby JLMARTIN » Mon Mar 07, 2016 11:47 pm

HI

any update? O_o
JLMARTIN
 
Posts: 16
Joined: Mon Jul 30, 2012 9:52 am


Return to Finite Difference Methods in Financial Engineering (Duffy)

Who is online

Users browsing this forum: No registered users and 1 guest