diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /401/CH6/EX6.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '401/CH6/EX6.6')
-rwxr-xr-x | 401/CH6/EX6.6/Example6_6.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/401/CH6/EX6.6/Example6_6.sce b/401/CH6/EX6.6/Example6_6.sce new file mode 100755 index 000000000..65e43cf2e --- /dev/null +++ b/401/CH6/EX6.6/Example6_6.sce @@ -0,0 +1,17 @@ +//Example 6.6
+//Program to calculate the external power efficiency of the device
+
+clear;
+clc ;
+close ;
+
+//Given data
+eeta_t=0.18; //*100 percent - TOTAL EFFICIENCY
+Eg=1.43; //eV - ENERGY BAND GAP OF GaAs
+V=2.5; //Volts - APPLIED VOLTAGE
+
+//External power efficiency of the device
+eeta_ep=eeta_t*Eg/V;
+
+//Displaying the Result in Command Window
+printf("\n\n\t External power efficiency of GaAs device is %1.0f percent.",eeta_ep*100);
\ No newline at end of file |