Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello everybody. I have a very simple question. I'm trying to find implied volatility through Black Scholes, however, MathCad's "solve" function doesn't work in my file. I guess my code is not correct. What should I change in my code? Thanks in advance, Inna
What exactly is it you are after?
You have 40 equations and want to solve for one single variabe sigma and you would like the solution symbolically in terms of the 40 components of an unknown vector C??
Exactly, I want my answer to be a vector of 40 elements, giving me sigma for each time period.
Actually it's not going to be a vector C. Vector C stands for call prices which are needed to calculate implied volatility. I need a separate vector for volatility (40 elements).
Here is a sheet set up for numerical evaluation (you would need to provide value(s) for C). Not sure if is is of any help. Solving for the inverse error function symbolically seems to be out of the reach of Mathcad.
I see. Its not a system of equations, but I guess Mathcad's symolics is not capable enough to solve that integral equation.
It may work numerically with known values for your vector (or scalar?) C.
One last input: In Mathcad you can use the cumulative normal distribution for the calculation of the call or put option.
Thanks a lot!