# How to obtain numerical answer for equation containing integration

Could some one tell me how to obtain numerical value of $a$ and $b$ from equations below:

$$\frac{1+exp(b)}{1+exp(0.9a+b)}=0.95$$

$$\int_{0}^{\infty} \frac{1+exp(b)}{1+exp(a x+b)}=1$$

• Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– user9660
Commented Jan 27, 2015 at 18:58
– user9660
Commented Jan 27, 2015 at 18:58
• This is a mathematica question. Commented Jan 27, 2015 at 19:45

eq1 = (1 + E^b)/(1 + E^(9/10 a + b)) == 95/100;

• Something is a little bit unclear to me. What is the reason of using C[1] -> 0? Commented Jan 28, 2015 at 6:18
• @barej It should be evident if you type Solve[eq1, a] and take a look at the result Commented Jan 28, 2015 at 13:34