i don't know if there is an easy way to do it or not! Thanks for your help!

MT

Well, the obvious thing to do would be to put those conditions into your equation, giving you two equations for [itex]\overline{x}[/itex] and C- except that the conditions say "p= 0" and there is NO p in your equation!

Since your original equation, in terms of integrals, has [itex]\int dp[/itex] on the left side, you should get an equation of the form "p= the integral on the right". I have no idea what the equations you give for h and [itex]\overline{h}[/itex] have to do with that equation!