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:
Answer:
<em> - 14.943 W/m^2K ( negative sign indicates cooling ) </em>
Explanation:
Given data:
Area of FPC = 4 m^2
temp of water = 60°C
flow rate = 0.06 l/s
ambient temperature = 8°C
exit temperature = 49°C
<u>Calculate the overall heat loss coefficient </u>
Note : heat lost by water = heat loss through convection
m*Cp*dT = h*A * ( T - To )
∴ dT / T - To = h*A / m*Cp ( integrate the relation )
In (
) = h* 4 / ( 0.06 * 10^-3 * 1000 * 4180 )
In ( 41 / 52 ) = 0.0159*h
hence h = - 0.2376 / 0.0159
= - 14.943 W/m^2K ( heat loss coefficient )
It is to be noted that it is impossible to find the Maclaurin Expansion for F(x) = cotx.
<h3>What is
Maclaurin Expansion?</h3>
The Maclaurin Expansion is a Taylor series that has been expanded around the reference point zero and has the formula f(x)=f(0)+f′. (0) 1! x+f″ (0) 2! x2+⋯+f[n](0)n!
<h3>
What is the explanation for the above?</h3>
as indicated above, the Maclaurin infinite series expansion is given as:
F(x)=f(0)+f′. (0) 1! x+f″ (0) 2! x2+⋯+f[n](0)n!
If F(0) = Cot 0
F(0) = ∝ = 1/0
This is not definitive,
Hence, it is impossible to find the Maclaurin infinite series expansion for F(x) = cotx.
Learn more about Maclaurin Expansion at;
brainly.com/question/7846182
#SPJ1
Answer:
The answer is "828.75"
Explanation:
Please find the correct question:
For W21x93 BEAM,

For A992 STREL,

Check for complete section:

Design the strength of beam =

Answer:
C = 0.22857 ng / m³
Explanation:
Let's solve this problem for part the total time in the kitchen is
t = 2h (60 min / 1h) = 120 min
The concentration (C) quantity of benzol pyrene is the initial quantity plus the quantity generated per area minus the quantity eliminated by the air flow. The amount removed can be calculated assuming that an amount of extra air that must be filled with the pollutant
amount generated
C = co + time_generation rate / (area_house + area_flow)
C = 0.2 + 0.01 120 / (40+ 2)
C = 0.22857 ng / m³