Песочница/Pok: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) Нет описания правки Метки: с мобильного устройства из мобильной версии через расширенный мобильный режим |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
{{# | {{#vardefine:explosiveRadius| | ||
{{#ifexpr: | |||
{{{totalIntensity|200}}} <= {{#expr: 3.141592653589793 / 3 * ({{{maxIntensity|60}}}^3) / ({{{intensitySlope|30}}}^2) }} | |||
| | |||
<!-- если {{{totalIntensity|200}}} <= v0 --> | |||
{{#expr: (3 * {{{totalIntensity|200}}} / ({{{intensitySlope|30}}} * 3.141592653589793))^(1/3) }} | |||
| | |||
<!-- иначе: усечённый конус --> | |||
{{#expr: ({{{maxIntensity|60}}} / {{{intensitySlope|30}}}) * ( sqrt( 12 * {{{totalIntensity|200}}} / (3.141592653589793 / 3 * ({{{maxIntensity|60}}}^3) / ({{{intensitySlope|30}}}^2)) - 3 ) / 6 + 0.5 ) }} | |||
}} | |||
}} | }} | ||
{{#vardefine:explosiveIntensity|{{#expr: {{{intensitySlope|30}}} * {{#var:explosiveRadius}} }}}} | |||
{{#var:explosiveIntensity}} | |||
Версия от 13:45, 4 апреля 2026
55.600832688912