MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

dsolve?


Dear Mathematica Gurus:

In trying to find the area under a curve for polytropic compression of
an ideal gas, I have run into a problem with DSolve. I have two
workarounds, which are listed below, but I want to use DSolve. Any
suggestions?

Problem Code:
DSolve[{Derivative[1][W][V]==(P1*V1^k)/V^k,W[V1]==0},W,V]
"For some branches of the general solution, the given boundary conditions lead \
to an empty solution."

Workaround 1:
Assuming[{V1>V2>0},Integrate[(P1*V1^k)/V^k,{V,V1,V2}]]

Workaround 2:
First[DSolve[{Derivative[1][W][V]==(P1*V1^k)/V^k},W,V]]
First[Solve[W[V1]==0/.%,C[1]]]
FullSimplify[W[V]/.%%/.%]

Thank you for your valuable time,
-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • Prev by Date: Re: NSum: badly missed Option
  • Next by Date: Re: calculate de Jong function
  • Previous by thread: Re: MapThread
  • Next by thread: Reading in a file