From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3740/CH5/EX5.6/Ex5_6.jpg | Bin 0 -> 59983 bytes 3740/CH5/EX5.6/Ex5_6.sce | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 3740/CH5/EX5.6/Ex5_6.jpg create mode 100644 3740/CH5/EX5.6/Ex5_6.sce (limited to '3740/CH5/EX5.6') diff --git a/3740/CH5/EX5.6/Ex5_6.jpg b/3740/CH5/EX5.6/Ex5_6.jpg new file mode 100644 index 000000000..08f45e7f8 Binary files /dev/null and b/3740/CH5/EX5.6/Ex5_6.jpg differ diff --git a/3740/CH5/EX5.6/Ex5_6.sce b/3740/CH5/EX5.6/Ex5_6.sce new file mode 100644 index 000000000..0e1323d84 --- /dev/null +++ b/3740/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,14 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes +//Example 5.6 +//OS=Windows XP sp3 +//Scilab version 5.5.2 +clc; +clear; + +//given +W=5e-3;//Optical output power of laser in W +V=2500;//Operating voltage in V +I=10e-3;//Operating current in A + +eta=W/(V*I);//Overall power efficiency +mprintf("\n Power efficiency = %.2f percent",eta*100);//Multiplying by 100 to convert in percentage -- cgit