Aske Mikkelsen

5 Reputation

One Badge

12 years, 48 days

MaplePrimes Activity


These are questions asked by Aske Mikkelsen

Hi
I have my question makes any sense. I am from Denmark and not used to write math in english.

I have an characteristic matrix with an variable λ that takes on differen values.

How do I write λ in the matrix so Maple knows that when I call out a row with the variable λ in it and asssign

λ to a specific value, Maple changes λ to the specific value.

 

Example (I was thinking something like this):

A:=Matrix(2,2,[(1-λ_i),2,3,(4-λ_i)])

λ_1:=2

λ_2:=4

A[1],λ_1               (1-2) 2

A[1],λ_2               (1-4) 2

A[2],λ_1               3 (4-2)

A[2],λ_2               3 (4-4)

I know this has to be an easy on, but I simply cannot figure out how to calculate the probability of a dice roll or a card pick. I want to calculate the probability of rolling four sixes in a row, or picking three kings in a pack of playing cards. I know how to to the math by hand, but I want maple to calculate it for me. 
I've tried google my problem, but with no useful results (they were all a lot more advanced then what I could figure out). I'm guessing it's because...

Page 1 of 1