summaryrefslogtreecommitdiff
path: root/3630/CH21
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH21')
-rw-r--r--3630/CH21/EX21.1/Ex21_1.sce5
-rw-r--r--3630/CH21/EX21.2/Ex21_2.sce6
-rw-r--r--3630/CH21/EX21.3/Ex21_3.sce5
-rw-r--r--3630/CH21/EX21.4/Ex21_4.sce5
-rw-r--r--3630/CH21/EX21.5/Ex21_5.sce5
5 files changed, 26 insertions, 0 deletions
diff --git a/3630/CH21/EX21.1/Ex21_1.sce b/3630/CH21/EX21.1/Ex21_1.sce
new file mode 100644
index 000000000..69d2153c1
--- /dev/null
+++ b/3630/CH21/EX21.1/Ex21_1.sce
@@ -0,0 +1,5 @@
+clc;
+Vout=0.000010;
+Vin=5;
+linein=Vout/Vin;
+disp('uV/V',linein*1000000,"linein=");//The answers vary due to round off error
diff --git a/3630/CH21/EX21.2/Ex21_2.sce b/3630/CH21/EX21.2/Ex21_2.sce
new file mode 100644
index 000000000..67ee50a7d
--- /dev/null
+++ b/3630/CH21/EX21.2/Ex21_2.sce
@@ -0,0 +1,6 @@
+clc;
+vnl=5;
+vfl=4.9998;
+Il=0.020;
+loadre=(vnl-vfl)/Il;
+disp('uA/mA',loadre*100,"loadre=");//The answers vary due to round off error
diff --git a/3630/CH21/EX21.3/Ex21_3.sce b/3630/CH21/EX21.3/Ex21_3.sce
new file mode 100644
index 000000000..993646aef
--- /dev/null
+++ b/3630/CH21/EX21.3/Ex21_3.sce
@@ -0,0 +1,5 @@
+clc;
+Vout=8;
+Vd=40;
+Vin=Vout+Vd;
+disp('V',Vin,"Vin=");//The answers vary due to round off error
diff --git a/3630/CH21/EX21.4/Ex21_4.sce b/3630/CH21/EX21.4/Ex21_4.sce
new file mode 100644
index 000000000..7d5ae945e
--- /dev/null
+++ b/3630/CH21/EX21.4/Ex21_4.sce
@@ -0,0 +1,5 @@
+clc;
+R2=2400;
+R1=240;
+Vdc=(1.25)*((R2/R1)+1);
+disp('V',Vdc,"Vdc=");//The answers vary due to round off error
diff --git a/3630/CH21/EX21.5/Ex21_5.sce b/3630/CH21/EX21.5/Ex21_5.sce
new file mode 100644
index 000000000..2baff131b
--- /dev/null
+++ b/3630/CH21/EX21.5/Ex21_5.sce
@@ -0,0 +1,5 @@
+Ton=0.000005;
+Toff=0.000010;
+Vin=24;
+Vave=Vin*(Ton/(Ton+Toff));
+disp('V',Vave,"Vave=");//The answers vary due to round off error