Verified:

Celphi Game profile

Member
EE Patron
6501

Jul 14th 2014, 15:33:49

Can someone explain what this formula means?

3*(max(1,land-750)^1.03)+1500

What is max?

And what mathematical syntax is the comma?
Resistance is futile. You will be assimilated.

Atryn Game profile

Member
2149

Jul 14th 2014, 15:40:43


the comma is not in mathermatical syntax, it is in programming syntax. the max(x,y) function returns the greater of x or y. So max(100,1000) would return 1000.

From an order of operations standpoint, you should evaluate the max function first and then put that result into the formula.

martian Game profile

Game Moderator
Mod Boss
7846

Jul 14th 2014, 15:41:08

I will explain in steps
1. Take the larger of 1 and land-750
2. Raise what you chose in 1 to the power of 1.03
3. Multiply the result by 3
4. Add 1500 to step 3.

I hope that helps:)
max = maximum
max(a,b) means chose the larger of a and b. It's not really part of a mathematical convention like + - are but is generally used in programming. You may see it defined as a function in mathematical texts but the same thing might be illustrated differently.
"," has no mathematical meaning here other than to seperate two elements of a list.. also not consistently used that way in mathematics depending on where you are in the world..
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

mrford Game profile

Member
21,417

Jul 14th 2014, 15:42:29

Context for what that formula is supposed to represent might help aid an explanation as well?

is that the new construction costs formula?

Edited By: mrford on Jul 14th 2014, 15:45:03
See Original Post
Swagger of a Chupacabra

[21:37:01] <&KILLERfluffY> when I was doing FA stuff for sof the person who gave me the longest angry rant was Mr Ford

Requiem

Member
EE Patron
9674

Jul 14th 2014, 16:26:45

Max (val 1, val 2) is a programming syntax not math.
Someone ask Qz / Pang to remove my 10 year ban!

martian Game profile

Game Moderator
Mod Boss
7846

Jul 14th 2014, 16:30:32

well that's where it comes from, but I've seen it used in mathematical texts before. It's common in statistical texts for some reason, but they usually define it first:P
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

Trife Game profile

Member
5817

Jul 14th 2014, 16:52:54

now explain just how in the fluff .999... = 1

plz

it doesn't make cents

save me mari-wan

you're my only hope of passing math class

martian Game profile

Game Moderator
Mod Boss
7846

Jul 14th 2014, 16:56:18

it makes dollars not cents.
and there is no hope for you..
SIGN UP FOR HOME EC NOW!!
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

Trife Game profile

Member
5817

Jul 14th 2014, 17:38:42

Originally posted by martian:
it makes dollars not cents.
and there is no hope for you..
SIGN UP FOR HOME EC NOW!!


0/10 on explanation

failed math class

would not ask math advice again

F-

Requiem

Member
EE Patron
9674

Jul 14th 2014, 19:04:54

Good to know Martian!
Someone ask Qz / Pang to remove my 10 year ban!