(1.15) Let p, q, and r be the propositions
p : Grizzly bears have been seen in the area.
q : Hiking is safe on the trail.
r : Berries are ripe along the trail
Write below using propositions logic
c) “If berries are ripe along the trail, hiking is safe if and only if grizzly bears have not been seen in the area” is written as ((r->q)<->-p becoz -> has higher precedence then <->
e)” 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” is written as ((q->(-r^-p)^-((-r^-p)->q))
verify this