Possible to solve for V in MATLAB r2011a?

1 view (last 30 days)
(V^1.4*A^.4*C1-1/V)dV=dA/A
where
C1=constant,
A=.25*pi*(.022^2-x^2), and
V=f(x).
I'm trying to derive a symbolic expression for V. Is it possible to change this eq. into a form with no derivatives or integrals? Or could I just shove this into some "solve" function? I have r2011a so the solve functions are less powerful.
  1 Comment
Walter Roberson
Walter Roberson on 4 Jun 2015
Could you confirm that you mean
(V(x)^(7/5)*A(x)^(2/5)*C1-1/V(x))*(diff(V(x), x)) = (diff(A(x), x)) / A(x)
A(x) = (1/4)*Pi*((22/1000)^2-x^2)

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 5 Jun 2015
If you do mean
(V(x)^(7/5)*A(x)^(2/5)*C1-1/V(x))*(diff(V(x), x)) = (diff(A(x), x)) / A(x)
A(x) = (1/4)*Pi*((22/1000)^2-x^2)
then No. If there is a closed form solution for that it is difficult to solve.
  4 Comments
Walter Roberson
Walter Roberson on 5 Jun 2015
Let us look again at the RootOf(), and let us restrict to wanting real valued solutions. The RootOf() has the components
500000*C2 - ln(250000*x^2-121) + 500000 * TheIntegral
This splits into two cases. ln(25000*x^2-121) is real-valued if 25000*x^2-121 is >= 0 but the ln() is imaginary if 250000*x^2-121 < 0. Let us look first at the real-valued case, 25000*x^2-121 >= 0 and corresponding real-valued ln(). Then provided that the boundary condition C2 is real-valued, we can see that the overall expression would be real-valued if and only if 50000 * TheIntegral is real-valued, which occurs if TheIntegral is real-valued. So we study when the imaginary component is 0.
It is not immediately obvious from the expression what imaginary part will be, considering that there are fractional powers of -1 on both the numerator and denominator. Maple tells me that the imaginary component is
(9/1250) * TEMP^3 * 10^(2/5) * Pi^(3/5) *(TEMP^8)^(1/5) * sin((2/5)*Pi) / (1000 * cos((2/5)*Pi) *Pi^(3/5) * (TEMP^8)^(1/5) * 10^(2/5) * TEMP^4 + Pi * TEMP^8 + 250000 * 10^(4/5) * Pi^(1/5) * (TEMP^8)^(2/5))
Making the assumption that we are not going to push TEMP so that we are dividing by infinity, we can solve for that being 0 by examining the numerator
9 * TEMP^3 * 10^(2/5) * Pi^(3/5) * (TEMP^8)^(1/5) * sin((2/5)*Pi)
and simple inspection shows that is only true if TEMP is 0. But the denominator also goes to 0, leading to 0/0 so we need to rule out 0 as well. Well actually the limit of that expression is 0, but the expression as a whole (real and imaginary together) is undefined as TEMP approaches 0, so we need to rule it out anyhow.
Therefore there are no solutions in reals when 25000*x^2-121 is >= 0
Walter Roberson
Walter Roberson on 6 Jun 2015
Edited: Walter Roberson on 6 Jun 2015
The imaginary case is getting a bit tricky. Could you indicate some typical values for C1 and for the range of x ? And could you say whether this is to be a real-only problem or if it is to involve complex values?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!