155 Reputation

8 Badges

6 years, 202 days

MaplePrimes Activity

These are replies submitted by max125

@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.


Thanks guys, very clever solution.

These are great suggestions.

Useful program.
I would love to learn how to make applets like this for statistical hypothesis testing.

It may be that r_i and theta_j were previously defined.

Check r_i or r__i and theta__j  , seperately on a new line.

1 2 3 4 5 Page 1 of 5