2120 active members
  266 are online

Year

20

Day

21

Time

09:50:03

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Message CentreRPG CentreQuestion Centre
Archives » Time equation for construction...
Year 14 Day 71 10:46
Tik Nkik

Looking at the equation below, what is the "max" represent

((Material Sum) / 48) * (1 - (Management Skill/50)) Quantity of NPCs * max(1.1 - Civ Level, 0.5) * Random

Link to formula


Year 14 Day 71 11:41
Kendall Holm

its an statistics evaluation. It compare two or more variables and chooses the highest value. So in your case the first variable is equal to 1.1 - Civ Level and the second variable is 0.5


____________

SWC3dsUser.png
Year 14 Day 71 16:44
Tik Nkik

Thanks for that clarity Kendall.
Now another question...looking at the original formula via the link, is the "Quantity of NPCs" an Exponent, seeing that it is superscript?


Year 14 Day 71 17:36
Kendall Holm

yes, and make sure you observe the order of operations


____________

SWC3dsUser.png
Year 14 Day 71 20:28
Tik Nkik

I love the order of op's!
Thank for the time.