1
Construct truth table for:
| F | F | F | T | T | T | T | F | T | F | T | T | T |
| F | F | T | F | T | F | F | F | T | F | T | T | F |
| F | T | F | T | F | F | T | F | T | T | F | F | F |
| F | T | T | F | F | F | T | T | T | T | F | T | T |
| T | F | F | T | T | T | T | F | F | T | F | F | F |
| T | F | T | F | T | F | F | F | F | T | F | F | F |
| T | T | F | T | F | F | T | F | F | T | F | F | F |
| T | T | T | F | F | F | T | T | F | T | F | T | T |
It is not a tautology but it is satisfiable.
title:
Correct answer.2
a.
| F | F | F | F | F |
| F | F | T | F | F |
| F | T | F | F | F |
| F | T | T | F | F |
| T | F | F | F | F |
| T | F | T | F | F |
| T | T | F | T | F |
| T | T | T | T | T |
| F | F | F | F | F |
| F | F | T | F | F |
| F | T | F | F | F |
| F | T | T | F | F |
| T | F | F | F | F |
| T | F | T | F | F |
| T | T | F | T | F |
| T | T | T | T | T |
Hence they are logically equivalent.
b.
| F | F | F | T |
| F | T | F | T |
| T | F | F | T |
| T | T | T | F |
| F | F | T | T | T |
| F | T | F | T | T |
| T | F | T | F | T |
| T | T | F | F | F |
Hence they are logically equivalent.
3
- There exists a tourist in London that likes the British Museum.
- All tourists in London like the British Museum.
- There does not exist a tourist in London that likes the British Museum.
- There exists a tourist in London that does not like the British Museum.
- Not all tourists in London like the British Museum.
- All tourists in London do not like the British Museum.
4
Let be that has a cat. Let be that has a dog. Let be that has a ferret.
- Both of these are right.
5
Prove by induction that for all positive integers .
Step 1: Test for
Step k: Assume it works for
Step k+1: Test if it holds for
Alternative method:
This is our inductive hypothesis with . Hence since it holds for the base case, and when , then by mathematical induction it works for all positive integers .
6
{
"url":"[FC1 Week 3 SGT.pdf](https://git.is.horse/insert/university/obsidian-notes/-/raw/9d95afcbbdb7a4c77ca9f62b32e35c6f31e269e7/University/Year%201/Semester%201/4CCS1FC1%20Foundations%20of%20Computing%201/Week%203.%20Functions/FC1%20Week%203%20SGT.pdf)",
"page":[2],
"scale":1,
"rect":[70, 180, 200, 460]
}Let , which is a contradiction as must be a positive integer.