Solved

Caesar murder logic problem

Posted on 2011-03-17
8
681 Views
Last Modified: 2012-05-11
it is a problem of logic concerning who killed Julius Caesar.
I have written the logical sentences and build the truth table, but I cannot find a way to combine all these...

p: Marcus Antonius(says): Cassius or Brutus or both
q: Cassius(says): not me. Marcus Antonius is lying
r: Brutus(says): if I did it, then the other two are guilty also.

m: Marcus Antonius is guilty
c: Cassius is guilty
b: Brutus is guilty

A guilty person always lies.
A non-guilty person always tells the truth

p: c OR b OR (c AND b)
q: c’ AND m (because a guilty always lies)
r: b => (c AND m)

 
0
Comment
Question by:dimi67
8 Comments
 
LVL 4

Expert Comment

by:sgvill
ID: 35161012
not sure about the truth table, but... if marcus antonious did it, his statement being a lie and the other two being true is consistant.
0
 
LVL 84

Expert Comment

by:ozo
ID: 35162527
Cassius being guilty is also consistent.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 35162720
So here's the main truth table. For the left three T means guilty. For the right three T means told the truth.
M	C	B	C v B	C' ^ p'	B' v (C ^ M)
T	T	T	T	F	T
T	T	F	T	F	T
T	F	T	T	F	F
T	F	F	F	T	T
F	T	T	T	F	F
F	T	F	T	F	T
F	F	T	T	F	F
F	F	F	F	T	T

Open in new window

But if anyone is guilty, then they must be lying and the innocent are truthful so we can blank out all the rows where there are two Ts or two Fs in someone's columns.
					
M	C	B	C v B	C' ^ p'	B' v (C ^ M)
T	T	T		F	
T	T	F		F	T
T	F	T			F
T	F	F	F	T	T
F	T	T	T	F	F
F	T	F	T	F	T
F	F	T	T		F
F	F	F		T	T

Open in new window

This leaves three valid possible scenarios
M did it
C and B did it
C did it
All three (and only these three) satisfy all the given conditions.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:dimi67
ID: 35167724
I understand the hole concept, but what is the answer?
We have only 1 answer, or not?
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 35167791
The way you have defined the problem yields three possible answers. If the question implies there is one answer, then please check to make sure you haven't missed anything. If you look at the three scenarios I listed, all of them work given the criteria in your original post.
So there are three possible answers.
0
 

Author Comment

by:dimi67
ID: 35172743
There is one more sentence: only one of the persons is telling the truth, so, at line 5, Brutus is guilty, and what he says is false, so this is the solution...
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 35172913
I see. If only one is telling the truth, then there must be two guilty ones. So it's C and B (which is line 7 in the second table).
0
 

Author Comment

by:dimi67
ID: 35173118
yes, at line 7...thank you...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question