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 --- 2825/CH19/EX19.3/Ex19_3.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 2825/CH19/EX19.3/Ex19_3.sce (limited to '2825/CH19/EX19.3') 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) -- cgit