Предмет: Информатика, автор: nastyapetrenk2410

Помогите, очень срочно!!!!
Сколько различных решении имеет логическое уравнение?
1) (A v B v C) & ( B & C & D) = 1;
2) (A v B v C) v ( B & C & D) = 0;
3) (A -> C) v (B & A) v (D -> B & C) = 0; 4) (A & B & C) -> (C & D) = 1.​

Ответы

Автор ответа: Helper211
20

Ответ: 2, 2, 1, 15

Объяснение:

Поскольку переменных всего четыре, можно составить таблицу всех возможных значений (2^4=16) и рассмотреть задачи наглядно. К решению прилагаются картинки.

Задача 1:

Пусть (A v B v C) - X , ( B & C & D) - Y.

Тогда X & Y = 1. Такое может быть только в одном случае, когда и X и Y равны 1. То есть:

(B&C&D) = 1    И  (A v B v C) = 1

Для выполнения первого условия необходимо, чтобы все три переменных были 1. Из 16 возможных вариантов остается только 2 (обозначены светло-зеленым). В этих двух вариантах второе условие выполняется автоматически (либо A, либо B, либо C - равны 1).

Ответ: 2

Задача 2:

Пусть (A v B v C) - X , ( B & C & D) - Y.

Тогда X v Y = 0. Такое может быть только в одном случае, когда и X и Y равны 0.  То есть:

(B&C&D) = 0    И  (A v B v C) = 0

Рассмотрим второе условие. Для его выполнения необходимо, чтобы A,B и C были равны нулю. Из 16 возможных вариантов остается 2. Первое условие для этих двух вариантов выполняется автоматически (либо B, либо C, либо D - равны 0).

Ответ: 2

Задача 3:

Здесь три скобки, объединенные между собой дизъюнкцией (логическое ИЛИ). Результат равен нулю. То есть ни одна скобка не должна быть равна единице (или все три скобки должны быть равны нулю):

(A -> C) = 0 И  (B & A)=0  И  (D -> B & C)=0

Рассмотрим третье условие:

(D -> B & C) = 0

У конъюнкции (&) приоритет выше, значит, это первое действие. Вторым будет выполняться импликация. Импликация дает ноль только в том случае, когда левое значение (D) равно единице, а правое нулю. Выделим те варианты, когда это выполняется (светло-зеленым): когда D равно единице, а B&C - нулю (то есть когда одно из них равно нулю).

Далее рассмотрим, когда выполняется второе условие (из уже оставшихся 6 вариантов):

(B & A) = 0 (либо B либо A должны быть равны нулю)

Отметим оставшиеся варианты темно-зеленым.

Осталось первое условие:  (A -> C) = 0.

Как мы уже говорили, импликация дает ноль только в том случае, когда левое значение (A) равно единице, а правое (C) - нулю. Оставшийся один вариант отмечен синим.

Ответ: 1

Задача 4:

Пусть (A & B & C) - X, (C & D) - Y. Тогда:

X -> Y = 1

В таблице истинности для импликации только один вариант дает ноль. Следовательно, нужно исключить лишь его. Остальные варианты будут решением. Рассмотрим, сколько решений имеет логическое уравнение X -> Y = 0, затем из всех возможных вариантов (16, поскольку 4 переменных) вычтем найденное количество.

Импликация дает ноль только в том случае, когда левое значение (X) равно единице, а правое нулю.

Перепишем условие:

X = 1   И  Y =0

(A & B & C)  = 1   И  (C & D)  =0

Первое условие выполняется только в том случае, когда A,B и C равны единице. Таких вариантов два (светло-зеленые). Также либо C либо D должны быть равны нулю. Остается один вариант.

Вспомним, что мы решали обратную задачу. Следовательно, итоговый ответ будет: 16-1=15

Ответ: 15

Примечание: решать можно и другими способами, возможно, более простыми. Здесь лишь показан один из путей решения.

Приложения:
Похожие вопросы
Предмет: Английский язык, автор: Аноним
 Выберите правильный ответ:1.Have you got any free time (this week,that week)   to talk about the party? We need to start planning as soon as possible.2.Doctors recommend that we should eat(fishes,fishs,fish)   at least twice a week.3.When I visited South America last year, most of the time I travelled (by a bus,by the bus,by bus)  .4.The toy department is located on (the third fllor,a third floor,third floor) , next to children's clothes.5.I need to buy (the rice,some rice,a rice).   at the supermarket. I'm going to cook supper for some friends this evening.6.'Hello. (This is,It is).  Susannah. Could I speak to Paul, please?'7.I spent ages putting up these (shelf,shelfs,shelves)  , but they're not straight.8.My father gave me( some useful advices,some useful advice,a useful advice) . Don't be afraid to fail – successful people learn from their failures.9.My daughter has just started walking. Have a look at (  this video,that video)  I took on my phone.10.The exhibition of modern art will be held at (The Ashomolean Museum, theAshomolean Museum,the ashomolean museum)    in Oxford.11.I like to listen to( a radio,radio,the radio)   while I'm driving.12.'Which of the designs for the new company logo do you prefer?' '(These ones,these one,this one) .'13.When my brother stood on ( a tube of toothpaste, a tub of toothpaste)  , it made a terrible mess on the floor. My mother was very angry!14.'Have you heard about Miranda? She's just been promoted for the second time this year.' 'Wow!( It's, That's,This is)   amazing! She must be pleased.'15.On average, South Koreans work forty percent more hours each year than ( the Duthes,Dutch,the Dutch)  .16.My brother is so lazy – he never gets up before 10 o'clock (in the morning, at  morning,in morning)  .17.I'm going to Cadiz on holiday so I've been learning (Spanish,spanish)   at an evening class.18.Even though we had tickets for the concert, we had to queue for more than ( an hour,a hour)   to get in.19.(Time,The Time) is the world's largest weekly magazine, with a global circulation of over 25,000,000.20.The news about the economy (is,are)   better than people were expecting.21.Before moving into politics, he spent several years working for (the World Bank, a World Bank,World Bank)   .22.Could I have ( two coffees and tea,two coffee and a tea)  , please?23.'My grandmother had to have( an injection, the injection,injection) of antibiotics when she cut her hand.' 'Was   painful?'24.( Those ticket,These tickets,these ticket) give you access to the museum for the whole weekend, and include lunch in the café.25.I read ( an interesting artice,interesting artice , the interesting artice)  in the paper about social networking.26.When I was at university, things were very different. Nobody had personal computers ( in those days,in that day,in these days)  , so everyone wrote their essays by hand.27.I've always been interested in meeting people from other countries, so I chose ( a university, an university)   with a lot of overseas students.28.Every winter( the elderlies,the eldery,eldery)   receive extra money towards their heating bills.29.After I finished studying at (university,the university)  , I spent a year travelling.30.Research shows that (regular exersise,a regular exersise ,regular exersises)  can dramatically reduce the risk of many serious diseases.31.Have you seen (a film,the film,film)  about the emperor penguins of Antarctica? It won lots of awards.32.Tonight's guest speaker is Professor John Rathbone, who teaches (Business Studies,business studies, the Business Studies)   at Edinburgh University.33.Doctors recommend moderate exercise at least (three times a week,three times week,three times the week) .34.'I hardly slept last night, as I was worrying about my job interview this morning.' 'Poor you! Did (an interview, interview, the interview)  go well?'35.My brother has more than twenty (pair of trousers, trousers,pairs of trousers)but only one jacket!36.During his visit to (school,the school)   this afternoon, the prime minister made a speech about the government's education policy.37.The moon is moving away from the earth at the rate of (three and the half,three and a half ,three and the half) centimetres per year.38.The website has (some useful information, some useful informations,a useful information)    about how to set up your own business.39.Do you like( classical music, the classical music ) ? I've got tickets for a piano concert this evening if you want to come.40.Could I have two of ( those cake,these cake)   over there, please?41.I don't think I'd like to be ( politician,a politician,the politician)  . It must be very stressful.
Предмет: Математика, автор: главныйразроботчик