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.9 | |
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.9')
-rwxr-xr-x | 196/CH5/EX5.9/example_5_9.sce | 15 | ||||
-rwxr-xr-x | 196/CH5/EX5.9/result_5_9.txt | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/196/CH5/EX5.9/example_5_9.sce b/196/CH5/EX5.9/example_5_9.sce new file mode 100755 index 000000000..1e678bcbc --- /dev/null +++ b/196/CH5/EX5.9/example_5_9.sce @@ -0,0 +1,15 @@ +//Chapter 5
+//Example 5-9
+//ProbOnPhotoDetectors
+//Page 134,135, Figure 5-9
+clear;clc;
+//Given
+Rf = 10*10^3 ;//Feedback Resistance
+I = 10*10^-6 ; //Current through Photo Detector
+//example 5-9(a)
+Vo = Rf * I ;//Vo for Dark Condition
+printf ( "\n\n Output Voltage for dark Condition = %.4f V ", Vo )
+//example 5-9(b)
+I1 = 1*10^-3 ; //Current in presence of sunlight
+Vo1 = Rf * I1 ; //output voltage in light condition
+printf ( "\n\n Output voltage in light condition = %.4f V ", Vo1 )
\ No newline at end of file diff --git a/196/CH5/EX5.9/result_5_9.txt b/196/CH5/EX5.9/result_5_9.txt new file mode 100755 index 000000000..ff8857276 --- /dev/null +++ b/196/CH5/EX5.9/result_5_9.txt @@ -0,0 +1,3 @@ + Output Voltage for dark Condition = 0.1000 V
+
+ Output voltage in light condition = 10.0000 V
\ No newline at end of file |