Answer:
- TAX_RATE = 0.20
- STANDARD_DEDUCTION = 10000.0
- DEPENDENT_DEDUCTION = 3000.0
-
- # Request the inputs
- grossIncome = float(input("Enter the gross income: "))
- numDependents = int(input("Enter the number of dependents: "))
-
- # Compute the income tax
- taxableIncome = grossIncome - STANDARD_DEDUCTION - \
- DEPENDENT_DEDUCTION * numDependents
- incomeTax = taxableIncome * TAX_RATE
-
- # Display the income tax
- print("The income tax is $" + str(round(incomeTax,2)))
Explanation:
We can use round function to enable the program to output number with two digits of precision.
The round function will take two inputs, which is the value intended to be rounded and the number of digits of precision. If we set 2 as second input, the round function will round the incomeTax to two decimal places. The round function has to be enclosed within the str function so that the rounded value will be converted to a string and joined with the another string to display the complete a sentence of income tax info.
A given system has four sensors that can produce an output of 0 or 1. The system operates proper . An alarm must be raised when two or more sensors have the output of 1. Design the simplest circuit that can be used to raise the alarm ly when exactly one of the sensors has its output equal to Repeat problem #4 for a system that has 7 sensors. Hint: Before you slog through a truth table with 128 rows in it, think about whether SOP or POS might be a better approach.
Answer:
1. 
2. 
Explanation:
1.
Given:
- height of the window pane,

- width of the window pane,

- thickness of the pane,

- thermal conductivity of the glass pane,

- temperature of the inner surface,

- temperature of the outer surface,

<u>According to the Fourier's law the rate of heat transfer is given as:</u>

here:
A = area through which the heat transfer occurs = 
dT = temperature difference across the thickness of the surface = 
dx = t = thickness normal to the surface = 


2.
- air spacing between two glass panes,

- area of each glass pane,

- thermal conductivity of air,

- temperature difference between the surfaces,

<u>Assuming layered transfer of heat through the air and the air between the glasses is always still:</u>



Answer: Option D is not true of hydraulic valves. A hydraulic valve is a device that can change the opening degree of liquid flow path
Explanation:
The pilot check valve allows flow of liquid in one direction and blocks flow in the opposite direction