The current problem is that the output of my function can only be shown but not assigned to a variable. When I try to view the value stored in the variable I'm given a max positive number error.
The initial problem began with the equation working only outside of a function, but when written as a function it would give a max positive number error.
Through trial and error I found that I could break up the equation into two steps, and now the function works aside from the assignment error stated above.
Max Number Error.sm (4 KiB) downloaded 35 time(s).