diff options
Diffstat (limited to '2825/CH19/EX19.3')
-rwxr-xr-x | 2825/CH19/EX19.3/Ex19_3.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2825/CH19/EX19.3/Ex19_3.sce b/2825/CH19/EX19.3/Ex19_3.sce new file mode 100755 index 000000000..afea2d2bd --- /dev/null +++ b/2825/CH19/EX19.3/Ex19_3.sce @@ -0,0 +1,9 @@ +//Ex19_3 Pg-958
+clc
+
+a=1
+b=0
+c=1
+dec=a*2^(-1)+b*2^(-2)+c*2^(-3) //decimal output
+disp("The decimal equivqlent of 0.101 is")
+disp(dec)
|