MaplePrimes - Maple 16 Posts and Questions
http://www.mapleprimes.com/products/Maple/Maple 16
en-us2015 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemTue, 01 Dec 2015 20:09:09 GMTTue, 01 Dec 2015 20:09:09 GMTMaple 16 Questions and Posts on MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Maple 16 Posts and Questions
http://www.mapleprimes.com/products/Maple/Maple 16
Problem with isolve
http://www.mapleprimes.com/questions/207358-Problem-With-Isolve?ref=Feed:MaplePrimes:Version Maple 16
<p>Hello everyone, <br><br></p>
<p>I have some problems with the "isolve" command on Maple. I am trying to solve for integer a very easy system of equations. When I type the commands</p>
<p> </p>
<p>restart; </p>
<p>n := 2; <br>isolve({sum(a[k], k = 1 .. n)-1 = 1}, d)<br><br><br></p>
<p>I get the expected {a[1] = 2-d, a[2] = d}. However, if I add conditions a[1],a[2] >= 0, that is the commands</p>
<p><br><br>restart; <br>n := 2; <br>isolve({ge(a[1], 0), ge(a[2], 0), sum(a[k], k = 1 .. n)-1 = 1}, d)</p>
<p><br>I get the warning "Warning, solutions may have been lost". What am I doing wrong? Is there a way to get Maple to give me the possible values?</p>
<p> </p>
<p>Thank you in advance,</p>
<p>David</p><p>Hello everyone, <br><br></p>
<p>I have some problems with the "isolve" command on Maple. I am trying to solve for integer a very easy system of equations. When I type the commands</p>
<p> </p>
<p>restart; </p>
<p>n := 2; <br>isolve({sum(a[k], k = 1 .. n)-1 = 1}, d)<br><br><br></p>
<p>I get the expected {a[1] = 2-d, a[2] = d}. However, if I add conditions a[1],a[2] >= 0, that is the commands</p>
<p><br><br>restart; <br>n := 2; <br>isolve({ge(a[1], 0), ge(a[2], 0), sum(a[k], k = 1 .. n)-1 = 1}, d)</p>
<p><br>I get the warning "Warning, solutions may have been lost". What am I doing wrong? Is there a way to get Maple to give me the possible values?</p>
<p> </p>
<p>Thank you in advance,</p>
<p>David</p>207358Tue, 01 Dec 2015 09:04:30 ZBelisaireBelisaireDerivative of functions with constants
http://www.mapleprimes.com/questions/207007-Derivative-Of-Functions-With-Constants?ref=Feed:MaplePrimes:Version Maple 16
<p>Hi everyone. Please excuse me in advance, as I am new on this website and to Maple. <br><br>So I am using Maple 16 and I want it to give me the derivative of a function that has constants in it, for example f(x)=(x-a)(x-b). I wrote the (probably stupid) commands on Maple:</p>
<p>> f(x):=(x-a)(x-b);</p>
<p>> diff(f(x), x);</p>
<p>but the result is not the expected (2x-a-b), but rather (D(x))(x-b)-(D(a))(x-b). What would be the right things to write to get what I need?</p>
<p> </p>
<p>Thank you in advance,</p>
<p>David</p><p>Hi everyone. Please excuse me in advance, as I am new on this website and to Maple. <br /><br />So I am using Maple 16 and I want it to give me the derivative of a function that has constants in it, for example f(x)=(x-a)(x-b). I wrote the (probably stupid) commands on Maple:</p>
<p>> f(x):=(x-a)(x-b);</p>
<p>> diff(f(x), x);</p>
<p>but the result is not the expected (2x-a-b), but rather (D(x))(x-b)-(D(a))(x-b). What would be the right things to write to get what I need?</p>
<p> </p>
<p>Thank you in advance,</p>
<p>David</p>207007Wed, 18 Nov 2015 16:31:38 ZDavidRacicotDavidRacicotHow to map a piecewise?
http://www.mapleprimes.com/questions/206865-How-To-Map-A-Piecewise?ref=Feed:MaplePrimes:Version Maple 16
<p>Hello,</p>
<p>I use a map() command to get the values of function for each element of vector. Here is an example of a simple task:</p>
<p>restart:</p>
<p>A:=[1,2,8];</p>
<p>f1:=x->2*x;<br>f1_table_A:=Vector([map(f1,A)]);<br><br></p>
<p>I would like to do the same with piecewise function but it doesn't work. Here is an example:</p>
<p>restart:<br>with(plots):<br>f:=2*x:<br>g:=x^2:</p>
<p>h:=x->piecewise( 0<=x and x<= 5, f, 5<x and x <= 10, g ) ;<br>A:=[1,2,8]:<br>h_table_A:=map(h,A):<br><br>Is it possible to work with piecewise function? Maybe someone has an idea how to do it in different way?</p>
<p>Kind regards,</p>
<p>Iza</p><p>Hello,</p>
<p>I use a map() command to get the values of function for each element of vector. Here is an example of a simple task:</p>
<p>restart:</p>
<p>A:=[1,2,8];</p>
<p>f1:=x->2*x;<br>f1_table_A:=Vector([map(f1,A)]);<br><br></p>
<p>I would like to do the same with piecewise function but it doesn't work. Here is an example:</p>
<p>restart:<br>with(plots):<br>f:=2*x:<br>g:=x^2:</p>
<p>h:=x->piecewise( 0<=x and x<= 5, f, 5<x and x <= 10, g ) ;<br>A:=[1,2,8]:<br>h_table_A:=map(h,A):<br><br>Is it possible to work with piecewise function? Maybe someone has an idea how to do it in different way?</p>
<p>Kind regards,</p>
<p>Iza</p>206865Thu, 12 Nov 2015 12:52:02 ZIzaIzaProblem with solving equation
http://www.mapleprimes.com/questions/206755-Problem-With-Solving-Equation?ref=Feed:MaplePrimes:Version Maple 16
<p>Hallo,</p>
<p>I am rather a beginner in Maple, so I will be grateful for understanding.</p>
<p>I try to solve the equation with one unknown. To create this equation I firstly had to solve the set of four equations so it is very complicated. Maple is able to create the plot of it but command fsolve is not sufficient to solve it. Here is my procedure:</p>
<p>restart:<br>z1:=H/mg*cosh(mg/H*(x+C11))-C21:<br>z2:=H/mg*cosh(mg/H*(x+C12))-C22:<br>tg_alpha1:=diff(z1,x):<br>tg_alpha2:=diff(z2,x):<br>r1:=H*subs(x=xP,tg_alpha2)-H*subs(x=xP,tg_alpha1)-P:<br>r2:=subs(x=0,z1):<br>r3:=subs(x=l,z2)-h:<br>r4:=subs(x=xP,z1)-subs(x=xP,z2):<br>mg:=2:l:=20:h:=5:xP:=l/5:P:=10:<br>C := solve({r1, r2, r3, r4}, {C11, C12, C21, C22}):<br>s1 := int(sqrt(1+(diff(subs(C, z1), x))^2), x):<br>s2 := int(sqrt(1+(diff(subs(C, z2), x))^2), x):<br>s := subs(x = xP, s1)-subs(x = 0, s1)+s2-subs(x = xP, s2):<br>eq1 := l0-subs(x = l, s):<br>l0 := 40:<br>plot(eq1, H=10 .. 11, colour = red);<br>H := fsolve(eq1 = 0, H = 10.7 .. 10.8);<br><br>I would be grateful for any help and indicating my mistakes.</p>
<p>Thanks</p>
<p>Iza</p><p>Hallo,</p>
<p>I am rather a beginner in Maple, so I will be grateful for understanding.</p>
<p>I try to solve the equation with one unknown. To create this equation I firstly had to solve the set of four equations so it is very complicated. Maple is able to create the plot of it but command fsolve is not sufficient to solve it. Here is my procedure:</p>
<p>restart:<br />z1:=H/mg*cosh(mg/H*(x+C11))-C21:<br />z2:=H/mg*cosh(mg/H*(x+C12))-C22:<br />tg_alpha1:=diff(z1,x):<br />tg_alpha2:=diff(z2,x):<br />r1:=H*subs(x=xP,tg_alpha2)-H*subs(x=xP,tg_alpha1)-P:<br />r2:=subs(x=0,z1):<br />r3:=subs(x=l,z2)-h:<br />r4:=subs(x=xP,z1)-subs(x=xP,z2):<br />mg:=2:l:=20:h:=5:xP:=l/5:P:=10:<br />C := solve({r1, r2, r3, r4}, {C11, C12, C21, C22}):<br />s1 := int(sqrt(1+(diff(subs(C, z1), x))^2), x):<br />s2 := int(sqrt(1+(diff(subs(C, z2), x))^2), x):<br />s := subs(x = xP, s1)-subs(x = 0, s1)+s2-subs(x = xP, s2):<br />eq1 := l0-subs(x = l, s):<br />l0 := 40:<br />plot(eq1, H=10 .. 11, colour = red);<br />H := fsolve(eq1 = 0, H = 10.7 .. 10.8);<br /><br />I would be grateful for any help and indicating my mistakes.</p>
<p>Thanks</p>
<p>Iza</p>206755Fri, 06 Nov 2015 14:19:03 ZIzaIzaTwo problems in calculus
http://www.mapleprimes.com/questions/206360-Two-Problems-In-Calculus?ref=Feed:MaplePrimes:Version Maple 16
206360Thu, 22 Oct 2015 18:09:45 ZMichMacDMichMacDRe-Installing Maple 16
http://www.mapleprimes.com/questions/206335-ReInstalling-Maple-16?ref=Feed:MaplePrimes:Version Maple 16
<p>Hi all,</p>
<p>I had to do a clean install on my computer today. When I went to reinstall Maple, I got a message telling me that my download link wasn't valid. So I tried to get a new download link, but that didn't work either. Does anyone know if I will still be able to download the software without purchasing the latest version? I'm pretty sure my license has not expired.</p>
<p>I'm going to call support tomorrow morning, but I figured I'd ask around here in the meantime. Thanks!</p><p>Hi all,</p>
<p>I had to do a clean install on my computer today. When I went to reinstall Maple, I got a message telling me that my download link wasn't valid. So I tried to get a new download link, but that didn't work either. Does anyone know if I will still be able to download the software without purchasing the latest version? I'm pretty sure my license has not expired.</p>
<p>I'm going to call support tomorrow morning, but I figured I'd ask around here in the meantime. Thanks!</p>206335Thu, 22 Oct 2015 00:22:04 Z