Editing Template:Actual Age
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 23: | Line 23: | ||
:A baby animal becomes a juvenile as soon as its growth exceeds <code>juvenile_age/adult_age</code>. For example, horses have a reported juvenile age of 0.25 and a reported adult age of 0.3333, so they become a juvenile when their growth exceeds <code>0.25/0.3333 = 0.75</code>. From the graph above, or from the equation <code>actual_juvenile_age = (1-1/e^(juvenile_age/adult_age))×adult_age</code>, you can work out that the actual age at which a horse becomes a juvenile is <code>(1-1/e^0.75)×0.3333={{#expr:(1-1/2.7182818^0.75)*0.3333 round 3}}</code>. | :A baby animal becomes a juvenile as soon as its growth exceeds <code>juvenile_age/adult_age</code>. For example, horses have a reported juvenile age of 0.25 and a reported adult age of 0.3333, so they become a juvenile when their growth exceeds <code>0.25/0.3333 = 0.75</code>. From the graph above, or from the equation <code>actual_juvenile_age = (1-1/e^(juvenile_age/adult_age))×adult_age</code>, you can work out that the actual age at which a horse becomes a juvenile is <code>(1-1/e^0.75)×0.3333={{#expr:(1-1/2.7182818^0.75)*0.3333 round 3}}</code>. | ||
===Maths=== | ===Maths=== | ||
− | :<code>with 1 = {sum from | + | :<code>with 1 = {sum from t=1 to actual_ticks_to_adulthood: 1/(adult_age_expressed_in_ticks - t)},<br>actual_ticks_to_adulthood trends to (1-1/e)×adult_age_expressed_in_ticks as adult_age_expressed_in_ticks trends to infinity</code> |
− | :<code>with (juvenile_age/adult_age) = {sum from | + | :<code>with (juvenile_age/adult_age) = {sum from t=1 to actual_ticks_to_juvenile: 1/(adult_age_expressed_in_ticks - t)},<br>actual_ticks_to_juvenile trends to (1-1/e^(juvenile_age/adult_age))×adult_age_expressed_in_ticks as the adult_age_expressed_in_ticks trends to infinity</code> |
==Example uses== | ==Example uses== |