Melissa has invested a huge amount of money into the stock market. She doesn’t trust just anyone to give her advice regarding the buying and selling information. Normally, before she will buy a certain stock, she must get input from three sources. The first source is Adam, a famous stockbroker. The second source is Mary, a self-made millionaire in the stock market, and the third source is Laura, the world-famous psychic. After several months of receiving advice from all three sources, she has come to the following conclusions: I. Buy the stock if Adam and Mary both say yes and Laura says no. II. Buy the stock if Laura and Adam say yes and Mary says no. III. Buy the stock if Laura says yes and Adam or Mary say no. IV. All three sources say yes. V. Don’t buy otherwise. Use the following: A: Advice from Adam (0 for not buy, 1 for buy) B: Advice from Mary (0 for not buy, 1 for buy) C: Advice from Laura (0 for not buy, 1 for buy) X: Melissa decision (0 for not buy, 1 for buy) i. Construct a truth table to implement the logic function telling Melissa when to buy the stock. ii. Write the logic expression (SOP) from the truth table in (i).
Melissa has invested a huge amount of money into the stock market. She doesn’t trust just anyone
to give her advice regarding the buying and selling information. Normally, before she will buy a
certain stock, she must get input from three sources. The first source is Adam, a famous
stockbroker. The second source is Mary, a self-made millionaire in the stock market, and the third
source is Laura, the world-famous psychic. After several months of receiving advice from all three
sources, she has come to the following conclusions:
I. Buy the stock if Adam and Mary both say yes and Laura says no.
II. Buy the stock if Laura and Adam say yes and Mary says no.
III. Buy the stock if Laura says yes and Adam or Mary say no.
IV. All three sources say yes.
V. Don’t buy otherwise.
Use the following:
A: Advice from Adam (0 for not buy, 1 for buy)
B: Advice from Mary (0 for not buy, 1 for buy)
C: Advice from Laura (0 for not buy, 1 for buy)
X: Melissa decision (0 for not buy, 1 for buy)
i. Construct a truth table to implement the logic function telling Melissa when to buy the
stock.
ii. Write the logic expression (SOP) from the truth table in (i).
Step by step
Solved in 2 steps