160 Reputation

8 Badges

7 years, 140 days

MaplePrimes Activity

These are replies submitted by max125

@Ronan He has a negative in his square root .

@Carl Love 
I did post this question before.

It was never answered satisfactorily, also if i try to repost it I get a warning
please don't duplicate. That means I have to delete the question?

Speaking of bugs and maple 2020... when I press F1 help multiple times, it stops working.
When use the maple command  ?<command>, it works only one time. Then won't open help again


I see the NULL command in one of your lines. I wonder what it does. This is an amazing code.

Specifically i would love to understand this line
C := coeffs(f(x, y), v, M); seq(`if`(member(op(i, [M]), N, 'j'), op(j, V) = op(i, [C]), NULL), i = 1 .. nops([M]));

@Joe Riel 

I am curious, why does 
" map(`+`, 3, L) "   output  "3 + [1,2,3]" ,  but  " map(`+`, L, 3) " outputs " [4,5,6] ".

On the other hand `*` displays commutativity in the arguments:
i.e.  "map(`*`, 3, L) "  and  " map(`*`, L,3) "  both output  " [3,6,9]"

@acer  I am using windows 10 pro, version 2004. Maple is release 2020.1

Below are some screenshots.




@dharr log10() is a useful command. Does not seem work with other bases, e.g. log2(8) .

@acer Sorry about that. Should I delete this post and repost a new one so that it appears on the right side where it says 'recent questions', or is this considered against etiquette.

@ecterrab Thanks for the file. It worked.

@John Fredsted 

is it possible to improve the code so it posts positive coefficients

expMod(2*x^21 - 3*x^7 + 10*x^3 - 18,17);

to output 14*x^7 + 2*x^4 + 10*x^3 +16

@nm sin^(3) (x) seems like bad notation, since we reserve f ^(n) for the n'th derivative of a function

@Rouben Rostamian  

instantaneous might be stretching it , but it takes about a second

@acer Thanks. And I like how you answered it in two different ways. I feel stupid, I must have missed some key info in the help page.


I checked the student calculus 1 package, it does not have second derivative test.

But I found it with this command:


This is a very useful package.
Thanks i will use this in the future.

@Carl Love 

Why does 'multiplying both sides by the denominator' make rsolve work?

Also I am curious about what the effect of appending "makeproc" does.


I tried to replicate the action using a function.

Without makeproc:

SP:=n->rsolve({S(n)-S(n-1) = 2*S(n)^2/(2*S(n)-1), S(1)=1}, {S(n)}):
>Error, (in rsolve/single) argument 10 in function S(10) is not a name

With makeproc, it works, but then SP(n) doesnt work.

SP:=rsolve({S(n)-S(n-1) = 2*S(n)^2/(2*S(n)-1), S(1)=1}, {S(n)},makeproc):

>Error, (in SP) input must be an integer

Why doesn't SP(n) work?


I simplified S(n)-S(n-1))*(2*S(n)-1)=2*S(n)^2 and solved for S(n).

but strangely

restart: A:=rsolve({S(n)= S(n-1)/(1+2*S(n-1)),S(1)=1}, {S(n)});

restart: A:=rsolve({S(n)*(1+2*S(n-1)) = S(n-1),S(1)=1}, {S(n)});

This appears to be the multiplying by denominator approach.


1 2 3 4 5 Page 1 of 5