diff options
Diffstat (limited to '1994/CH2/EX2.2/Example2_2.sce')
-rwxr-xr-x | 1994/CH2/EX2.2/Example2_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1994/CH2/EX2.2/Example2_2.sce b/1994/CH2/EX2.2/Example2_2.sce new file mode 100755 index 000000000..4b417cba0 --- /dev/null +++ b/1994/CH2/EX2.2/Example2_2.sce @@ -0,0 +1,9 @@ +//Chapter-2,Example2_2,pg 2_11
+n=8
+Res1=2^n
+Vofs=2.55//full scale output voltage
+Res2=Vofs/(Res1-1)
+printf("resolution through method-1\n")
+printf("Res1=%.2f \n",Res1)
+printf("resolution through method-2\n")
+printf("Res2=%.2f \n",Res2)
|