MaplePrimes - Newest Questions and Posts
http://www.mapleprimes.com
en-us2015 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemSat, 18 Apr 2015 03:21:58 GMTSat, 18 Apr 2015 03:21:58 GMTThe latest questions and posts added to MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Newest Questions and Posts
http://www.mapleprimes.com
how can i get a unique list
http://www.mapleprimes.com/questions/204011-How-Can-I-Get-A-Unique-List?ref=Feed:MaplePrimes:New Questions & Posts
<p>eq:=[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.})]</p>
<p>how i can get a unique results:[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.})]</p>
<p> </p><p>eq:=[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.})]</p>
<p>how i can get a unique results:[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.})]</p>
<p> </p>204011Sat, 18 Apr 2015 03:16:57 ZmatmxhumatmxhuI don not know why
http://www.mapleprimes.com/questions/204010-I-Don-Not-Know-Why?ref=Feed:MaplePrimes:New Questions & Posts
<p>Maple show "</p>
<p>Error, (in simplify/hypergeom/baseHG) Maple was unable to allocate enough memory to complete this computation. Please see <a href='http://www.maplesoft.com/support/help/search.aspx?term=alloc"' target='_new'>?alloc"</a></p>
<p>after I finish the equations set and run it.</p>
<p>what's the reason?</p><p>Maple show "</p>
<p>Error, (in simplify/hypergeom/baseHG) Maple was unable to allocate enough memory to complete this computation. Please see ?alloc"</p>
<p>after I finish the equations set and run it.</p>
<p>what's the reason?</p>204010Sat, 18 Apr 2015 00:35:21 ZwangweiwangweiHow can I contour tempreture data on a sphere?(data:Steady-State Temperatures in a Sphere)
http://www.mapleprimes.com/questions/204009-How-Can-I-Contour-Tempreture-Data-On-A-Sphere?ref=Feed:MaplePrimes:New Questions & Posts
<p><strong>hi,</strong></p>
<p><strong> I solved the laplace equation(pde) in spherical cordinates(in my problem tempreture is steady and azimuthal(theta) asymmetry,so my data is a simple function of "phi".)</strong></p>
<p><strong>but I'm really confused,how to make a contour plot of this data on the surface of the sphere where only each point of (phi)axis has a corresponding data value> "simplify(u(1,phi))"?? [the code with the data "u" is attached]</strong></p>
<p><strong>plzz help me soon and abit simple for a newbie,tnX alot. <br></strong></p>
<p> </p>
<p><a href="/view.aspx?sf=204009_question/ques.mw">Download ques.mw</a><a href="/view.aspx?sf=204009_question/ques.mw">ques.mw</a></p><p><strong>hi,</strong></p>
<p><strong> I solved the laplace equation(pde) in spherical cordinates(in my problem tempreture is steady and azimuthal(theta) asymmetry,so my data is a simple function of "phi".)</strong></p>
<p><strong>but I'm really confused,how to make a contour plot of this data on the surface of the sphere where only each point of (phi)axis has a corresponding data value> "simplify(u(1,phi))"?? [the code with the data "u" is attached]</strong></p>
<p><strong>plzz help me soon and abit simple for a newbie,tnX alot. <br></strong></p>
<p> </p>
<p><a href="/view.aspx?sf=204009_question/ques.mw">Download ques.mw</a><a href="/view.aspx?sf=204009_question/ques.mw">ques.mw</a></p>204009Fri, 17 Apr 2015 22:25:20 ZmortezaemmortezaemSpanning Trees of directed graphs
http://www.mapleprimes.com/questions/204008-Spanning-Trees-Of-Directed-Graphs-?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hi, I was told there are 3 errors about this code, could anyone please help ?<br><br>Thank you very much <br><br><br><strong>DiSpanningTree := proc(G,v)</strong><br><strong> local comp,edges,recurse,visited;</strong><br><strong> recurse := proc(w)</strong><br><strong> local d,z;</strong><br><strong> if assigned(visited[]) then return false; end if;</strong><br><strong> comp(numelems(comp)+1) := w;</strong><br><strong> visited[w] := true;</strong><br><strong> d := Departures(G,v);</strong><br><strong> for z in d do </strong><br><strong> if recurse(z) then edges(numelems(edges)+1) := [w,z]; end if;</strong><br><strong> end do;</strong><br><strong> return true;</strong><br><strong> end proc;</strong><br><strong> visited := table();</strong><br><strong> comp := Array([]);</strong><br><strong> edges := Array([]);</strong><br><strong> recurse(v);</strong><br><strong> return Graph(convert(comp,'list'),edges);</strong><br><strong>end proc:</strong></p><p>Hi, I was told there are 3 errors about this code, could anyone please help ?<br><br>Thank you very much <br><br><br><strong>DiSpanningTree := proc(G,v)</strong><br><strong> local comp,edges,recurse,visited;</strong><br><strong> recurse := proc(w)</strong><br><strong> local d,z;</strong><br><strong> if assigned(visited[]) then return false; end if;</strong><br><strong> comp(numelems(comp)+1) := w;</strong><br><strong> visited[w] := true;</strong><br><strong> d := Departures(G,v);</strong><br><strong> for z in d do </strong><br><strong> if recurse(z) then edges(numelems(edges)+1) := [w,z]; end if;</strong><br><strong> end do;</strong><br><strong> return true;</strong><br><strong> end proc;</strong><br><strong> visited := table();</strong><br><strong> comp := Array([]);</strong><br><strong> edges := Array([]);</strong><br><strong> recurse(v);</strong><br><strong> return Graph(convert(comp,'list'),edges);</strong><br><strong>end proc:</strong></p>204008Fri, 17 Apr 2015 15:40:38 ZzmqzmqMaple Help ASAP
http://www.mapleprimes.com/questions/204006-Maple-Help-ASAP?ref=Feed:MaplePrimes:New Questions & Posts
<p>I am new to maple and I need help.</p>
<p>Let x=x(t) and y=y(t) be functions in t. Suppose that x'=2x−5y+t and y'=4x+9y+sint such that x(0)=y(0)=0. Find y(1).</p>
<p>How do I go about doing this question?</p>
<p>Thanks</p><p>I am new to maple and I need help.</p>
<p>Let x=x(t) and y=y(t) be functions in t. Suppose that x'=2x−5y+t and y'=4x+9y+sint such that x(0)=y(0)=0. Find y(1).</p>
<p>How do I go about doing this question?</p>
<p>Thanks</p>204006Fri, 17 Apr 2015 06:49:00 ZyerinshiyerinshiCan maple solve some tricky equation?
http://www.mapleprimes.com/questions/204005-Can-Maple-Solve-Some-Tricky-Equation?ref=Feed:MaplePrimes:New Questions & Posts
<p><span>Can I use Maple to solve equation like </span><span><img class="math" src="http://qlx.is.quoracdn.net/main-55901c042b5e6ff7.png" alt="|a-b|+\sqrt{2b+c}+c^2-c+1/4=0" width="305" height="23"></span><span> for a,b,c?</span></p>
<p> </p>
<p>a,b,c are real numbers and I need to solve it in real domain.</p><p><span>Can I use Maple to solve equation like </span><span><img class="math" src="http://qlx.is.quoracdn.net/main-55901c042b5e6ff7.png" alt="|a-b|+\sqrt{2b+c}+c^2-c+1/4=0" width="305" height="23"></span><span> for a,b,c?</span></p>
<p> </p>
<p>a,b,c are real numbers and I need to solve it in real domain.</p>204005Fri, 17 Apr 2015 06:30:20 Zspark1631spark1631Relations and Functions in maple
http://www.mapleprimes.com/posts/200838-Relations-And-Functions-In-Maple?ref=Feed:MaplePrimes:New Questions & Posts
<p>With this application we can meet safety characteristics of a relationship and simple or compound functions. Made with maple 2015.</p>
<p><a href="/view.aspx?sf=200838_post/Relaciones_y_Funciones.mw">Relaciones_y_Funciones.mw</a></p>
<p>(in spanish)</p>
<p>L.AraujoC.</p><p>With this application we can meet safety characteristics of a relationship and simple or compound functions. Made with maple 2015.</p>
<p><a href="/view.aspx?sf=200838_post/Relaciones_y_Funciones.mw">Relaciones_y_Funciones.mw</a></p>
<p>(in spanish)</p>
<p>L.AraujoC.</p>200838Fri, 17 Apr 2015 04:12:58 ZLenin Araujo CastilloLenin Araujo Castilloprocedure "proc"
http://www.mapleprimes.com/questions/204004-Procedure-proc?ref=Feed:MaplePrimes:New Questions & Posts
<p>Dear all,</p>
<p>I have one probem in using Maple in comparison with Matlab.</p>
<p>Generally, when using Matlab, I write a long program with 500 lines (for example) and where I use some matricial calculations and other. When I want to repeat this program for some parameters (variables) many times, I transform the program to a procedure "Function" with just adding the command Function in the start of the program.</p>
<p>When using Maple, I have a difficulty to transform a long program which I want to repeat for some variables to a procedure "proc". The program uses packages like LinearAlgebra and other procedures.</p>
<p>Is there a simple way to transform a long Maple program to a procedure which should be repeated many times for some variables in Maple. </p>
<p>I have especially problems with the commands local, global, use (for packages), etc.. and the warning related to the variables. It is not easy for a long program with many variables to write them in local or global variables.</p>
<p>Thank you.</p><p>Dear all,</p>
<p>I have one probem in using Maple in comparison with Matlab.</p>
<p>Generally, when using Matlab, I write a long program with 500 lines (for example) and where I use some matricial calculations and other. When I want to repeat this program for some parameters (variables) many times, I transform the program to a procedure "Function" with just adding the command Function in the start of the program.</p>
<p>When using Maple, I have a difficulty to transform a long program which I want to repeat for some variables to a procedure "proc". The program uses packages like LinearAlgebra and other procedures.</p>
<p>Is there a simple way to transform a long Maple program to a procedure which should be repeated many times for some variables in Maple. </p>
<p>I have especially problems with the commands local, global, use (for packages), etc.. and the warning related to the variables. It is not easy for a long program with many variables to write them in local or global variables.</p>
<p>Thank you.</p>204004Thu, 16 Apr 2015 23:51:06 ZAlgerAlgerhow to use mathematica code convert to maple code
http://www.mapleprimes.com/questions/204003-How-To-Use-Mathematica-Code-Convert-To-Maple-Code?ref=Feed:MaplePrimes:New Questions & Posts
<p>I find mapleform software but I dont know how to use , and does anyone know another method to convert. I know use </p>
<p>> with(MmaTranslator);<br>> MmaToMaple(); </p>
<p>I can <span>automatically <span>translated .nb files. but this have </span></span></p>
<p>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist</p>
<p>another Error, missing operator or `;`</p>
<p>also I try to use </p>
<p>> with(MmaTranslator);<br>> FromMmaNotebook(Mma_notebook_filename, options);</p>
<p>I still dont know how is works? can you explains for me and show me some example , here is my example files.<a href="/view.aspx?sf=204003_question/plot.zip">plot.zip</a></p>
<p> </p><p>I find mapleform software but I dont know how to use , and does anyone know another method to convert. I know use </p>
<p>> with(MmaTranslator);<br>> MmaToMaple(); </p>
<p>I can <span>automatically <span>translated .nb files. but this have </span></span></p>
<p>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist<br>Error, (in readline) file or directory does not exist</p>
<p>another Error, missing operator or `;`</p>
<p>also I try to use </p>
<p>> with(MmaTranslator);<br>> FromMmaNotebook(Mma_notebook_filename, options);</p>
<p>I still dont know how is works? can you explains for me and show me some example , here is my example files.<a href="/view.aspx?sf=204003_question/plot.zip">plot.zip</a></p>
<p> </p>204003Thu, 16 Apr 2015 19:55:15 Zcandy898candy898Software limits from GUI Maple
http://www.mapleprimes.com/questions/204002-Software-Limits-From-GUI-Maple?ref=Feed:MaplePrimes:New Questions & Posts
<p>How do I set from Maple GUI how much memory from my 4GB RAM and how much CPU time can Maple use before it is shut down?Thank you Jan</p><p>How do I set from Maple GUI how much memory from my 4GB RAM and how much CPU time can Maple use before it is shut down?Thank you Jan</p>204002Thu, 16 Apr 2015 17:56:03 Zjan123jan123Why this example from the Online help doesn't work?
http://www.mapleprimes.com/questions/204001-Why-This-Example-From-The-Online-Help?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hello everyone!</p>
<p>I'm trying to understand how to work with PDEs in Maple by solving a basic PDE such as the wave equation, along with conditions at t = 0 in terms of arbitrary functions. I stumbled upon the very same example, included in the Maple Online help <a href="http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples%2fpdsolve_boundaryconditions">at this page</a> under the part "Three Textbook Examples":</p>
<p><img src="/view.aspx?sf=204001_question/image.jpg" alt="">I tried to copy and paste the code and execute it, but to no avail: it seems like <em>pdsolve</em> doesn't give me any other result than a blank space, unlike in the example reported in the Online help. Can anyone tell me if (and where) I am doing wrong? Is it possible that my version of Maple (Maple 13) may not be compatible with the procedures required by this example?</p>
<p> A warm thank you to whoever will help me!</p><p>Hello everyone!</p>
<p>I'm trying to understand how to work with PDEs in Maple by solving a basic PDE such as the wave equation, along with conditions at t = 0 in terms of arbitrary functions. I stumbled upon the very same example, included in the Maple Online help <a href="http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples%2fpdsolve_boundaryconditions" target="_blank">at this page</a> under the part "Three Textbook Examples":</p>
<p><img src="/view.aspx?sf=204001_question/image.jpg" alt="">I tried to copy and paste the code and execute it, but to no avail: it seems like <em>pdsolve</em> doesn't give me any other result than a blank space, unlike in the example reported in the Online help. Can anyone tell me if (and where) I am doing wrong? Is it possible that my version of Maple (Maple 13) may not be compatible with the procedures required by this example?</p>
<p> A warm thank you to whoever will help me!</p>204001Thu, 16 Apr 2015 15:28:11 ZInge88Inge88how can plot the second diagram?
http://www.mapleprimes.com/questions/204000-How-Can-Plot-The-Second-Diagram?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hi</p>
<p>I have this diagram</p>
<p>Sys := -(diff(p(z), z)) = 1.289*10^10*(.675+77/(Pi*1.2^2))*(1+x(z))/(Pi*1.2^2*p(z)), diff(x(z), z) = 1.134*10^(-8)*Pi*1.2^2*(1-x(z))*p(z)/(1+x(z)); Inc := p(0) = 2*10^6, x(0) = 0; Sol := dsolve({Inc, Sys}, numeric); plots[odeplot](Sol, [[z, p(z)], [z, x(z)]], z = 0 .. 26, color = [red, blue], thickness = 2)</p>
<p>according to the diagram data,I should be plotted another diagram in terms of P vers w.</p>
<p>that</p>
<p>w = 1560*Pi*(9*z-(1/3)*(z-2.7)^3*((1/3)*2.7^3)).</p>
<p> </p><p>Hi</p>
<p>I have this diagram</p>
<p>Sys := -(diff(p(z), z)) = 1.289*10^10*(.675+77/(Pi*1.2^2))*(1+x(z))/(Pi*1.2^2*p(z)), diff(x(z), z) = 1.134*10^(-8)*Pi*1.2^2*(1-x(z))*p(z)/(1+x(z)); Inc := p(0) = 2*10^6, x(0) = 0; Sol := dsolve({Inc, Sys}, numeric); plots[odeplot](Sol, [[z, p(z)], [z, x(z)]], z = 0 .. 26, color = [red, blue], thickness = 2)</p>
<p>according to the diagram data,I should be plotted another diagram in terms of P vers w.</p>
<p>that</p>
<p>w = 1560*Pi*(9*z-(1/3)*(z-2.7)^3*((1/3)*2.7^3)).</p>
<p> </p>204000Thu, 16 Apr 2015 10:58:51 Zsami131sami131Modeling damping in a spherical joint
http://www.mapleprimes.com/questions/203999-Modeling-Damping-In-A-Spherical-Joint-?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hello,</p>
<p>I need to model some spherical joints with damping.</p>
<p>Apparently, contrary to revolute joints, it seems that it is not possible to add damping in spherical joints. Indeed, contrary to the revolute joint where there is an option to put spring or damping element, i don't find this option in the spherical joint. </p>
<p>Do you have a idea to model spherical joints with damping (without changing the spherical joint)?</p>
<p>Thanks a lot for your help</p><p>Hello,</p>
<p>I need to model some spherical joints with damping.</p>
<p>Apparently, contrary to revolute joints, it seems that it is not possible to add damping in spherical joints. Indeed, contrary to the revolute joint where there is an option to put spring or damping element, i don't find this option in the spherical joint. </p>
<p>Do you have a idea to model spherical joints with damping (without changing the spherical joint)?</p>
<p>Thanks a lot for your help</p>203999Thu, 16 Apr 2015 10:47:54 ZBendesartsBendesartsHow to building a wall
http://www.mapleprimes.com/questions/203998-How-To-Building-A-Wall?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hello,</p>
<p>How to building a wall, I want to use the wall with something (ex:ball) make a elastic collision.</p>
<p>Thank you all.</p><p>Hello,</p>
<p>How to building a wall, I want to use the wall with something (ex:ball) make a elastic collision.</p>
<p>Thank you all.</p>203998Thu, 16 Apr 2015 10:19:06 Ztkeith022tkeith022How to find k-th root of the given matrix over finite field
http://www.mapleprimes.com/questions/203997-How-To-Find-Kth-Root-Of-The-Given-Matrix?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hi EveryOne!</p>
<p>In the the answer of the question "How to find roót of polynomial in finite field and extension finite field (at URL: http://www.mapleprimes.com/questions/203977-How-To-Find-Roots-Of-Polynomial-In-Finite#answer215097). <a href="http://www.mapleprimes.com/questions/203977-How-To-Find-Roots-Of-Polynomial-In-Finite#comment215085">Carl Love</a> helped compute eigenvalues (x<sub>1,</sub>x<sub>2</sub>,...,x<sub>n</sub>)and eigenvectors of the given matrix M over GF(2<sup>8</sup>)/(y^8+y^4+y^3+y+1).</p>
<p>I need to do:</p>
<p>1. Get matrix D from these eigenvalues (x<sub>1,</sub>x<sub>2</sub>,...,x<sub>n</sub>), with D[i,i] = x<sub>i</sub> and D[i,j≠i] = 0 (D will be diagonalizable matrix. Some x<sub>i</sub> may be in extension finite field GF((2<sup>8</sup>)<sup>2</sup>))</p>
<p>2. Get matrix P from eigenvectors corresponding to the above eigenvalues, compute P<sup>-1</sup></p>
<p>3. Compute matrix B = P x D<sup>1/4 </sup>x P<sup>-1 </sup>in extension finite field GF((2<sup>8</sup>)<sup>2</sup>).</p>
<p>Please help me!!! </p><p>Hi EveryOne!</p>
<p>In the the answer of the question "How to find roót of polynomial in finite field and extension finite field (at URL: http://www.mapleprimes.com/questions/203977-How-To-Find-Roots-Of-Polynomial-In-Finite#answer215097). <a href="http://www.mapleprimes.com/questions/203977-How-To-Find-Roots-Of-Polynomial-In-Finite#comment215085">Carl Love</a> helped compute eigenvalues (x<sub>1,</sub>x<sub>2</sub>,...,x<sub>n</sub>)and eigenvectors of the given matrix M over GF(2<sup>8</sup>)/(y^8+y^4+y^3+y+1).</p>
<p>I need to do:</p>
<p>1. Get matrix D from these eigenvalues (x<sub>1,</sub>x<sub>2</sub>,...,x<sub>n</sub>), with D[i,i] = x<sub>i</sub> and D[i,j≠i] = 0 (D will be diagonalizable matrix. Some x<sub>i</sub> may be in extension finite field GF((2<sup>8</sup>)<sup>2</sup>))</p>
<p>2. Get matrix P from eigenvectors corresponding to the above eigenvalues, compute P<sup>-1</sup></p>
<p>3. Compute matrix B = P x D<sup>1/4 </sup>x P<sup>-1 </sup>in extension finite field GF((2<sup>8</sup>)<sup>2</sup>).</p>
<p>Please help me!!! </p>203997Thu, 16 Apr 2015 09:09:15 Ztestht06testht06