Page 1 of 1
Solving DE
Posted: March 13th, 2004, 5:02 am
by vitasoy
Hi I am new here and would like to find out how to solve the followind DE.(ax^2+bx+c)p'(x) + (dx+e)p''(x)=0
Solving DE
Posted: March 13th, 2004, 10:06 am
by daveangel
QuoteOriginally posted by: vitasoyHi I am new here and would like to find out how to solve the followind DE.(ax^2+bx+c)p'(x) + (dx+e)p''(x)=0i will rewrite your problem as followsf(x)p'(x) + g(x)p''(x) = 0wheref(x) = ax^2 + bx + cg(x) = dx + ewrite p'(x) = q(x)p''(x) = q'(x)so u end up withf(x)q(x) + g(x)q'(x) = 0ordq/q = - f(x)/g(x) dxln(q) = int(-f(x)/g(x)dx) = h(x)u can integrate the rhs by parts using int (udv/dx) = uv - int(vdu/dx)by inspection, u=f(x) dv/dx = 1/g(x)q = exp(h(x)) hence p = int(qdx) = int(h(x)dx)should be straightforward
Solving DE
Posted: March 13th, 2004, 2:11 pm
by ppauper
Solving DE
Posted: March 16th, 2004, 8:31 am
by vitasoy
Thanks, however I am solving this problem where I havedXo = r dtdx1 = adt + c dbt and X1(0) = x1Here I am wondering how to price the American put and call option .Coming back on the differential equation.How do we solve the following de?a p"(x) + bxp'(x) +cp(x) = 0?Thanks. Just need to solve this last one for American Put option.Thanks
Solving DE
Posted: March 17th, 2004, 12:32 am
by ppauper
funnction