Answer:
0.00650 Ib s /ft^2
Explanation:
diameter ( D ) = 0.71 inches = 0.0591 ft
velocity = 0.90 ft/s ( V )
fluid specific gravity = 0.96 (62.4 ) ( x )
change in pressure ( P ) = 0 because pressure was constant
viscosity = (change in p - X sin∅ )
/ 32 V
= ( 0 - 0.96( 62.4) sin -90 ) * 0.0591 ^2 / 32 * 0.90
= - 59.904 sin (-90) * 0.0035 / 28.8
= 0.1874 / 28.8
viscosity = 0.00650 Ib s /ft^2
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:
a) 70.29 %
b) 37%
Explanation:
percent reduction can be found from:
PR = 100*(π(do/2)^2-π(df/2)^2)/π(do/2)^2
= 100*(π(11.34/2)^2-π(6.21/2)^2)/π(11.34/2)^2
=70.29 %
percent elongation can be found from:
EL =L_f - Lo/Lo*100
= (73.17 -53.3/53.3)*100
= 37%
Answer:
Integrity: involves maintaining and assuring the accuracy of data over its life-cycle
Explanation:
Confidentiality: This is a CIA triad designed to prevent sensitive information from reaching the wrong people, while making sure that the right people have access to it.
Integrity: This is a CIA triad that involves maintaining the consistency, accuracy, and trustworthiness of data over its entire life cycle.
Availability: This is a CIA triad that involves hardware repairs and maintaining a correctly functioning operating system environment that is free of software conflicts.
Authentication:This is a security control that is used to protect the system with regard to the CIA properties.