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

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