MaplePrimes - Newest Questions
http://www.mapleprimes.com/questions
en-us2017 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemMon, 29 May 2017 05:40:15 GMTMon, 29 May 2017 05:40:15 GMTThe questions most recently asked on MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Newest Questions
http://www.mapleprimes.com/questions
Error, (in casesplit/K) this version of casesplit is not yet handling the function: piecewise
http://www.mapleprimes.com/questions/221994-Error-in-CasesplitK-This-Version?ref=Feed:MaplePrimes:New%20Questions
<p>I am learning pdsolve in Maple. When I try to solve a diffusion pde, I get this strange error message, and I do not understand what it means: This is using Maple 2017 on windows 7</p>
<pre class="prettyprint">
restart;
bc:=f(t,0)=0,f(t,1)=1;
ic:=f(0,x)=piecewise(x=0,1,0);
pde:=diff(f(t,x),t)=diff(f(t,x),x$2);
pdsolve({pde,bc,ic},f(t,x));
</pre>
<p>The error is</p>
<p>Error, (in casesplit/K) this version of casesplit is not yet handling the function: piecewise</p>
<p>Am I writing the initial conditions (ic) wrong? Maple help shows nothing on this. I think Maple does not like my initial conditions. But do not know how to correct it now.</p>
<p>What causes this error?</p>
<p> </p>
<p> </p>
<p>I am learning pdsolve in Maple. When I try to solve a diffusion pde, I get this strange error message, and I do not understand what it means: This is using Maple 2017 on windows 7</p>
<pre class="prettyprint">
restart;
bc:=f(t,0)=0,f(t,1)=1;
ic:=f(0,x)=piecewise(x=0,1,0);
pde:=diff(f(t,x),t)=diff(f(t,x),x$2);
pdsolve({pde,bc,ic},f(t,x));
</pre>
<p>The error is</p>
<p>Error, (in casesplit/K) this version of casesplit is not yet handling the function: piecewise</p>
<p>Am I writing the initial conditions (ic) wrong? Maple help shows nothing on this. I think Maple does not like my initial conditions. But do not know how to correct it now.</p>
<p>What causes this error?</p>
<p> </p>
<p> </p>
221994Sun, 28 May 2017 23:15:01 ZnmnmFind the candidates to absolute maximum and minimum with multiple constraints
http://www.mapleprimes.com/questions/221993-Find-The-Candidates-To-Absolute-Maximum?ref=Feed:MaplePrimes:New%20Questions
<p>Hello.</p>
<p>I am asked to find all the candidate points to absolute maximum or minimum in a domain delimited by several lines or curves.</p>
<p>Let me show you an example:</p>
<p><img src="/view.aspx?sf=221993_question/Captura1.png"></p>
<p>I am having trouble trying to find the candidate points on the boundary of the domain with LagrangeMultipliers.</p>
<p>How should I express the line or curve equations so that I can use them as constraints of LagrangeMultipliers? Should I use another method?</p>
<p>Thanks a lot.</p>
<p>Hello.</p>
<p>I am asked to find all the candidate points to absolute maximum or minimum in a domain delimited by several lines or curves.</p>
<p>Let me show you an example:</p>
<p><img src="/view.aspx?sf=221993_question/Captura1.png"></p>
<p>I am having trouble trying to find the candidate points on the boundary of the domain with LagrangeMultipliers.</p>
<p>How should I express the line or curve equations so that I can use them as constraints of LagrangeMultipliers? Should I use another method?</p>
<p>Thanks a lot.</p>
221993Sun, 28 May 2017 10:05:42 ZmagiblotmagiblotWhy can't gfun guess the generating function of the Bernoulli numbers?
http://www.mapleprimes.com/questions/221992-Why-Cant-Gfun-Guess-The-Generating?ref=Feed:MaplePrimes:New%20Questions
<p>That the Bernoulli numbers has z/(exp(z)-1)) as an exponentional generating functions is of course very well known. I am wondering why the gfun package doesn't seem to be able to work this out? Naive approaches like</p>
<p>gfun[guessgf]([seq(bernoulli(n),n=0..100)],z);</p>
<p>give FAIL. I would expect gfun to be able to transform the given sequence corresponding to replacing A(z) by 1/A(z), easily recognize (exp(z)-1))/z, and transform back. Perhaps the package is in need of maintenance?</p>
<p>Any help would be much appreciated.</p>
<p>Best,</p>
<p>Soren</p>
<p> </p>
<p> </p>
<p>That the Bernoulli numbers has z/(exp(z)-1)) as an exponentional generating functions is of course very well known. I am wondering why the gfun package doesn't seem to be able to work this out? Naive approaches like</p>
<p>gfun[guessgf]([seq(bernoulli(n),n=0..100)],z);</p>
<p>give FAIL. I would expect gfun to be able to transform the given sequence corresponding to replacing A(z) by 1/A(z), easily recognize (exp(z)-1))/z, and transform back. Perhaps the package is in need of maintenance?</p>
<p>Any help would be much appreciated.</p>
<p>Best,</p>
<p>Soren</p>
<p> </p>
<p> </p>
221992Sun, 28 May 2017 08:37:05 ZeilerseilersSolve maple function
http://www.mapleprimes.com/questions/221990-Solve-Maple-Function?ref=Feed:MaplePrimes:New%20Questions
<p>I want to solve a system of algebraic equations in maple using as follows:</p>
<p> </p>
<p>equations:={b[1](2)*a[1](2, 1) = 1/2, b[1](2)*a[1](2, 1)^2 = 1/3, b[1](2)*a[2](2, 1) = 1/2, b[1](2)*a[2](2, 1)^2 = 1/3, b[2](2)*a[1](2, 1) = 1/2, b[2](2)*a[2](2, 1) = 1/2, b[1](2)*(a[3](2, 1)+a[3](2, 2))*a[1](2, 1) = 1/3, b[1](2)*(a[3](2, 1)+a[3](2, 2))*a[2](2, 1) = 1/3, b[1](2)*a[2](2, 1)*a[1](2, 1) = 1/3, b[1](1)*(a[3](1, 1)+a[3](1, 2))+b[1](2)*(a[3](2, 1)+a[3](2, 2)) = 1/2, b[1](1)*(a[3](1, 1)+a[3](1, 2))^2+b[1](2)*(a[3](2, 1)+a[3](2, 2))^2 = 1/3, b[2](1)*(a[3](1, 1)+a[3](1, 2))+b[2](2)*(a[3](2, 1)+a[3](2, 2)) = 1/2, b[1](1)+b[1](2) = 1, b[2](1)+b[2](2) = 1}</p>
<p>variables:={a[1](2, 1), a[2](2, 1), a[3](1, 1), a[3](1, 2), a[3](2, 1), a[3](2, 2), b[1](1), b[1](2), b[2](1), b[2](2), b[3](1), b[3](2)}</p>
<p> </p>
<p>solve(equations,variables);</p>
<p> </p>
<p>But I get an error mesage that the equations is not valid equation or expression.</p>
<p>Any help?</p>
<p> </p>
<p>I want to solve a system of algebraic equations in maple using as follows:</p>
<p> </p>
<p>equations:={b[1](2)*a[1](2, 1) = 1/2, b[1](2)*a[1](2, 1)^2 = 1/3, b[1](2)*a[2](2, 1) = 1/2, b[1](2)*a[2](2, 1)^2 = 1/3, b[2](2)*a[1](2, 1) = 1/2, b[2](2)*a[2](2, 1) = 1/2, b[1](2)*(a[3](2, 1)+a[3](2, 2))*a[1](2, 1) = 1/3, b[1](2)*(a[3](2, 1)+a[3](2, 2))*a[2](2, 1) = 1/3, b[1](2)*a[2](2, 1)*a[1](2, 1) = 1/3, b[1](1)*(a[3](1, 1)+a[3](1, 2))+b[1](2)*(a[3](2, 1)+a[3](2, 2)) = 1/2, b[1](1)*(a[3](1, 1)+a[3](1, 2))^2+b[1](2)*(a[3](2, 1)+a[3](2, 2))^2 = 1/3, b[2](1)*(a[3](1, 1)+a[3](1, 2))+b[2](2)*(a[3](2, 1)+a[3](2, 2)) = 1/2, b[1](1)+b[1](2) = 1, b[2](1)+b[2](2) = 1}</p>
<p>variables:={a[1](2, 1), a[2](2, 1), a[3](1, 1), a[3](1, 2), a[3](2, 1), a[3](2, 2), b[1](1), b[1](2), b[2](1), b[2](2), b[3](1), b[3](2)}</p>
<p> </p>
<p>solve(equations,variables);</p>
<p> </p>
<p>But I get an error mesage that the equations is not valid equation or expression.</p>
<p>Any help?</p>
<p> </p>
221990Sat, 27 May 2017 20:07:15 ZRockRockHow to collapse derivatives?
http://www.mapleprimes.com/questions/221989-How-To-Collapse-Derivatives?ref=Feed:MaplePrimes:New%20Questions
<p>Let</p>
<p><span style="font-family:courier new,courier,monospace;"><strong>z := Diff(x(t),t)*y(t) + x(t)*Diff(y(t),t);</strong></span></p>
<p>Is there a way to tell Maple to collapse that into <span style="font-family:courier new,courier,monospace;"><strong>Diff(x(t)*y(t), t) </strong></span>?</p>
<p>I tried factor, combine, simplify, but none of them worked.</p>
<p> </p>
<p> </p>
<p>Let</p>
<p><span style="font-family:courier new,courier,monospace;"><strong>z := Diff(x(t),t)*y(t) + x(t)*Diff(y(t),t);</strong></span></p>
<p>Is there a way to tell Maple to collapse that into <span style="font-family:courier new,courier,monospace;"><strong>Diff(x(t)*y(t), t) </strong></span>?</p>
<p>I tried factor, combine, simplify, but none of them worked.</p>
<p> </p>
<p> </p>
221989Sat, 27 May 2017 19:21:38 ZRouben
Rostamian
Rouben
Rostamian
Check if simplified
http://www.mapleprimes.com/questions/221988-Check-If-Simplified?ref=Feed:MaplePrimes:New%20Questions
<p>Hi all,</p>
<p> </p>
<p>I am looking for a boolean logic check to see if a rational expression is simplified.</p>
<p>For example: x/x^2 = 1/x I want something along the lines of issimplified(x/x^2)=FALSE</p>
<p>Similarily, (x^2-x-12)/(x-4) = x+3 so I would like some logic test to say (x^2-x-12)/(x-4) is NOT simplified.</p>
<p> </p>
<p>Thanks in advance,</p>
<p>Mark</p>
<p>Hi all,</p>
<p> </p>
<p>I am looking for a boolean logic check to see if a rational expression is simplified.</p>
<p>For example: x/x^2 = 1/x I want something along the lines of issimplified(x/x^2)=FALSE</p>
<p>Similarily, (x^2-x-12)/(x-4) = x+3 so I would like some logic test to say (x^2-x-12)/(x-4) is NOT simplified.</p>
<p> </p>
<p>Thanks in advance,</p>
<p>Mark</p>
221988Sat, 27 May 2017 18:41:49 Zmschneidermschneider