From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2219/CH13/EX13.4/Ex13_4.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2219/CH13/EX13.4/Ex13_4.sce (limited to '2219/CH13/EX13.4') diff --git a/2219/CH13/EX13.4/Ex13_4.sce b/2219/CH13/EX13.4/Ex13_4.sce new file mode 100755 index 000000000..b03ad5193 --- /dev/null +++ b/2219/CH13/EX13.4/Ex13_4.sce @@ -0,0 +1,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); +//------------------------------------------------------------------------------ -- cgit