I would like close this thread by myself
- To: mathgroup at smc.vnet.net
- Subject: [mg78971] I would like close this thread by myself
- From: "Michael Chen" <vancouver.michael at gmail.com>
- Date: Sat, 14 Jul 2007 02:39:45 -0400 (EDT)
hi, there, I got one solution from another thread, which suggested using PiecewiseIntegration. Thanks for your time. Michael Chen On 7/13/07, Michael Chen <vancouver.michael at gmail.com> wrote: > > Dear there, > > [version 6.0] > > I did the integration by hand and the result is piecewise function in > (x1,x2). It is doable, though tedious. I expect Mathematica can do it much > fast, however it takes 5 hours without result yet. Maybe there are better > ways to do it in Mathematica? > > Simplify[ > Integrate[h1-x1 Boole[h1-x1>0 && h2-x2>0 && h1-x1>h2-x2], {h1,B1,U1}, > {h2,B2,U2}, Assumptions->B1<U1 && B2<U2] > ] > > Thanks a lot. > > -- > Michael Chen > >