MaplePrimes - Maple 15 Posts and Questions
http://www.mapleprimes.com/products/Maple/Maple 15
en-us2017 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemWed, 22 Feb 2017 13:09:22 GMTWed, 22 Feb 2017 13:09:22 GMTMaple 15 Questions and Posts on MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Maple 15 Posts and Questions
http://www.mapleprimes.com/products/Maple/Maple 15
Defining and Plotting Functions in Maple
http://www.mapleprimes.com/questions/221248-Defining-And-Plotting-Functions-In-Maple?ref=Feed:MaplePrimes:Version Maple 15
<p>hello,</p>
<p>Given f(x)=2x^2-4x, how do I define and plot the functions f(x), 2f(x), 4f(x), -f(x) and -4f(x) in maple 15?</p>
<p>Thank You.</p>
<p> </p>
<p>hello,</p>
<p>Given f(x)=2x^2-4x, how do I define and plot the functions f(x), 2f(x), 4f(x), -f(x) and -4f(x) in maple 15?</p>
<p>Thank You.</p>
<p> </p>
221248Tue, 21 Feb 2017 20:51:24 Zchris1ischris1isThe distance from the point to the surface
http://www.mapleprimes.com/posts/207906-The-Distance-From-The-Point-To-The-Surface-?ref=Feed:MaplePrimes:Version Maple 15
<p>The distance from the point to the surface easily calculated using the <strong>NLPSolve</strong> of <strong>Optimization</strong> package. If the point is not special, we will find for it a point on the surface, the distance between these two points is the shortest between the selected point and the surface.<br>
Two examples: the implicit surface and the parametric surface.<br>
To test, we restore the normals from the calculated points (red) by using analytical equations.<br>
<a href="/view.aspx?sf=207906_post/DISTANCE_TO_SURFACE.mw">DISTANCE_TO_SURFACE.mw</a><img src="/view.aspx?sf=207906_post/distance_surface_1.jpg"><img src="/view.aspx?sf=207906_post/distance_surface_2.jpg"></p>
<p>The distance from the point to the surface easily calculated using the <strong>NLPSolve</strong> of <strong>Optimization</strong> package. If the point is not special, we will find for it a point on the surface, the distance between these two points is the shortest between the selected point and the surface.<br>
Two examples: the implicit surface and the parametric surface.<br>
To test, we restore the normals from the calculated points (red) by using analytical equations.<br>
<a href="/view.aspx?sf=207906_post/DISTANCE_TO_SURFACE.mw">DISTANCE_TO_SURFACE.mw</a><img src="/view.aspx?sf=207906_post/distance_surface_1.jpg"><img src="/view.aspx?sf=207906_post/distance_surface_2.jpg"></p>
207906Sun, 19 Feb 2017 08:17:51 Zone manone manplotting a second derivative graph
http://www.mapleprimes.com/questions/221213-Plotting-A-Second-Derivative-Graph-?ref=Feed:MaplePrimes:Version Maple 15
<p>I can't seem to plot the second derivative graph for f'' versus y. Is it possible to use the fdiff command twice in a line?</p>
<p>Open to all opinions. Any help would be greatly appreciated :)</p>
<p><a href="/view.aspx?sf=221213_question/fyp3.mw">fyp3.mw</a></p>
<p>I can't seem to plot the second derivative graph for f'' versus y. Is it possible to use the fdiff command twice in a line?</p>
<p>Open to all opinions. Any help would be greatly appreciated :)</p>
<p><a href="/view.aspx?sf=221213_question/fyp3.mw">fyp3.mw</a></p>
221213Thu, 16 Feb 2017 17:15:19 Zktan025ktan025Rolling without slipping on a non-orientable surface
http://www.mapleprimes.com/posts/207879-Rolling-Without-Slipping-On-A-Nonorientable?ref=Feed:MaplePrimes:Version Maple 15
<p>The Mobius strip <a href="/view.aspx?sf=207879_post/Mobius_strip_rolling.mw">Mobius_strip_rolling.mw</a></p>
<p><img src="/view.aspx?sf=207879_post/MobiusStrip.gif"></p>
<p>The line and the curve on the surface.</p>
<p><img src="/view.aspx?sf=207879_post/MobiusStripLine.gif"></p>
<p><img src="/view.aspx?sf=207879_post/MobiusStrip_Line.gif"></p>
<p> </p>
<p>The Mobius strip <a href="/view.aspx?sf=207879_post/Mobius_strip_rolling.mw">Mobius_strip_rolling.mw</a></p>
<p><img src="/view.aspx?sf=207879_post/MobiusStrip.gif"></p>
<p>The line and the curve on the surface.</p>
<p><img src="/view.aspx?sf=207879_post/MobiusStripLine.gif"></p>
<p><img src="/view.aspx?sf=207879_post/MobiusStrip_Line.gif"></p>
<p> </p>
207879Tue, 07 Feb 2017 12:57:30 Zone manone manHow do I solve a system with more equations than variables in Maple?
http://www.mapleprimes.com/questions/221050-How-Do-I-Solve-A-System-With-More-Equations?ref=Feed:MaplePrimes:Version Maple 15
<p>Hi everyone.</p>
<p>I'm using Maple 15 to try to give random values to a matrix with some columns fixed, the problem is that it has to be unitary, so I managed to create a system of equations (with 36 linear equations and 24 variables) which should give me the information i require.</p>
<p>I have been trying with fsolve, etc. but i haven't been able to solve it yet, as I usually get the error: "Error, (in fsolve) number of equations, 36, does not match number of variables, 24"</p>
<p>Is there any way to find out which equations are neccesary and get rid of the rest of them? Or can Maple give ramdon values to some of the variables and calculate the others?</p>
<p>Thanks in advantage!</p>
<p>Hi everyone.</p>
<p>I'm using Maple 15 to try to give random values to a matrix with some columns fixed, the problem is that it has to be unitary, so I managed to create a system of equations (with 36 linear equations and 24 variables) which should give me the information i require.</p>
<p>I have been trying with fsolve, etc. but i haven't been able to solve it yet, as I usually get the error: "Error, (in fsolve) number of equations, 36, does not match number of variables, 24"</p>
<p>Is there any way to find out which equations are neccesary and get rid of the rest of them? Or can Maple give ramdon values to some of the variables and calculate the others?</p>
<p>Thanks in advantage!</p>
221050Fri, 03 Feb 2017 01:02:53 ZMapledoubtsMapledoubtsConvert Peano curve into a function
http://www.mapleprimes.com/questions/220980-Convert-Peano-Curve-Into-A-Function?ref=Feed:MaplePrimes:Version Maple 15
<p>Hi!</p>
<p>I have seen th following procedure to compute the image of the points of [0,1] under the so called Peano space-filling curve (sorry, I have to pasted the code in "text plane" mode):</p>
<p>P[0] := (x, y) -> ((1/3)*y, (1/3)*x);</p>
<p>P[1] := (x, y) -> (-(1/3)*x+1/3, (1/3)*y+1/3); </p>
<p>P[2] := (x, y) -> ((1/3)*x, (1/3)*y+2/3); </p>
<p>P[3] := (x, y) -> ((1/3)*x+1/3, -(1/3)*y+1);</p>
<p>P[4] := (x, y) -> (2/3-(1/3)*y, 2/3-(1/3)*x); </p>
<p>P[5] := (x, y) -> ( (1/3)*x+1/3, 1/3-(1/3)*y));</p>
<p> P[6] := (x, y) -> (1/3)*x+2/3, (1/3)*y);</p>
<p>P[7] := (x, y) -> (-(1/3)*x+1, (1/3)*y+1/3);</p>
<p>P[8] := (x, y) -> ((1/3)*x+2/3, (1/3)*y+2/3);</p>
<p>peano := proc (t::numeric, depth::integer)</p>
<p>local q, r; global P;</p>
<p>if depth = 0 then return 0, 0 end if;</p>
<p>q := floor(9*t); r := 9*t-q;</p>
<p>return P[q](peano(r, depth-1))</p>
<p>end proc;</p>
<p> </p>
<p>Now, I need to use the procedure "peanofun" as a function. For instance, if we define f:=(x,y)->x+y, I need to use (plot, compute, etc) for instance, the function f(peanofun(t,5))</p>
<p>Can you help me with this issue, please?</p>
<p>Many thanks for your time!</p>
<p> </p>
<p> </p>
<p>Hi!</p>
<p>I have seen th following procedure to compute the image of the points of [0,1] under the so called Peano space-filling curve (sorry, I have to pasted the code in "text plane" mode):</p>
<p>P[0] := (x, y) -> ((1/3)*y, (1/3)*x);</p>
<p>P[1] := (x, y) -> (-(1/3)*x+1/3, (1/3)*y+1/3); </p>
<p>P[2] := (x, y) -> ((1/3)*x, (1/3)*y+2/3); </p>
<p>P[3] := (x, y) -> ((1/3)*x+1/3, -(1/3)*y+1);</p>
<p>P[4] := (x, y) -> (2/3-(1/3)*y, 2/3-(1/3)*x); </p>
<p>P[5] := (x, y) -> ( (1/3)*x+1/3, 1/3-(1/3)*y));</p>
<p> P[6] := (x, y) -> (1/3)*x+2/3, (1/3)*y);</p>
<p>P[7] := (x, y) -> (-(1/3)*x+1, (1/3)*y+1/3);</p>
<p>P[8] := (x, y) -> ((1/3)*x+2/3, (1/3)*y+2/3);</p>
<p>peano := proc (t::numeric, depth::integer)</p>
<p>local q, r; global P;</p>
<p>if depth = 0 then return 0, 0 end if;</p>
<p>q := floor(9*t); r := 9*t-q;</p>
<p>return P[q](peano(r, depth-1))</p>
<p>end proc;</p>
<p> </p>
<p>Now, I need to use the procedure "peanofun" as a function. For instance, if we define f:=(x,y)->x+y, I need to use (plot, compute, etc) for instance, the function f(peanofun(t,5))</p>
<p>Can you help me with this issue, please?</p>
<p>Many thanks for your time!</p>
<p> </p>
<p> </p>
220980Thu, 26 Jan 2017 22:26:52 Z