CSC104H1 Lecture 18: Decimals

58 views1 pages

Document Summary

; decimal: ten digits 0, 1, 2, 3, 4 9. ; with 6 digits, we can represent 000000 - 999999. ; 1 million is 10 to the power of 6. ; two binary digits (bits) 0 and 1. ; coloumns are powers of 2 instead of powers of 10. > (define power-of-10 n) n: this variable is not defined. > (power 10 n) n: this variable is not defined. 4))))) (apply + (map * (list 7 4 9 8 1) (reverse (list (power-of-10 0) (power-of-10 1) (power-of-10 2) (power-of-10 3) (power-of-10 4))))) power-of-10: this function is not defined. > #b000 #b001 #b010 #b011 #b100 #b101 #b110 #b111.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents