06 - Math - 17-Jan-067:18 PM Math EEL 3701 EEL 3701 Menu...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
17-Jan-06—7:18 PM 1 1 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo Math EEL 3701 1 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 Menu • Review of number systems >Binary math >Signed number systems Look into my . .. EEL 3701 2 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 Our decimal ( base 10 or radix 10) number system is positional. Ex: 9437 10 = 9x10 3 + 4x10 2 + 3x10 1 + 7x10 0 We have a total of (R=10) digits, i.e., {0,1,2,3,4,5,6,7,8,9}; where R = radix Similarly for R=2, 8, 16; R=2 1 is called Binary ; R=2 3 is called Octal ; R=2 4 is called Hexadecimal (or Hex ) Thus, for example, 123 10 = 1x10 2 + 2x10 1 + 3x10 0 123 8 = 1x8 2 + 2x8 1 + 3x8 0 or 123 8 = 83 10 123 16 = 1x16 2 + 2x16 1 + 3x16 0 or 123 16 = 291 10 Review of Number Systems
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
17-Jan-06—7:18 PM 2 2 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo Math EEL 3701 3 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 Fractions are also represented positionally as weighted negative powers of the radix or base. Ex: 0.125 10 = 0x10 0 + 1x10 -1 + 2x10 -2 + 5x10 -3 Thus, for example, 0.125 8 = 0x8 0 + 1x8 -1 + 2x8 -2 + 5x8 -3 0.125 16 = 0x16 0 + 1x16 -1 + 2x16 -2 + 5x16 -3 In general, if R>1, any rational number N can be represented in a power series given by: N = (d 4 , d 3 , d 2 , d 1 , d 0 , d -1 , d -2 , d -3 ) R N=d 4 xR 4 + d 3 xR 3 + d 2 xR 2 + d 1 xR 1 +d 0 + d -1 xR -1 + d -2 xR -2 + d -3 xR -3 m = # of digits in the integer part - 1 k =# of digits in the fractional part =# of digits in the fractional part N= d i R i i=-k m Review of Number Systems EEL 3701 4 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 953.78 10 = (d 2 , d 1 , d 0 , d -1 , d -2 ) 10 R=10; m=2; k=2 953.78 10 = 9x10 2 + 5x10 1 + 3x10 0 + 7x10 -1 + 8x10 -2 d i = (9,5,3,7,8) What are: 953.78 10 = _____ 2 953.78 10 = _____ 8 953.78 10 = _____ 16 We’ll get to this later. For R > 10 we need additional symbols, e.g., for R=16 we need 6 additional symbols 0,1,2,3,4,5,6,7,8,9 and A,B,C,D,E,F for 10-15 An 7-segment display LED can represent all 16 symbols. Decimal Numbers
Background image of page 2
17-Jan-06—7:18 PM 3 3 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo Math EEL 3701 5 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 7-Segment LED abc defg A = 111 1101 a b c h GND c a b d e f g abc defg F = ___ ____ 011 1001 • Show 7 Show 7 -segment LED in segment LED in LogicWorks, LogicWorks, “7-Segment Display *” • See also the LogicWorks See also the LogicWorks 4-output device called output device called “Hex Keyboard” • See also the LogicWorks See also the LogicWorks 4-input device called input device called “Hex Display” h EEL 3701 6 University of Florida, EEL 3701 – File 06 © Drs. Schwartz & Arroyo EEL 3701 Example: Let N=50 and R=2. We can use R=2 symbols, i.e., {0,1}.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2011 for the course ECON 2023 taught by Professor Rush during the Spring '08 term at University of Florida.

Page1 / 12

06 - Math - 17-Jan-067:18 PM Math EEL 3701 EEL 3701 Menu...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online