1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kkurt [141]
3 years ago
12

A long corridor has a single light bulb and two doors with light switch at each door.

Engineering
1 answer:
Zigmanuir [339]3 years ago
6 0

Answer:

The answer is below

Explanation:

Let A represent the first switch, B represent the second switch and C represent the bulb. Also, let 0 mean  turned off and 1 mean turned on. Since when both switches are  in the same position, the light is off. This can be represented by the following truth table:

A                    B                       C (output)

0                    0                        0

0                    1                          1

1                     0                         1

1                     1                          0

The logic circuit can be represented by:

C = A'B + AB'

The output (bulb) is on if the switches are at different positions; if the switches are at the same position, the output (bulb) is off. This is an XOR gate. The gate is represented in the diagram attached below.

You might be interested in
Write a modular program that finds the equation, area, and circumference of a circle, given the coordinates of the center of the
Semenov [28]

Answer:

Explanation:

#include <bits/stdc++.h>

#include <iostream>

#include <string>

#include <cmath>

using namespace std;

//this function reads the cooridnates of Center from the user

//parameteres are pointer variables of Cx,Cy

//it does not return anything and stores coordinates at given addresses of Cx,Cy

void readCenter(int *Cx,int *Cy)

{

string cooridnates;

cout << "Enter the x and y cooridnates of the centre of the circle separated by comma: " ;

getline(cin,cooridnates);//reading inputs

//convering string ot integer

string x = cooridnates.substr(0, cooridnates.find(","));

string y = cooridnates.substr(cooridnates.find(",")+1);

*Cx=stoi(x);

*Cy=stoi(y);

}

//this function reads the cooridnates of Point from the user

//parameteres are pointer variables of Px,Py

//it does not return anything and stores coordinates at given addresses of Px,Py

void readPoint(int *Px,int *Py)

{

string cooridnates;

cout << "Enter the x and y cooridnates of a point on the circle separated by comma: " ;

getline(cin,cooridnates);//reading inputs

//convering string ot integer

string x = cooridnates.substr(0, cooridnates.find(","));

string y = cooridnates.substr(cooridnates.find(",")+1);

*Px=stoi(x);

*Py=stoi(y);

}

double findArea(double radius)

{

double pi=acos(-1);

return pi*pow(radius,2);

}

double findCircum(double radius)

{

double pi=acos(-1);

return 2*pi*radius;

}

int main()

{

int Cx,Cy;

int Px,Py;

readCenter(&Px,&Py);

readPoint(&Cx,&Cy);

double radius=sqrt(pow((Px-Cx),2)+pow((Py-Cy),2));

cout<<"The circle has an area of "<<findArea(radius)<<" sqaure units\n";

cout<<"The circle has a Circumference of "<<findCircum(radius)<<" units";

return 0;

}

3 0
3 years ago
At time t the resultant force on a particle, of mass 250kg is (300ti-400tj)N. Initially, the particle is at the origin and is mo
Harlamova29_29 [7]

Answer:

i

Explanation:

4 0
2 years ago
Need Answers Quick!!!! What is the purpose of structural components such as frames, bearings, and mounts? A.) Connect two rotati
elixir [45]

Answer:

D.) Transfer input energy from the power source throughout the machine.

Explanation:

Since the complex abnormalities of energy efficiency is depicted by the autonomy within self-operating machines, the correct answer is D.

3 0
3 years ago
A commuter train traveling at 50 mi/h is 3 mi from a station. The train then decelerates so that its speed is 15 mi/h when it is
jonny [76]

Answer:

a) t = 277.477\,s\,(4.625\min), b) v_{f} = 0\,\frac{mi}{h}, c) a = -0.128\,\frac{ft}{s^{2}}

Explanation:

a) The deceleration experimented by the commuter train in the first 2.5 miles is:

a=\frac{[(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}-[(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}}{2\cdot (2.5\,mi)\cdot (\frac{5280\,ft}{1\,mi} )}

a = -0.185\,\frac{ft}{s^{2}}

The time required to travel is:

t = \frac{(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,fi} )\cdot(\frac{1\,h}{3600\,s} )-(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,fi} )\cdot(\frac{1\,h}{3600\,s} )}{-0.185\,\frac{ft}{s^{2}} }

t = 277.477\,s\,(4.625\min)

b) The commuter train must stop when it reaches the station to receive passengers. Hence, speed of train must be v_{f} = 0\,\frac{mi}{h}.

c) The final constant deceleration is:

a = \frac{(0\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot(\frac{1\,h}{3600\,s} )-(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot(\frac{1\,h}{3600\,s} )}{(2.875\,min)\cdot (\frac{60\,s}{1\,min} )}

a = -0.128\,\frac{ft}{s^{2}}

7 0
3 years ago
In your opinion...
ch4aika [34]

Answer:no

TTHANLS FOR FREE POINTS

Explanation:

8 0
2 years ago
Other questions:
  • A 10-kg block A is released from rest 2 m above the 5-kg plate P, which can slide freely along the smooth vertical guides BC and
    6·1 answer
  • Define a public static method named s2f that takes two String arguments, the name of a file and some text. The method creates th
    5·1 answer
  • The assembly consists of two red brass C83400 copper alloy rods AB and CD of diameter 30 mm, a stainless 304 steel alloy rod EF
    11·1 answer
  • How does a car batteray NOT die?
    13·1 answer
  • The position of a particle moving along a straight line is defined by the relation. s = t^3 – 6t^2 – 15t + 40, where s is expres
    13·1 answer
  • using the following data for july, calculate the cost of goods manufactured: beginning finished goods inventory 150,475. Ending
    5·1 answer
  • Please help been stuck on this for a couple minutes
    5·1 answer
  • This might count as engineering, I'm not sure as this is IT
    8·1 answer
  • Guyss I seriously and urgently need help what are the steps to build a headgear ??​
    5·2 answers
  • What's the best way to find the load capacity of a crane?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!