Oak Staff

10 Reputation

One Badge

9 years, 122 days

MaplePrimes Activity


These are replies submitted by Oak Staff

@Carl Love I really appriciate the suggestion. Looks like i funally found some reading matirial. Thanks for the help though, really appriciate it.

 

@Carl Love

Thanks for the explanation.

The thing i do not understand is what the individual commands does?

It might be because I'm crap at Maple or that Englsh isn't my first language but I don't understand, what, for an example: proc, Tallys, indieces, nolist and so fourth means.

I'm sorry if you fell like I've wasted your time, I just feel that there is so much potential in maple and it anoys me to the exstreme that I can't figure it out.

 

@Carl Love 

 

This was exactly what I was looking for, thanks alot.

 

Would you care to explain how the porcudure does what it does?

DiceSum:= (S, D::list(list))-> DiceSumRec(S,D) / `*`(nops~(D)[]):

DiceSumRec:= proc(S,D)
option remember;
local k;
     `if`(nops(D)=1, `if`(S in D[1], 1, 0), add(thisproc(S-k, D[2..]), k= D[1]))
end proc:

Me and my Math teacher would be grateful if you would take the time to explain.

 

Now i'm ready to admit i'm not the best with maple, so i couldn't really get any of them to work.

What i want to create is a way for maple to return the percentage chance of rolling a curtain number with a certain amout of dices. I could create it in Excel, but have failed in maple. Have any of you any idea how i should go about this?

Thanks a bunch to the both of you.

Page 1 of 1