Skip to main content

intensity

Function intensity 

Source
pub fn intensity(power: f64, area: f64) -> Option<f64>
Expand description

Computes intensity from power and area with I = P / A.

Returns watts per square meter.

ยงExamples

use use_radiation::intensity;

assert_eq!(intensity(10.0, 2.0), Some(5.0));