Math 300: Python ICE 3 (back to Math 300 notes)

Write a Python function to evaluate

Obviously it will take one argument, and return one output. Input argument should be validated against being negative or 0.