Answer:
# -*- coding: utf-8 -*-
# Get N from the command line
import sys
N = int(sys.argv[1])
if N > 0: #N is positive
positve = list(range(N,0,-1))
print(positve)
elif N < 0: #N is negative
negative = list(range(N,0,1))
print(negative)
else:
print("Invalid in input")
Explanation:
First, you need to identify if the number entered is positive, negative or none of them, for that we use one if, one elif and one else statement:
- If the number entered (N) is greater than zero (is positive) we print a list in the range N to 0 in steps of minus one, the zero is not printed because the function range by default omits the last value
- If the previous statement was False and the number entered is smaller than zero (is negative) we print a list in the range N to 0 in steps of one, the zero is not printed because the function range by default omits the last value
- Finally, if the two previous events were false print invalid input
Answer:
i believe the law requires you to stop
Answer:
(b) kJ/kg
Explanation:
The ratio of amount of energy required to change the temperature of the substance by certain magnitude and this magnitude of temperature change is known as heat capacity of the substance.
The expression for Heat capacity is:
C=E/ΔT
Where,
C is the Heat capacity
E is the energy absorbed/released
ΔT is the change in temperature
<u>The SI unit of heat capacity is J/K.</u>
(a) Tons represents the unit of mass (1000 kg)
(c) kW represents the unit of power (1000 W)
(d) Btu represents the unit of heat (1055 J)
<u>The units from the options that can be a unit of heat capacity is (b) kJ/kg.</u>
Answer:
The meole fraction of acetone in the outlet liquid is
Explanation:
1.
The schematic diagram to represent this process is shown in the diagram attached below:
2.
the mole fraction of acetone in the outlet liquid is determined as follows:
solute from Basis Gas flow rate
Let the entering mole be : % = 0.012
Let the outlet gas concentration be = 0.1% = 0.001
Thus; the mole fraction of acetone in the outlet liquid is:
The mole fraction of acetone in the outlet liquid is
Drip irrigation
Drip irrigation is one of the most efficient types of irrigation systems. The efficiency of applied and lost water as well as meeting the crop water need ranges from 80% to 90%