How can I reproduce the implied volatility curve (plotted against the strike price) in the Heston model (i.e. the blue line in the graph below)?
What's the equation that I have to set up and solve?
I have a function that evaluates the price of a Heston call:
heston_call$(S_0, v_0, \theta, \kappa, \eta, r, \rho, \tau, K)$ where $K$ is the strike price and the other variables are as explained below.