I am getting the following error when I run my code: "math operation produced a non-number"
I know that it may happen when in the formula a ^ b a is negative and b is fractional.
Mine are
(1 + (1 / a)*(1 - b)^(1 / a))(1 + a)*(1 - b)^(a))
where a can vary from 0.1 to 1 and b may be defined as
1) a random-normal 0.1 0.1 (a random value between 0 and 0.2), or 2) random-normal 0.8 0.2 (a random value between 0.6 and 1).
However, I cannot understand what I am doing wrong. The formula that I use is correct. Can it be the random value that I am computing?