Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-03-23 11:49:59

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Random Coins

As promised: Random Coins

Ideas, suggestions, bug reports welcome.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#2 2014-03-23 12:28:17

ShivamS
Member
Registered: 2011-02-07
Posts: 3,648

Re: Random Coins

It works very well! Very nice page to practice making change. Are you planning to make one allowing different combinations other then $1?

Last edited by ShivamS (2014-03-23 12:28:38)

Offline

#3 2014-03-23 15:00:54

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Random Coins

Hi MIF;

Working okay over here. Good work.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#4 2014-03-23 20:54:53

Bob
Administrator
Registered: 2010-06-20
Posts: 10,010

Re: Random Coins

hi MIF,

Works well for me too.  smile

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#5 2014-03-23 21:46:32

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Random Coins

What would be another good target apart from $1?

Also anyone get all the possible ways?


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#6 2014-03-23 21:49:05

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Random Coins

I wrote a small program that gets them all for any set of coins. Doing it the hard way? Nope!


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2014-03-23 23:59:26

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 45,838

Re: Random Coins

Hi MathsIsFun,

MathsIsFun wrote:

Also anyone get all the possible ways?

I don't think so!


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

Board footer

Powered by FluxBB