blob: b03ad51932c9d82ceb1a70bbdf7cc3f97ddd55f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Chapter 13 example 4
//------------------------------------------------------------------------------
clc;
clear;
// Given data
UF = 2*10^-4; // unavailability factor
// Calculations
outrage_t = UF*8760; // outrage time in hours per year
// Output
mprintf('Outrage time = %3.3f hours per year',outrage_t);
//------------------------------------------------------------------------------
|