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,608

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
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 104,193

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.
A number by itself is useful, but it is far more useful to know how accurate or certain that number is.

Offline

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

bob bundy
Moderator
Registered: 2010-06-20
Posts: 7,566

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

Offline

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

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

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
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 104,193

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.
A number by itself is useful, but it is far more useful to know how accurate or certain that number is.

Offline

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

ganesh
Moderator
Registered: 2005-06-28
Posts: 20,895

Re: Random Coins

Hi MathsIsFun,

MathsIsFun wrote:

Also anyone get all the possible ways?

I don't think so!


It is no good to try to stop knowledge from going forward. Ignorance is never better than knowledge - Enrico Fermi. 

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

Offline

Board footer

Powered by FluxBB