Serving the Quantitative Finance Community

 
User avatar
TheTiger
Topic Author
Posts: 0
Joined: September 17th, 2002, 8:25 am

guys, please help to solve this equation

November 30th, 2005, 11:34 pm

Thanks!
 
User avatar
Alan
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

guys, please help to solve this equation

November 30th, 2005, 11:54 pm

Attached is Mathematica's solution.There is a free viewer called Mathreader on the net to view it.regards,
Attachments
difeq.zip
(1.77 KiB) Downloaded 89 times
 
User avatar
TheTiger
Topic Author
Posts: 0
Joined: September 17th, 2002, 8:25 am

guys, please help to solve this equation

December 1st, 2005, 7:26 am

Thanks, Alan. Gonna have a look now.
 
User avatar
Alan
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

guys, please help to solve this equation

December 1st, 2005, 5:15 pm

You're welcome.Most of Mathematica's documentation is online.There are two arbitrary constants C[1] and C[2].The result may look quite obscure.To help explain the notation, the slot # is a formal parameter; replaceit with some parameter, say x. Then, inside the InverseFunction[...],you have a function of x and one of the constants, call it F(x, C[1]). Imagine taking the inverse function of F (say with Newton'smethod) -- call that inverse function G(x,C[1]). The final answer to your eqn. is y[x] = G(x+ C[2], C[1]). To really work with the soln. and get a number, you'll eitherneed Mathematica proper or another system with thehypergeometric 2F1 function. Where does the thing come from?
Last edited by Alan on November 30th, 2005, 11:00 pm, edited 1 time in total.