wrote code to make the calculator function work; will take in inputs and output a calculated risk value, but will not check for malformed inputs