Math Is Fun Forum

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

You are not logged in.

#1 2011-01-06 16:40:05

arulphd
Member
Registered: 2011-01-06
Posts: 1

I need a formula that has to produce a constant number by adding 3 ran

Dear friends,

I need your kind help  please. My question is as follows.

I need a formula that has to produce a constant number by adding 3 random variables numbers.

eample:

  Say the constant number is 300.

three random variables are 100, 100, 100

there fore by adding three random variables ,i will get my constant number 300.

ii nd  combination say 75 ,  125, 100  by adding it give constant number 300.

Like this, i wish to generate a different combination of 3 variables that has to produce the constant of 300 with a single  formula.

  I am early waiting for your kind reply .

with regards
Lux

Offline

#2 2011-01-06 16:49:40

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

Re: I need a formula that has to produce a constant number by adding 3 ran

Hi arulphd;

Welcome to the forum! There are one or two do nothing formulas to do that. But why would you always want to output the same constant?


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

#3 2011-01-07 00:41:28

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

Re: I need a formula that has to produce a constant number by adding 3 ran

Hi arulphd,

You cannot have all three numbers random as you are specifying they must add up to 300. 

How will you generate the two random values?

Let's say you have a function, RANDOM, available to you from a computer or calculator or a set of tables; then

a = RANDOM
b = RANDOM
c = 300 - a - b

will give you the required numbers.

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

Board footer

Powered by FluxBB