Kitonum

21435 Reputation

26 Badges

17 years, 28 days

MaplePrimes Activity


These are replies submitted by Kitonum

@spalinowy   I removed all called packages, including MTM, made restart at the beginning of the worksheet. Now it works.

Model_Maple3.mw

@spalinowy  Put here your system, or the link to the worksheet.

Should be  

MTM:-solve(5*x-3 = 19);

@vv   Very witty and beautiful solution, vote up! 

It's a pity that the symmetry is broken for any even N.

@vv  Problem point is that each line should intersect with each line. Only in this way we get the maximum number of pieces. I do not know whether there is such a turn-symmetric structure if  n>5

@Mac Dude  Of course this is not the completed code, but only the beginning. OP wants to solve the original partial differential equation by difference method and, therefore, replaces each derivative by the corresponding difference quotient.

@jga  It may be helpful for you that your function can be decomposed into partial fractions:

f:=1/(1+q)^4/(1-q^2)^2*q^4*(q^2+1)*(((q^6+q^5-q^4-2*q^3+q+1)^6/q^13+(q^6+q^5-2*q^3-q^2+q+1)^6/q^25)):
convert(f, parfrac);

@mehdibaghaee  To better understand what you have got, execute at the end  a few commands, for example

A;
A(1, 1);
A(1, 1)[1, 1, 1];
A(1, 1)[2, 2, 5];

@mehdibaghaee   I do not see any errors.

@rlopez  Thank you for reminding about  plots:-shadebetween  command. It appears only in Maple 2015 and I just did not know about this.

@mostafajani  For such functions better use  piecewise  command.

restart; 
f := proc(x) if is(x < 0) then x else x^2 end if end proc;
g := piecewise(x<0, x, x^2);

 

Examples of use:

plot('f'(x), x=-1..2);
plot(g(x), x=-1..2);

 

@Rouben Rostamian  Strange but somehow I forgot about  this easiest way.

@tomleslie  I just noticed that the equation of the second circle in the initial post was specified with typos, so my answer and the Tom's one  are different.

@vv  Your procedure works well for polynomials with numerical coefficients, but if a polynomial contains parameters, then the procedure fails, for example
GetCoeff(x^2-a*x+5, x);

                                                    0
 

@vv   Perhaps to avoid this, it suffices to require that  f  be homeomorphic mapping?

First 68 69 70 71 72 73 74 Last Page 70 of 132