I'm studying for an exam and am having a few small problems. I wasn't whether it was best to make a thread for each or post everything in one thread, but in the interest of minimizing clutter I to do the latter.

**1.** *In a high school graduating class of 100 students, 54 students studied math, 69 studied history, and 35 studied both. If one of these students is selected at random, find the probability that the student took history but not math.*
The answers is supposed to be 34/100.

I'm not too sure what I'm looking for. Is this right?

Which would be

Which is obviously wrong.

Looking at the information given. I see that

Which is the right answer but I'm a little confused about it. Looking at it now, it makes sense because you're taking all of the students that took history and removing that section that also took math.

How would one set up the problem using the

and

symbols? That's the part I'm stuck on.

**2.**
Interest centers around the life of a particular electrical component. Let A be the event that the component fails a particular test and B be the event that the component displays strain but does not fail. Event A occurs with a probability 0.20 and event B occurs with a probability 0.35. What is the probability that a component works perfectly well (i.e., neither displays strain nor fails the test).

The answer should be 0.45

Here's what I did.

Obviously the wrong answer. However, I decided to use De Morgan's law as such

If

under De Morgan's law, then why did I get two different answers? Where's my mistake?