Matematic geni?

Here comes a difficult thing that solve

My youngest daughter has got in chore that muse on a program that can figure out
rates on a magazine.

If a newspaper have A-4 size shall the program be able to figure out how much each
ad must cost in order to get together a certain amount.

Example:

The newspaper acquires 5000 USD in order to cover the expensive,
then you shall be able to put in 5000 USD and the program shall figure out
how much each ad shall cost.

Example on adsformat of a A-4

1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/12

The cost must vary between the size on the ad

And the thing is that you don´t know how many of ads, in for example
1/6 size there is, you have to have some fields to put in a number an
then the program could count it out.

Huuuu, this is way ower my head, but i know there is some matematic
geni on this forum to make this in Flash ( MX ? )

Thanks dudes
Pleas excuse the bad English:bounce:

What’s your question when it comes to Flash?
A-4 is a paper format used for printing about 5 1/2 x 8 1/2 english style.
1/1 - $5000
1/2 - $2500
1/3 - $1667
1/4 - $1250
1/5 - $1000
1/6 - $833
1/8 - $625
1/10 - $500
1/12 - $417

So, basically,…What?!?

Hi !

Thanks for the nice answer???!!

Basiclly a matematic “thing” that can calcylate different
amount of subtotal dollars…

I knowh this is tricky, but as i say a matematic “thing” in
Flash could be the answer.

Do you get it ?

Thanks

I’m sorry, but, no, I don’t understand.