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 --- 911/CH1/EX1.14.b/ex_1_14_b.pdf | Bin 0 -> 111167 bytes 911/CH1/EX1.14.b/ex_1_14_b.sce | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 911/CH1/EX1.14.b/ex_1_14_b.pdf create mode 100644 911/CH1/EX1.14.b/ex_1_14_b.sce (limited to '911/CH1/EX1.14.b') diff --git a/911/CH1/EX1.14.b/ex_1_14_b.pdf b/911/CH1/EX1.14.b/ex_1_14_b.pdf new file mode 100644 index 000000000..5742c8fcc Binary files /dev/null and b/911/CH1/EX1.14.b/ex_1_14_b.pdf differ diff --git a/911/CH1/EX1.14.b/ex_1_14_b.sce b/911/CH1/EX1.14.b/ex_1_14_b.sce new file mode 100644 index 000000000..b2b472b47 --- /dev/null +++ b/911/CH1/EX1.14.b/ex_1_14_b.sce @@ -0,0 +1,15 @@ +//example 1.14.b// +clc +//clears the screen// +clear +//clears all existing variables// +a=110010100011.01110101 +//for integral part// +//put decimal equivalents of 1100(12), 1010(10) and 0011(3)// +//subtract 3 for excess 3 so, 9(12-3), 7(10-3) and 0(3-3)// +i=970 +//for fractional part// +//put decimal equivalents of 0111(7) and 0101(5)// +//subtract 3 for excess 3 so, 4(7-3), 2(5-3)// +f=42 +disp('970.42','decimal equivalent of excess 3 number 110010100011.01110101 =') \ No newline at end of file -- cgit