diff options
Diffstat (limited to '3637/CH2/EX2.24/Ex2_24.sce')
-rw-r--r-- | 3637/CH2/EX2.24/Ex2_24.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3637/CH2/EX2.24/Ex2_24.sce b/3637/CH2/EX2.24/Ex2_24.sce new file mode 100644 index 000000000..8e0e22d77 --- /dev/null +++ b/3637/CH2/EX2.24/Ex2_24.sce @@ -0,0 +1,11 @@ +//problem 24 pagenumber 2.107
+//given
+format(6);
+k1=1.38e-23;//j/k
+t1=298;//k
+q=1.6e-19;//columb
+vi=10e-3;//volt
+ri=10e3;//ohm
+//determine output voltage
+v0=-(k1*t1/q)*0.4343*log10(vi/ri);
+disp('Output voltage = '+string(v0*10^3)+' mV');
|