Please someone can help how to plot the following numerical integral with respect to “z”. Here " z " varies from “0” to “1”.
I am using the following code:
Plot[{z,NIntegrate[x^(1/2)/(Exp[x] *z^(-1))+z/(1-z),{x,0,Infinity}]},{z,0,1}]
But unable to get the correct result.
In the problem statement, is
z/(1-z)
part of the integral? If so, the pen & paper version needs parentheses. If not, it should not be inside the NIntegrate function.
No, z/ (1-z) is not a part of the integral. What all I want to do is , calculate the integral for a particular value of “z”. and then add with it the value. "z / (1-z) ". And I want to do it for all values of “z” in between “0” to “1”.
Please can you tell hopw should I modify my code?
It should not be inside the NIntegrate function.