From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1994/CH3/EX3.1/Example3_1.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1994/CH3/EX3.1/Example3_1.sce (limited to '1994/CH3/EX3.1/Example3_1.sce') diff --git a/1994/CH3/EX3.1/Example3_1.sce b/1994/CH3/EX3.1/Example3_1.sce new file mode 100755 index 000000000..3bd525936 --- /dev/null +++ b/1994/CH3/EX3.1/Example3_1.sce @@ -0,0 +1,15 @@ + +//Chapter-3,Example3_1,pg 3_5 +n=8 +Res1=2^n +Vifs=5.1 +Res2=Vifs/((2^n)-1) +Res=Res2*1000//in mv/LSB +Vi=1.28 +D=Vi/Res2 +str=dec2bin(64) +printf("Resolution\n") +printf("Res2=%.f mv/LSB\n",Res) +printf("digital output voltage \n") +printf("D=%.f LSBs\n",D) + -- cgit