130 likes | 145 Views
Determine if it is safe to hike on a trail based on the presence of ripe berries and grizzly bear sightings. Analyze the logical statements and construct truth tables.
E N D
Draw a picture of yourself • Click on the envelope with wings to submit
Berries are ripe along the trail, but grizzly bears have not been seen in the area. • p: grizzly bears have been seen in the area • q: hiking is safe on the trail • r: berries are ripe along the trail r and not p
Grizzly bears have not been seen in the area and hiking on the trail is safe, but berries are ripe along the trail. • p: grizzly bears have been seen in the area • q: hiking is safe on the trail • r: berries are ripe along the trail Not p and q and r
If berries are ripe along the trail, hiking is safe if and only if grizzly bears have not been seen in the area • p: grizzly bears have been seen in the area • q: hiking is safe on the trail • r: berries are ripe along the trail R->(p<->q)
It is not safe to hike on the trail, but grizzly bears have not been seen in the area and the berries along the trail are ripe. • p: grizzly bears have been seen in the area • q: hiking is safe on the trail • r: berries are ripe along the trail Not q and not p and r
For hiking on the trail to be safe, it is necessary but not sufficient that berries not be ripe along the trail and for grizzly bears not to have been seen in the area • p: grizzly bears have been seen in the area • q: hiking is safe on the trail • r: berries are ripe along the trail (q->(not r and not p))and not ((not r and not p)->q)
Inclusive or exclusive? • Coffee or tea comes with dinner • A password must have at least three digits or be at least eight characters long. • To take discrete mathematics, you must have taken calculus or a course in computer science. • You can pay using US dollars or euros. e, I, I, either
To get tenure as a professor, it is sufficient to be world-famous. • Rewrite in the form “if p then q” in English. If you are world famous, then you will get tenure as a professor.
It is necessary to walk 8 miles to get to the top of Long’s Peak. • Rewrite in the form “if p then q” in English. If you get to the top of Long’s Peak, then you must have walked 8 miles
Your guarantee is good only if you bought your CD player less than 90 days ago. • Rewrite in the form “if p then q” in English. If your guarantee is good, then you must have bought your CD player less than 90 days ago.
Construct the truth table forp→(¬qvr) TTF->F, all others true