brian bovril

769 Reputation

16 Badges

13 years, 346 days

MaplePrimes Activity


These are questions asked by brian bovril

Hi

This Carl Code evaluates fine

MySumP:= (j::integer)->
    seq(combinat:-numbcomb((j+10),(i+10))*p^(j+i)*(1-p)^(j+i), i= 0..0);
:[MySumP(10)]


[184756*p^10*(1 - p)^10]

But what I would like is whats inside the numbcomb argument to be displayed.

i tried

MySumP:= (j::integer)->
    seq(combinat:-numbcomb(``(j+10),``(i+10))*p^(j+i)*(1-p)^(j+i), i= 0..0)
:

[MySumP(10)]

What i would like displayed: numbbomb(20,10)*p^10*(1-p)^10 or (better) C(20,10)*p^10*(1-p)^10

@Carl Love
@acer
Hi. 

This Carl code works

standings_DRAW.mw

Could someone please make my modified code work:

(Case D should be the same as P-Q=0 , when integer score P,Q is entered and P=Q)

standings_SCORE.mw

EDIT: corrected and reuploaded: should have been if P-Q <> 0 rather than P-Q=0. changes in purple.

(ps I don't want a substitution D when P-Q=0)

Hi

When I try to substitute a value for j, it doesn't evaluate.

add.mw

ode.mw

I found an assignment question concerning an ODE from 20 years ago. This was before I had discovered Maple.

So I put it through Maple and got a complex solution, But the lecturer's solution was non-imaginary.

For a) gamma <> Beta and b) gamma = beta.

Actually for b) I couldn't follow his solution

 

 

This is a simple model of the covid infection as it applies here, down under, without the use of any de's like

https://www.mapleprimes.com/posts/212100-Exploring-The-CoVid19-Outbreak

I'm told a substantial number of people do recover within 45 days ....
So on the 45th day 1 person has recovered, on day 50 two people have recovered and so on.

Just want to know how to write this sequence...

Covid_dbling.mw

1 2 3 4 5 6 7 Last Page 1 of 31