Шаблон:Component/explosive: различия между версиями

Нет описания правки
Нет описания правки
Строка 4: Строка 4:
   |
   |
     <!-- если {{{totalIntensity}}} <= v0 -->
     <!-- если {{{totalIntensity}}} <= v0 -->
     {{#expr: (3 * {{{totalIntensity}}} / ({{{intensitySlope}}} * 3.141592653589793))^(1/3) round 2 }}
     {{#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 ) round 2 }}
     {{#expr: round( ({{{maxIntensity}}} / {{{intensitySlope}}}) * ( sqrt( 12 * {{{totalIntensity}}} / (3.141592653589793 / 3 * ({{{maxIntensity}}}^3) / ({{{intensitySlope}}}^2)) - 3 ) / 6 + 0.5 ) ) }}
   }}
   }}
}}<!--
}}<!--