summaryrefslogtreecommitdiff
path: root/2459/CH26/EX26.1/Ex26_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH26/EX26.1/Ex26_1.sce')
-rw-r--r--2459/CH26/EX26.1/Ex26_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2459/CH26/EX26.1/Ex26_1.sce b/2459/CH26/EX26.1/Ex26_1.sce
new file mode 100644
index 000000000..2aeae6cc9
--- /dev/null
+++ b/2459/CH26/EX26.1/Ex26_1.sce
@@ -0,0 +1,10 @@
+//chapter26
+//example26.1
+//page570
+
+R2=2.4d3 // ohm
+R1=240 // ohm
+
+V_out=1.25*(1+R2/R1)
+
+printf("regulated dc output voltage = %.3f V \n",V_out)