[Maxima] Applying Ito's lemma
Julien Martin
balteo at gmail.com
Thu Jun 4 07:17:00 CDT 2009
Hello,
I am relatively new to Maxima and I would like to apply Ito's lemma to ln(f)
with f defined as follows:
*df:=(r + sigma_f * sigma_g) f dt +(sigma_f ) f dz*
Here is what I tried:
*g(f,t):=log(f(t));
(diff(g(f,t),f(t),1)*(r + sigma_f * sigma_g) + diff(g(f,t),t,2) + 1/2*
diff(g(f,t),f(t),2)*(sigma_f * f(t))^2)*dt + diff(g(f,t),f(t),1)*(sigma_f *
f(t))*dz;*
I don't get what I want i.e. I it does not seem to derive. What I am getting
wrong in the syntax?
Can anyone please help?
J.
Ps. Here is the original lemma for your information:
http://en.wikipedia.org/wiki/It%C5%8D%27s_lemma#Black.E2.80.93Scholes_formula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20090604/1611d695/attachment.htm
More information about the Maxima
mailing list