Changes

Jump to navigation Jump to search
176 bytes added ,  00:21, 14 August 2020
→‎Quality Crop Frequency: Adding formula for average price
Line 58: Line 58:  
<code>
 
<code>
 
P(normal) = 1 - P(silver) - P(gold)
 
P(normal) = 1 - P(silver) - P(gold)
 +
</code>
 +
 +
The average price of the crop is the sum of the probabilities, weighted by the relative price of each type of crop:
 +
 +
<code>
 +
1*P(normal) + 1.25*P(silver) + 1.5*P(gold)
 
</code>
 
</code>
 
|}
 
|}

Navigation menu