Following problems are from the Island of Knights and Knaves, I need help in solving it.
a. Suppose you come across two of the inhabitants. You ask both of them whether the other one is a knight. Will you get the same answer in each case?
b. There are three natives A, B and C. Suppose A says ‘B and C are the same type.’ What can be inferred about the number of knights?
c. What question should you ask A to determine whether B is a knight? Justify your question using the construction given above.
d. What question should you ask A to determine whether A and B are the same type? Justify your question using the construction given above.
e. Person A says ‘If B is a knave, I am a knave.’ Determine what can be deduced about A and B.
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210 (2 * 3 * 5 * 7) or 2310 (2 * 3 * 5 * 7 * 11).
The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.