Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 259 páginas
Examen

Solution Manual for Connecting Discrete Mathematics and Computer Science 1st Edition By David Liben-Nowell

Document preview thumbnail
Vista previa 4 fuera de 259 páginas

Solution Manual for Connecting Discrete Mathematics and Computer Science 1st Edition By David Liben-Nowell

Vista previa del contenido

Solution Manual for Connecting Discrete Mathematics and Computer Science 1st Edition By David Liben-No

, Connecting Discrete Mathematics
and Computer Science

Solution Manual



David Liben-Nowell

,Solution Manual for Connecting Discrete Mathematics and Computer Science 1st Edition By David Liben-
Nowell




Solution Manual for Connecting Discrete Mathematics and Computer Science 1st Edition By David Liben-
Nowell

, 2 Basic Data Types



2.2 Booleans, Numbers, and Arithmetic
2.1 112 and 201

2.2 111 and 201

2.3 18 and 39

2.4 17 and 38

2.5 Yes: there’s no fractional part in either x or y, so when they’re summed then there’s still no fractional part.

2.6 Yes: if we can write x = a and y = c with b ̸= 0 and d ̸= 0, then we can write x + y as ad+cb (and bd ̸= 0 because
b d bd
neither b = 0 nor d = 0).

2.7 No, and here’s a counterexample: π and 1 − π are both irrational numbers, but π + (1 − π) = 1, which is rational.

2.8 6, because ⌊2.5⌋ = 2 and ⌈3.75⌉ = 4 (and 2 + 4 = 6).

2.9 3, because ⌊3.14159⌋ = 3 and ⌈0.87853⌉ = 1 (and 3 · 1 = 3).

2.10 34 = 3 · 3 · 3 · 3 = 81, because ⌊3.14159⌋ = 3 and ⌈3.14159⌉ = 4.

2.11 The functions floor and truncate differ on negative numbers. For any real number x, we have ⌊x⌋ ≤ x—even if x
is negative. That’s not true for truncation. For example, ⌊−3.14159⌋ = −4 but trunc(−3.14159) = −3 .14159 = −3.

2.12 ⌊x + 0.5⌋

2.13 0.1 · ⌊10x + 0.5⌋

2.14 10−k · 10kx + 0.5

2.15 10−k · 10kx

2.16 If x is an integer, then ⌊x⌋ + ⌈x⌉ = 2x; if x isn’t an integer, then ⌊x⌋ + ⌈x⌉ = 2 + 3 for any x in [2, 3]. Thus
⌊x⌋+⌈x⌉
the expression x 2− is equivalent to x − x = 0 for x = 2 or 3 (yielding values 0 and 0), and x − 2.5 for
noninteger x. So the largest possible value for this expression is 0.4999999 · · · , when x = 2.9999999 · · · .

⌊x⌋+⌈x⌉
2.17 By the same logic as in Exercise 2.16, the smallest value of the expression x − 2 is −0.5 + ϵ, which occurs for
x = 2 + ϵ, for arbitrarily small values of ϵ. For example, the value is −0.4999999 when x = 2.00000001.

2.18 ⌊x⌋

2.19 ⌈x⌉


3

Libro relacionado
 image
Editorial: 2022 ISBN: 9781009174749 Edición: Desconocido

Información del documento

Subido en
2 de octubre de 2025
Número de páginas
259
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$21.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
StudyAtlas
3.8
(436)
Vendido
1860
Seguidores
1470
Artículos
7255
Última venta
1 día hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes