Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: solve equations for integral limits?
Date: Fri, 2 May 2008 10:39:20 -0400
Organization: The MathWorks, Inc.
Lines: 43
Message-ID: <fvf92o$n3t$1@fred.mathworks.com>
References: <fvcopf$mfa$1@fred.mathworks.com> <fvcv2c$h04$1@canopus.cc.umanitoba.ca>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1209739160 23677 144.212.105.187 (2 May 2008 14:39:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 2 May 2008 14:39:20 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Xref: news.mathworks.com comp.soft-sys.matlab:466288




"Walter Roberson" <roberson@ibd.nrc-cnrc.gc.ca> wrote in message 
news:fvcv2c$h04$1@canopus.cc.umanitoba.ca...
> In article <fvcopf$mfa$1@fred.mathworks.com>,
> David Doria <daviddoria@gmail.com> wrote:
>>syms x k;
>
>>solve('int(x^2,0,k)=2','k')
>
>>matlab wont run this... why can I not solve that equation??
>
> I cannot test that myself as the symbolic toolbox isn't available for
> Linux systems.

Symbolic Math Toolbox is supported on both 32-bit and 64-bit Linux systems, 
although the 64-bit Linux support was (if I remember correctly) introduced 
only a few releases ago.

http://www.mathworks.com/products/symbolic/requirements.html

*checking* Yes, it looks like this toolbox was supported on 64-bit Linux 
starting with Release R2007a.

> When, though, I test it in maple directly, maple quickly returns:
>
> [6^(1/3), ...
> -1/2*6^(1/3)+1/2*I*3^(1/2)*6^(1/3), ...
> -1/2*6^(1/3)-1/2*I*3^(1/2)*6^(1/3)]
>
> Maple would run the int() before attempting to solve(), so this
> is equivilent to asking maple to solve(k^3/3=2)

When I used this code in Release R2008a, I received the same result as you 
received from Maple:

syms x k
solve(int(x^2, 0, k)-2, k)

-- 
Steve Lord
slord@mathworks.com