MaplePrimes - Newest Questions and Posts
http://www.mapleprimes.com
en-us2015 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemSun, 29 Nov 2015 01:36:21 GMTSun, 29 Nov 2015 01:36:21 GMTThe latest questions and posts added to MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Newest Questions and Posts
http://www.mapleprimes.com
How do I check a group in Maple?
http://www.mapleprimes.com/questions/207305-How-Do-I-Check-A-Group-In-Maple?ref=Feed:MaplePrimes:New Questions & Posts
<p><span><span class="hps">Hello</span><span>, I am</span> <span class="hps">beginner</span> <span class="hps">with Maple 18</span><span>,</span> <span class="hps">started</span> <span class="hps">recently,</span> <span class="hps">so I have</span> <span class="hps">some silly</span> <span class="hps">questions</span><span>.</span> <span class="hps">I'm training</span> <span class="hps">the</span> <span class="hps">algebra</span> <span class="hps">study in</span> <span class="hps">Maple</span> <span class="hps">and got</span> <span class="hps">a list of exercises</span> <span class="hps">on the Internet</span><span>,</span> <span class="hps">where</span> <span class="hps">they were asked</span> <span class="hps">to</span> <span class="hps">Prove</span> <span class="hps">it</span> <span class="hps atn">{</span><span>5,</span> <span class="hps">15, 25</span><span>, 45,</span> <span class="hps">55, 65</span><span>}</span> <span class="hps">is a group</span> <span class="hps">with</span> <span class="hps">mod</span> <span class="hps">multiplication operation</span> <span class="hps">90.</span> <span class="hps">If so, </span><span class="hps">calculate the</span> <span class="hps">identity</span> <span class="hps">element</span> <span class="hps">and</span> <span class="hps">inverse of</span> <span class="hps">any element.</span></span> </p>
<p><span><span class="hps"><a href="/view.aspx?sf=207305_question/group.mw">group.mw</a></span></span></p><p><span lang="en"><span class="hps">Hello</span><span>, I am</span> <span class="hps">beginner</span> <span class="hps">with Maple 18</span><span>,</span> <span class="hps">started</span> <span class="hps">recently,</span> <span class="hps">so I have</span> <span class="hps">some silly</span> <span class="hps">questions</span><span>.</span> <span class="hps">I'm training</span> <span class="hps">the</span> <span class="hps">algebra</span> <span class="hps">study in</span> <span class="hps">Maple</span> <span class="hps">and got</span> <span class="hps">a list of exercises</span> <span class="hps">on the Internet</span><span>,</span> <span class="hps">where</span> <span class="hps">they were asked</span> <span class="hps">to</span> <span class="hps">Prove</span> <span class="hps">it</span> <span class="hps atn">{</span><span>5,</span> <span class="hps">15, 25</span><span>, 45,</span> <span class="hps">55, 65</span><span>}</span> <span class="hps">is a group</span> <span class="hps">with</span> <span class="hps">mod</span> <span class="hps">multiplication operation</span> <span class="hps">90.</span> <span class="hps">If so, </span><span class="hps">calculate the</span> <span class="hps">identity</span> <span class="hps">element</span> <span class="hps">and</span> <span class="hps">inverse of</span> <span class="hps">any element.</span></span> </p>
<div id="gt-res-content" class="almost_half_cell">
<div style="zoom: 1;" dir="ltr"><span id="result_box" lang="en"><span><span id="result_box" lang="en"><span>I tried to solve</span> <span class="hps">simply and</span> <span class="hps">easily using</span> <span class="hps">the type command</span> <span class="hps">(attached)</span><span>,</span> <span class="hps">but</span> <span class="hps">does</span></span></span></span><span id="result_box" lang="en"><span><span id="result_box" lang="en"><span class="hps">n't.</span> <span class="hps">Not appear</span> <span class="hps">any</span> <span class="hps">error</span><span>,</span> <span class="hps">but results in</span> <span class="hps atn">false (</span><span>and it's true</span><span>)</span><span>.</span> <span class="hps">So</span> <span class="hps">I think you're</span> <span class="hps">missing something,</span> <span class="hps">but I can't</span> <span class="hps">see</span> <span class="hps">what.</span> <span class="hps">I would like to</span> <span class="hps">continue</span> <span class="hps">using</span> <span class="hps">this command</span><span>, can anyone give</span> <span class="hps">me a hint</span> <span class="hps">on how to improve</span><span>?</span> <span class="hps">Thank you!</span></span></span></span></div>
</div>
<p><span id="result_box" lang="en"><span class="hps"><a href="/view.aspx?sf=207305_question/group.mw">group.mw</a></span></span></p>207305Sat, 28 Nov 2015 19:52:19 ZMariaLMariaLError when fitting function to data
http://www.mapleprimes.com/questions/207303-Error-When--Fitting--Function-To-Data?ref=Feed:MaplePrimes:New Questions & Posts
<p>Dear Maple users</p>
<p>Physical experiment: I dropped a ball with low mass from a height of approximately 7 meters and wanted to test if the air resistance was proportional to the square of the velocity. I filmed the fall and used the program Logger Pro to collect data: a number of datapoints (time,height) was collected. I copy/pasted the datapoints into MS Excel, from where I could import data into Maple via <em>Tools > Assistants > Import Data ...</em> Then I wanted to make a fit with the theoretical solution, given by a function having just one parameter: the Drag coefficient. Unfortunately I received an error "complex values encountered" (see below). I can solve the problem manual by making a number of guesses for the drag coefficient, until the theoretical curve approximates the data points well. I wanted to make Maple do the fitting job, though. I will appreciate if someone could give an idea how to fit the data properly.</p>
<p>NB! Mass m and g is defined above in the Maple document. The Statistics and plots package is called too.</p>
<p><img src="/view.aspx?sf=207303_question/mapleprimes_fall.png" alt="" width="567" height="384"></p><p>Dear Maple users</p>
<p>Physical experiment: I dropped a ball with low mass from a height of approximately 7 meters and wanted to test if the air resistance was proportional to the square of the velocity. I filmed the fall and used the program Logger Pro to collect data: a number of datapoints (time,height) was collected. I copy/pasted the datapoints into MS Excel, from where I could import data into Maple via <em>Tools > Assistants > Import Data ...</em> Then I wanted to make a fit with the theoretical solution, given by a function having just one parameter: the Drag coefficient. Unfortunately I received an error "complex values encountered" (see below). I can solve the problem manual by making a number of guesses for the drag coefficient, until the theoretical curve approximates the data points well. I wanted to make Maple do the fitting job, though. I will appreciate if someone could give an idea how to fit the data properly.</p>
<p>NB! Mass m and g is defined above in the Maple document. The Statistics and plots package is called too.</p>
<p><img src="/view.aspx?sf=207303_question/mapleprimes_fall.png" alt="" width="567" height="384"></p>207303Sat, 28 Nov 2015 16:45:38 Zerik10erik10How to find that derivative?
http://www.mapleprimes.com/questions/207289-How-To-Find-That-Derivative--?ref=Feed:MaplePrimes:New Questions & Posts
<p>Suppose we have a differential equation that it's order is 2. For example</p>
<p>diff(x(t), t, t)+(1000*(x(t)^2-1))*(diff(x(t), t))+x(t) = 0,</p>
<p>and we want to solve it numerically. When we use some initial values and dsolve it, the maple solves it very quickly. We can plot each new equations of x(t) without any problem respect of "<strong>t</strong>" or else.</p>
<p>But when we want to show the variation of "<strong>diff(x(t), t, t)</strong>" respect of "<strong>t</strong>" (when our derivation order is equal or upper than our differential equation order) our answer is <strong>0</strong> however <strong>dx(t)/dt</strong> is not <strong>0</strong> or <strong>constant</strong>!</p>
<p>What's happen here?</p>
<p>I tested it with all kind of methods as "rkf45","rosenbrock","lsode" etc. but non of them showed me a correct answer.</p>
<p>How can I solve it correctly?<br> <br> <br> Please help me!</p>
<p> </p><p>Suppose we have a differential equation that it's order is 2. For example</p>
<p>diff(x(t), t, t)+(1000*(x(t)^2-1))*(diff(x(t), t))+x(t) = 0,</p>
<p>and we want to solve it numerically. When we use some initial values and dsolve it, the maple solves it very quickly. We can plot each new equations of x(t) without any problem respect of "<strong>t</strong>" or else.</p>
<p>But when we want to show the variation of "<strong>diff(x(t), t, t)</strong>" respect of "<strong>t</strong>" (when our derivation order is equal or upper than our differential equation order) our answer is <strong>0</strong> however <strong>dx(t)/dt</strong> is not <strong>0</strong> or <strong>constant</strong>!</p>
<p>What's happen here?</p>
<p>I tested it with all kind of methods as "rkf45","rosenbrock","lsode" etc. but non of them showed me a correct answer.</p>
<p>How can I solve it correctly?<br> <br> <br> Please help me!</p>
<p> </p>207289Sat, 28 Nov 2015 07:53:52 Zfm1683fm1683How to solve this equation?
http://www.mapleprimes.com/questions/207277-How-To-Solve-This-Equation?ref=Feed:MaplePrimes:New Questions & Posts
<p>Hi all</p>
<p>How I use "solve" or "fsolve" for this equation ?</p>
<p>M2 := evalf[4](Matrix(4, 4, {(1, 1) = BesselJ(0, 0.5e-1*sqrt(0.1111111111e-16*omega^2-25.00027778)), (1, 2) = -BesselJ(0, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25)), (1, 3) = -BesselY(0, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25)), (1, 4) = 0, (2, 1) = (0.1111111111e-16*I)*omega*(1-25000000000000/omega^2)*BesselJ(1, 0.5e-1*sqrt(0.1111111111e-16*omega^2-25.00027778))/sqrt(0.1111111111e-16*omega^2-25.00027778), (2, 2) = -(0.4444444444e-16*I)*BesselJ(1, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (2, 3) = (0.4444444444e-16*I)*BesselY(1, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (2, 4) = 0, (3, 1) = 0, (3, 2) = BesselJ(0, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25)), (3, 3) = BesselY(0, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25)), (3, 4) = -BesselY(0, 0.60e-1*sqrt(0.1111111111e-16*omega^2-25)), (4, 1) = 0, (4, 2) = (0.4444444444e-16*I)*BesselJ(1, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (4, 3) = (0.4444444444e-16*I)*BesselY(1, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (4, 4) = -(0.1111111111e-16*I)*omega*BesselY(1, 0.60e-1*sqrt(0.1111111111e-16*omega^2-25))/sqrt(0.1111111111e-16*omega^2-25)})):</p>
<p><br>with(LinearAlgebra):<br>DETM2 := Determinant(M2):<br>solve(DETM2 = 0, omega);</p>
<p><br>Error, (in solve) cannot solve for an unknown function with other operations in its arguments<br><br></p>
<p>Is this Error because of combination of bessel functions? if I use asymptatic forms, does it work?</p>
<p>Thanks</p><p>Hi all</p>
<p>How I use "solve" or "fsolve" for this equation ?</p>
<p>M2 := evalf[4](Matrix(4, 4, {(1, 1) = BesselJ(0, 0.5e-1*sqrt(0.1111111111e-16*omega^2-25.00027778)), (1, 2) = -BesselJ(0, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25)), (1, 3) = -BesselY(0, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25)), (1, 4) = 0, (2, 1) = (0.1111111111e-16*I)*omega*(1-25000000000000/omega^2)*BesselJ(1, 0.5e-1*sqrt(0.1111111111e-16*omega^2-25.00027778))/sqrt(0.1111111111e-16*omega^2-25.00027778), (2, 2) = -(0.4444444444e-16*I)*BesselJ(1, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (2, 3) = (0.4444444444e-16*I)*BesselY(1, 0.5e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (2, 4) = 0, (3, 1) = 0, (3, 2) = BesselJ(0, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25)), (3, 3) = BesselY(0, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25)), (3, 4) = -BesselY(0, 0.60e-1*sqrt(0.1111111111e-16*omega^2-25)), (4, 1) = 0, (4, 2) = (0.4444444444e-16*I)*BesselJ(1, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (4, 3) = (0.4444444444e-16*I)*BesselY(1, 0.60e-1*sqrt(0.4444444445e-16*omega^2-25))/sqrt(0.4444444445e-16*omega^2-25), (4, 4) = -(0.1111111111e-16*I)*omega*BesselY(1, 0.60e-1*sqrt(0.1111111111e-16*omega^2-25))/sqrt(0.1111111111e-16*omega^2-25)})):</p>
<p><br>with(LinearAlgebra):<br>DETM2 := Determinant(M2):<br>solve(DETM2 = 0, omega);</p>
<p><br>Error, (in solve) cannot solve for an unknown function with other operations in its arguments<br><br></p>
<p>Is this Error because of combination of bessel functions? if I use asymptatic forms, does it work?</p>
<p>Thanks</p>207277Sat, 28 Nov 2015 03:08:08 Zdorna01dorna01Plot of solution of ODE
http://www.mapleprimes.com/questions/207276-Plot-Of-Solution-Of-ODE?ref=Feed:MaplePrimes:New Questions & Posts
<p>Dear all;</p>
<p>Thanks in advance for helping me to plot the solution of this second order ode.</p>
<p> </p>
<p>with(plots):<br>ode := diff(y(x), x, x) = x*y(x)+x^(17/12);<br>ics := y(1000) = 0, y(1001) = 1;<br> dsolve({ics,ode}):<br><br></p>
<p>How can I plot the solution obtained in the range (1000, 1001).</p>
<p>Thanks</p><p>Dear all;</p>
<p>Thanks in advance for helping me to plot the solution of this second order ode.</p>
<p> </p>
<p>with(plots):<br>ode := diff(y(x), x, x) = x*y(x)+x^(17/12);<br>ics := y(1000) = 0, y(1001) = 1;<br> dsolve({ics,ode}):<br><br></p>
<p>How can I plot the solution obtained in the range (1000, 1001).</p>
<p>Thanks</p>207276Sat, 28 Nov 2015 00:55:23 Zsarrasarra Nonintersecting random cylinders
http://www.mapleprimes.com/questions/207275--Nonintersecting-Random-Cylinders-?ref=Feed:MaplePrimes:New Questions & Posts
<p><br>How to produce such a plot with Maple?<br><img src="http://i.stack.imgur.com/IuuLc.png" alt="enter image description here"><br><br>The difficulty is that the geom3d package does not include a command for a cylinder whereas <br>the plottools package has the cylinder command, but does not have a tool to determine whether<br>two random cylinders intersect.</p><p><br>How to produce such a plot with Maple?<br><img src="http://i.stack.imgur.com/IuuLc.png" alt="enter image description here"><br><br>The difficulty is that the geom3d package does not include a command for a cylinder whereas <br>the plottools package has the cylinder command, but does not have a tool to determine whether<br>two random cylinders intersect.</p>207275Fri, 27 Nov 2015 21:05:35 ZMarkiyan HirnykMarkiyan Hirnyk