100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Resumen

Summary Modelling Computing Systems Hoofdstuk 9 Faron Moller & Georg Struth

Puntuación
2.0
(1)
Vendido
-
Páginas
5
Subido en
22-12-2020
Escrito en
2020/2021

Logic for Computer Science / Logica voor computertechnolgie hoofdstuk 9. Samenvatting van het boek Modelling Computing Systems geschreven door Faron Moller en Georg Struth. Samenvatting geschreven in het Engels. Aan de hand van voorbeelden en plaatjes wordt de stof en theorie verduidelijkt. Gegeven op Universiteit Utrecht.

Mostrar más Leer menos
Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Libro relacionado

Escuela, estudio y materia

Institución
Estudio
Grado

Información del documento

¿Un libro?
No
¿Qué capítulos están resumidos?
Hoofdstuk 9
Subido en
22 de diciembre de 2020
Archivo actualizado en
22 de diciembre de 2020
Número de páginas
5
Escrito en
2020/2021
Tipo
Resumen

Temas

Vista previa del contenido

Hoorcollege 10(Hoofdstuk 9):

We can then define a functions over N by induction. For example, we may want to compute the sum
of the first n numbers: 1 + 2 + 3 + … + n. We can do so using an inductive definition:

sum(0) = 0

sum(n + 1) = (n + 1) + sum(n).



Claim: For all n, we can show that sum(n) = n×(n+1) 2 . How to prove this? Let’s check that the
equality holds for the first few numbers:

 if n = 0, we have that sum(0) = 0 = (0×1) / 2 .
 if n = 1, we have that sum(1) = 0 + 1 = 1 = (1×2) / 2 .
 if n = 2, we have that sum(2) = 0 + 1 + 2 = 3 = (2×3) / 2 . But we need proof.

Proof by induction:

We defined the set of natural numbers using the following two clauses:

 0∈N
 for any n ∈ N, the number (n + 1) ∈ N.

To show that some property P holds for all natural numbers, it suffices to show:

 P(0)
 for all n, if we assume that P(n) we need to show that P(n + 1)



Example proof by induction where we will proof the base case and inductive case as well:

Claim: For all n, we can show that sum(n) = n×(n+1) 2 . Proof: We prove this statement by induction
on n.

 if n = 0, we need to show that sum(0) = (0×1) / 2 .
 Suppose that n = k + 1 and that sum(k) = (k×(k+1)) / 2 .

We need to show sum(k + 1) = (k+1)(k+2) / 2 .

Base Case proof: If n = 0, we need to show that sum(0) = (0×1) / 2 . Using the definition of sum, we
know that sum(0) = 0 = (0×1) / 2 as required. This completes the base case.

Inductive case proof: Suppose that that sum(k) = (k×(k+1)) / 2 . We need to show sum(k + 1) = ((k+1)
(k+2)) / 2 :
$3.58
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Reseñas de compradores verificados

Se muestran los comentarios
4 año hace

2.0

1 reseñas

5
0
4
0
3
0
2
1
1
0
Reseñas confiables sobre Stuvia

Todas las reseñas las realizan usuarios reales de Stuvia después de compras verificadas.

Conoce al vendedor

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.
luukvaa Universiteit Utrecht
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
760
Miembro desde
7 año
Número de seguidores
589
Documentos
12
Última venta
1 semana hace

Welkom op mijn stuvia pagina! Kijk gerust rond welke samenvattingen op dit moment op mijn pagina staan. Gedurende elk jaar zullen er weer nieuwe samenvattingen verschijnen, dus neem af en toe een kijkje en klik op het knopje \'\'volgen\". Succes met studeren!

4.0

284 reseñas

5
108
4
102
3
58
2
5
1
11

Recientemente visto por ti

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