Hi, everyone, this is my first post. I just need help regarding a function. Here it goes:

I am using a function: B = A + (n/(b+1))*(1-A) ---- (I)

where n = 1 - e^(-x) i.e. a monotonically increasing function with the value of x (where x will have a minimum value of 0 or any positive value) in the range 0 to 1

and b has a minimum value of greater than or equal to zero.

Question: My query is : 1. Is (I) a mathematically sound equation.

2. Moreover, when n/(1+b) = 1 then b = n - 1

Now if n = 0 then b = -1 (But how this is possible, as b has a minimum value of 0).

3. Please check this equation for all boundary values for n and b, and me know if this function is mathematically fine or should I change this.

PLEASE HELP.