Answer:
Explanation:
t1 = 1000 F = 1460 R
t0 = 80 F = 540 R
T2 = 3600 R
The working substance has an available energy in reference to the 80F source of:
B1 = Q1 * (1 - T0 / T1)
B1 = 100 * (1 - 540 / 1460) = 63 BTU
The available energy of the heat from the heat wource at 3600 R is
B2 = Q1 * (1 - T0 / T2)
B2 = 100 * (1 - 540 / 3600) = 85 BTU
The reduction of available energy between the source and the 1460 R temperature is:
B3 = B2 - B1 = 85 - 63 = 22 BTU
Answer:
you have to think then go scratch and then calculate and the design
Explanation:
Answer:
Jordan has more green paints
Explanation:
Given
Required
Which paint does he have more?
For better understanding, it's better to convert both measurements to decimal.
For the green paint:
For the blue paint:
By comparison:
<em>This means that Jordan has more green paints</em>
Answer:
Purchase cost= 87056
Bar module cost= 292725
Explanation:
solution is attached below
Answer:
Complete question is:
write the following decorators and apply them to a single function (applying multiple decorators to a single function):
1. The first decorator is called strong and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <strong> and </strong> to the argument of the decorator. The return value of the wrapper should look like: return “<strong>” + func() + “</strong>”
2. The decorator will return the wrapper per usual.
3. The second decorator is called emphasis and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <em> and </em> to the argument of the decorator similar to step 1. The return value of the wrapper should look like: return “<em>” + func() + “</em>.
4. Use the greetings() function in problem 1 as the decorated function that simply prints “Hello”.
5. Apply both decorators (by @ operator to greetings()).
6. Invoke the greetings() function and capture the result.
Code :
def strong_decorator(func):
def func_wrapper(name):
return "<strong>{0}</strong>".format(func(name))
return func_wrapper
def em_decorator(func):
def func_wrapper(name):
return "<em>{0}</em>".format(func(name))
return func_wrapper
@strong_decorator
@em_decorator
def Greetings(name):
return "{0}".format(name)
print(Greetings("Hello"))
Explanation: