From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3682/CH10/EX10.4/Ex10_4.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 3682/CH10/EX10.4/Ex10_4.sce (limited to '3682/CH10/EX10.4') diff --git a/3682/CH10/EX10.4/Ex10_4.sce b/3682/CH10/EX10.4/Ex10_4.sce new file mode 100644 index 000000000..2d8f56861 --- /dev/null +++ b/3682/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,24 @@ +// Exa 10.4 + +clc; +clear; + +// Given data + +// A 16 bit dual slope ADC is specified +n = 16; // 16 bit counter +CR = 4*10^6; // clock rate in Hz +Vimax = 10; // Maximum input voltage +Vomax= -8; // Maximum integrator output voltage +C = 0.1*10^-6; // Capacitor(Farads) + +// Solution + +//Referring Eqn 10.4, 10.5, 10.6, 10.7 given on page no 364 and 365; + +T1 = 2^n/CR; // Time Period +// For the integrator +// dell Vo= (-1/RC)*Vmax*T1; +// Therefore +R = -(Vimax*T1)/(Vomax*C); // Resistor value +printf('The value of resistor R of the integrator is %d kΩ. \n ',round(R/1000)); -- cgit