Iterively find solution to linear equation

Job ID: 31530848

Budget: $10 – $30 USD

I need to find η given ε.

As can be seen in equation (2.11) defines the restitution coefficient ε as a monotonic function of the damping ratio η. Since the inverse of this function cannot be determined analytically the equation is solved numerically in order to find the value of η that corresponds to the value of ε prescribed by the user.

Solution needs to be written in Swift.

ε will be between 0 and 1