summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.25/Ex2_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '3637/CH2/EX2.25/Ex2_25.sce')
-rw-r--r--3637/CH2/EX2.25/Ex2_25.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3637/CH2/EX2.25/Ex2_25.sce b/3637/CH2/EX2.25/Ex2_25.sce
new file mode 100644
index 000000000..042fedead
--- /dev/null
+++ b/3637/CH2/EX2.25/Ex2_25.sce
@@ -0,0 +1,11 @@
+//problem 25 pagenumber 2.108
+//given
+format(7);
+rf1=10e3;//ohm
+vi=1e-2;//volt
+vt=0.0257;//volt
+//determine output voltage
+vi=exp(vi/vt);
+v0=-vi*rf1;
+disp('Output voltage = '+string(v0)+' V');
+