Prob. 2 Write a function called "week5_2" to evaluate y(x) = In(1/(1 - x)) for any user-specified value of x < 1. Use an
Posted: Fri Mar 04, 2022 10:23 am
Prob. 2 Write a function called "week5_2" to evaluate y(x) = In(1/(1 - x)) for any user-specified value of x < 1. Use an "if statement to verify that the value passed to the program is legal. If it is legal, calculate y(x). If not, display an error message your input value is inappropriate".