Create a function that calculates the missing value of 3 inputs using Ohm's law. The inputs are v, r or i (aka: voltage, resistance and current).
Ohm's law:
V = R * IReturn the missing value rounded to two decimal places.
calculate(46.6, "", 54.4) ➞ 0.86
calculate(54.0, 46.0, "") ➞ 1.17
calculate(230.0, "", 2.0) ➞ 115.0
calculate("", 220.0, 0.02) ➞ 4.4
calculate("", "", 10.0) ➞ "Invalid"
calculate(500.0, 50.0, 10.0) ➞ "Invalid""""Invalid"