Шаблон:Component/explosive: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 4: | Строка 4: | ||
| | | | ||
<!-- если {{{totalIntensity}}} <= v0 --> | <!-- если {{{totalIntensity}}} <= v0 --> | ||
{{#expr: (3 * {{{totalIntensity}}} / ({{{intensitySlope}}} * 3.141592653589793))^(1/3) | {{#expr: round( (3 * {{{totalIntensity}}} / ({{{intensitySlope}}} * 3.141592653589793))^(1/3) ) }} | ||
| | | | ||
<!-- иначе: усечённый конус --> | <!-- иначе: усечённый конус --> | ||
{{#expr: ({{{maxIntensity}}} / {{{intensitySlope}}}) * ( sqrt( 12 * {{{totalIntensity}}} / (3.141592653589793 / 3 * ({{{maxIntensity}}}^3) / ({{{intensitySlope}}}^2)) - 3 ) / 6 + 0.5 ) | {{#expr: round( ({{{maxIntensity}}} / {{{intensitySlope}}}) * ( sqrt( 12 * {{{totalIntensity}}} / (3.141592653589793 / 3 * ({{{maxIntensity}}}^3) / ({{{intensitySlope}}}^2)) - 3 ) / 6 + 0.5 ) ) }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||