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 /196/CH5/EX5.10/example_5_10.sce | |
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 '196/CH5/EX5.10/example_5_10.sce')
-rwxr-xr-x | 196/CH5/EX5.10/example_5_10.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/196/CH5/EX5.10/example_5_10.sce b/196/CH5/EX5.10/example_5_10.sce new file mode 100755 index 000000000..354f8a256 --- /dev/null +++ b/196/CH5/EX5.10/example_5_10.sce @@ -0,0 +1,15 @@ +//Chapter 5
+//Example 5-10
+//ProbOnPhotoDetector
+//Page 134,135, Figure 5-9
+clear;clc;
+//Given
+Rf = 100*10^3 ;//Feedback Resistance
+//example 5-10(a)
+Il1 = 1*10^-6 ; //Load current 1
+Vo1 = Rf * Il1 ; //Output voltage in photo detector
+printf ( "\n\n Output Voltage in photo detector for Il1 = %.4f V ",Vo1 )
+//example 5-10(b)
+Il2 = 50*10^-6 ; // Load current 2
+Vo2 = Rf * Il2 ; //Output Voltage in photo detector
+printf ( "\n\n Output Voltage in photo detector for Il2 = %.4f V ",Vo2 )
\ No newline at end of file |