MaplePrimes - Questions and Posts tagged with coeff
http://www.mapleprimes.com/tags/coeff
en-us2017 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemWed, 26 Jul 2017 08:41:18 GMTWed, 26 Jul 2017 08:41:18 GMTThe most recent questions and posts on MaplePrimes tagged with coeffhttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Questions and Posts tagged with coeff
http://www.mapleprimes.com/tags/coeff
i want to know how to save a a constant of a funcition as a variable
http://www.mapleprimes.com/questions/222059-I-Want-To-Know-How--To-Save-A--A-Constant?ref=Feed:MaplePrimes:Tagged With coeff
<p>i want to know how to save a a constant of a funcition as a variable.</p>
<p>for example:<br>
eq:=x=1-3*t</p>
<p>i want to save 3 as variable<br>
c:=3</p>
<p>i want to know how to save a a constant of a funcition as a variable.</p>
<p>for example:<br />
eq:=x=1-3*t</p>
<p>i want to save 3 as variable<br />
c:=3</p>
222059Tue, 06 Jun 2017 19:45:16 ZscrfrcscrfrcSplitting an equation by its addition terms.
http://www.mapleprimes.com/questions/221501-Splitting-An-Equation-By-Its-Addition-Terms?ref=Feed:MaplePrimes:Tagged With coeff
<p>Hi, I wondered if anyone knows a way to separate out addition (or subtraction) terms in an equation.</p>
<p>For example given eqn1:</p>
<p>eqn1:= (1/2)*p+1+(-4*p^2-p-1)/(3*p^3+7*p^2+2*p+2)</p>
<p>I would like to get the first rational term before the first plus (or minus) sign. In this case it would be (p/2).</p>
<p>This is a trivial example shown above but the real value in this is that I want to customize my own factorizations using the pratial fraction function of Maple. In this case I would not know eqn1 before hand but it would be the solution to some previous factorization and I need just the first term (before the first plus sign).</p>
<p>If anyone knows any tips or tricks that will set me on the right path to doing this it is most appreciated.</p>
<p>Hi, I wondered if anyone knows a way to separate out addition (or subtraction) terms in an equation.</p>
<p>For example given eqn1:</p>
<p>eqn1:= (1/2)*p+1+(-4*p^2-p-1)/(3*p^3+7*p^2+2*p+2)</p>
<p>I would like to get the first rational term before the first plus (or minus) sign. In this case it would be (p/2).</p>
<p>This is a trivial example shown above but the real value in this is that I want to customize my own factorizations using the pratial fraction function of Maple. In this case I would not know eqn1 before hand but it would be the solution to some previous factorization and I need just the first term (before the first plus sign).</p>
<p>If anyone knows any tips or tricks that will set me on the right path to doing this it is most appreciated.</p>
221501Tue, 21 Mar 2017 02:08:16 Zsoftware_csoftware_cAssume products of variables are zero in large set of polynomial equations
http://www.mapleprimes.com/questions/218613-Assume-Products-Of-Variables-Are-Zero?ref=Feed:MaplePrimes:Tagged With coeff
<p>I am interested in the behaviour of a system of equations close to the origin- these equations are quite long, and there are a lot of them so i would like to have commands that i can use to assume products of variables are zero. </p>
<p>here are the first two polynomials:</p>
<p><br>alpha*k[a1]*B[1]^2+(-alpha*k[a1]-alpha*k[a2])*B[2]*B[1]+2*alpha*k[a1]*B[1]*B[11]+alpha*k[a1]*B[12]*B[1]+2*alpha*k[a1]*B[1]*B[211]+alpha*k[a1]*B[221]*B[1]+2*alpha*k[a1]*B[1]*B[2211]+(-alpha*R[b]*k[a1]-k[d1])*B[1]+2*B[11]*k[d1]+B[12]*k[d2]+k[d1]*B[211]+k[d2]*B[221]<br><br>(-alpha*k[a1]-alpha*k[a2])*B[2]*B[1]+alpha*k[a2]*B[2]^2+2*alpha*k[a2]*B[2]*B[22]+alpha*B[2]*B[12]*k[a2]+alpha*k[a2]*B[2]*B[211]+2*alpha*k[a2]*B[2]*B[221]+2*alpha*k[a2]*B[2]*B[2211]+(-alpha*R[b]*k[a2]-k[d2])*B[2]+B[12]*k[d1]+2*B[22]*k[d2]+k[d1]*B[211]+k[d2]*B[221]</p>
<p>the varables are the terms with B and a subsript and everything else is a parameter.</p>
<p>My intuition was to use coeffs but I couldn't get anything helpful</p><p>I am interested in the behaviour of a system of equations close to the origin- these equations are quite long, and there are a lot of them so i would like to have commands that i can use to assume products of variables are zero. </p>
<p>here are the first two polynomials:</p>
<p><br>alpha*k[a1]*B[1]^2+(-alpha*k[a1]-alpha*k[a2])*B[2]*B[1]+2*alpha*k[a1]*B[1]*B[11]+alpha*k[a1]*B[12]*B[1]+2*alpha*k[a1]*B[1]*B[211]+alpha*k[a1]*B[221]*B[1]+2*alpha*k[a1]*B[1]*B[2211]+(-alpha*R[b]*k[a1]-k[d1])*B[1]+2*B[11]*k[d1]+B[12]*k[d2]+k[d1]*B[211]+k[d2]*B[221]<br><br>(-alpha*k[a1]-alpha*k[a2])*B[2]*B[1]+alpha*k[a2]*B[2]^2+2*alpha*k[a2]*B[2]*B[22]+alpha*B[2]*B[12]*k[a2]+alpha*k[a2]*B[2]*B[211]+2*alpha*k[a2]*B[2]*B[221]+2*alpha*k[a2]*B[2]*B[2211]+(-alpha*R[b]*k[a2]-k[d2])*B[2]+B[12]*k[d1]+2*B[22]*k[d2]+k[d1]*B[211]+k[d2]*B[221]</p>
<p>the varables are the terms with B and a subsript and everything else is a parameter.</p>
<p>My intuition was to use coeffs but I couldn't get anything helpful</p>218613Tue, 04 Oct 2016 11:08:49 ZAnnonymouseAnnonymouseCoefficients extraction to form Equations
http://www.mapleprimes.com/questions/218078-Coefficients-Extraction-To-Form-Equations?ref=Feed:MaplePrimes:Tagged With coeff
<p>N := 4;<br>print(`output redirected...`); # input placeholder<br> 4<br>y := sum(A[2*n].cos(2.*n.x), n = 0 .. N);</p>
<p>eq1 := diff(y, `$`(x, 2))+(a+2*q*cos(2*x))*y</p>
<p>eq2 := map(combine, eq1, trig)</p>
<p>for i from 0 to 4 do eq4[i] := coeff(eq2, cos(2*n*x)) end do</p>
<p>From these I want to extract the co-ffficients of cos(0x),cos(2x),cos(4x)..</p>
<p>and form a simultaneous linear equation containg A0,A2,A4</p>
<p>The solution is </p>
<p>aA0+qA2=0</p>
<p>2q*A0+(a-4)*A2+q*A4=0</p>
<p>Can anybody tell me how to do it</p><p>N := 4;<br />print(`output redirected...`); # input placeholder<br /> 4<br />y := sum(A[2*n].cos(2.*n.x), n = 0 .. N);</p>
<p>eq1 := diff(y, `$`(x, 2))+(a+2*q*cos(2*x))*y</p>
<p>eq2 := map(combine, eq1, trig)</p>
<p>for i from 0 to 4 do eq4[i] := coeff(eq2, cos(2*n*x)) end do</p>
<p>From these I want to extract the co-ffficients of cos(0x),cos(2x),cos(4x)..</p>
<p>and form a simultaneous linear equation containg A0,A2,A4</p>
<p>The solution is </p>
<p>aA0+qA2=0</p>
<p>2q*A0+(a-4)*A2+q*A4=0</p>
<p>Can anybody tell me how to do it</p>218078Sat, 24 Sep 2016 08:00:40 ZRajan191Rajan191How to extract symbolic coefficient?
http://www.mapleprimes.com/questions/209926-How-To-Extract-Symbolic-Coefficient?ref=Feed:MaplePrimes:Tagged With coeff
<p>Hi dear Maple masters:</p>
<p>Excuse-me. I have a stupid question to ask: how to extract symbolic coefficient in maple? For example, I would like to get the coefficient before sin(Ωt) and cos(Ωt) in the following equation:</p>
<p>eq := (-Omega^2*a*A[2]-Omega^2*m*B[1]+Omega*A[1]*c[1]+B[1]*k[1])*cos(Omega*t)+(Omega^2*a*B[2]-Omega^2*m*A[1]-Omega*B[1]*c[1]+A[1]*k[1])*sin(Omega*t) = 0;</p>
<p>Thank you in adavance for taking a look, wish you a nice day!</p>
<p>Best regards,</p>
<p>Zihan</p><p>Hi dear Maple masters:</p>
<p>Excuse-me. I have a stupid question to ask: how to extract symbolic coefficient in maple? For example, I would like to get the coefficient before sin(Ωt) and cos(Ωt) in the following equation:</p>
<p>eq := (-Omega^2*a*A[2]-Omega^2*m*B[1]+Omega*A[1]*c[1]+B[1]*k[1])*cos(Omega*t)+(Omega^2*a*B[2]-Omega^2*m*A[1]-Omega*B[1]*c[1]+A[1]*k[1])*sin(Omega*t) = 0;</p>
<p>Thank you in adavance for taking a look, wish you a nice day!</p>
<p>Best regards,</p>
<p>Zihan</p>209926Tue, 01 Mar 2016 13:31:25 ZZihanZihanExtracting coefficients from series
http://www.mapleprimes.com/questions/209470-Extracting-Coefficients-From-Series?ref=Feed:MaplePrimes:Tagged With coeff
<p>I am trying to extract the coefficients of z from its series expansion. In two cases I succeed in finding the coefficients, but in the last one I fail to get the correct coefficients. Some garbage value is obtained. What is the reason behind this? I have attached my maple program.</p>
<p> </p>
<p> </p>
<p><a href="/view.aspx?sf=209470_question/test.mw">test.mw</a></p><p>I am trying to extract the coefficients of z from its series expansion. In two cases I succeed in finding the coefficients, but in the last one I fail to get the correct coefficients. Some garbage value is obtained. What is the reason behind this? I have attached my maple program.</p>
<p> </p>
<p> </p>
<p><a href="/view.aspx?sf=209470_question/test.mw">test.mw</a></p>209470Wed, 17 Feb 2016 05:41:10 Zlitunlitun