brian bovril

889 Reputation

16 Badges

18 years, 302 days

MaplePrimes Activity


These are questions asked by brian bovril

my_sol.mw

Leonhard is playing a casino game. He places his bet and then rolls a
pair of dice: if the dice sum to 7, 8 or 9 then Leonhard wins the amount of his
bet, and otherwise Leonhard loses his money. Leonhard begins with $100 and
decides to bet $50 at time, until he has either won $100 or has gone broke. What
are the chances that Leonhard leaves the casino a winner?

My soln doesn't agree with the stated answer..25/74

team-iterator.mw
sample.xls

Howdy

I'm trying to import data from this spreadsheet into this program authored by C.Love.http://www.mapleprimes.com/questions/200480-Product-Grouping

Both files are in the same directory. it imports the data (to some degree), but has problems with order, when decimal points are introducing, also duplicates . see my annotations on the mw file.

 

 

product.mw

Experts, I pose a question:

Separate the numbers 3,4,5,6,7,8,28,30,35 into three groups of three numbers each, so that the
product of the numbers in each group is equal.

The idea is to select numbers where the variance between the 3 groups is minimized.

my attempt doesn't get the anwer directly, there must be a better approach

eq1:=
(1/4)*D^2*Pi-(1/4)*D^2*arccos((-D+2*h)/D)-(1/2)*sqrt(h)*sqrt(D-h)*D+h^(3/2)*sqrt
(D-h);
                          
eq2 :=
-(1/2)*sqrt(h)*sqrt(D-h)*D+h^(3/2)*sqrt(D-h)+(1/4)*D^2*arcsin((-D+2*h)/D)+(1/8)*
D^2*Pi;

These equations are the same. yet simplify(eq1-eq2,trig);
<>0
The Mathematica COMMAND FullSimplify[..] gets zero.

Suppose I broadcast a game show where every episode there is 5 randomly chosen topics from 8 possible topics (A,B,C….). how can I get maple to do this automatically?

 I thought I could use

  > with(combinat):

> choose([A,B,C,D,E,F,G,H], 5);

of course the output comes out ordered. is there some way to randomize it? or another way? rgds

First 22 23 24 25 26 27 28 Last Page 24 of 34