Write a function that will calculate the “implied volatility” given a market price of a call (or put option). This is the that needs to be inserted into Black–Scholes formula so that the price given by the formula matches the given market price.
Write a function that will calculate the “impli