Answer:
=IF( B7 = 12, ( IF( B10 = 10,"YES", "")), 7) and PRESS ENTER
Explanation:
the above logical if function checks the following
-IF cell B7 is 12, if true, check the value of cell B10, IF cell B10 contains 10 the function should produce YES as output to whatever cell selected, IF B10 is not 10 output of the function should be an empty string, IF B7 is not equal to 12 the the output of the function should be 7.
Answer 1 :
if Iris had approached Henry, it might had become a personal matter rather than professional. Following the proper protocol is the best way to report in any organization.
Answer 2 :
Yes, Gladys should call the legal authorities. Federal Trade Commission (FTC) is the best agency to file a complaint prevention of corruption within a company.
Answer 3 :
Yes, she should have followed her chain of command because that is one of the many questions that an investigator will ask is if she reported it to her supervisor and human resources. Somehow in companies they use that term when it is somewhat of a legal issue. Internally if she knew the IT director and the security office she could have gone to them along with human resources. Outside I would say start with her local police department and they may have directed her to the proper channel.
Answer 4 :
What Henry did was not ethical even in the slightest. He used the flash drive without permission from the company, he knew he shouldn’t have, but he did it anyway. It is acted in a complete ethical way. If Iris had left this in a coffee station and forgot about it, then it would have been unethical behavior because she knew about it but didn’t whistle blow. There are security laws that get violated in this issue which is why it is unethical and troublesome.
Answer:
import math
tolerance=0.00001
approximation=1.0
x = float(input("Enter a positive number: "))
def newton(number,approximation):
approximation=(approximation+number/approximation)/2
difference_value =abs(number-approximation**2)
if difference_value<= tolerance:
return approximation
else:
return newton(number,approximation)
print("The approximation of program = ", newton(x, approximation))
print("The approximation of Python = ", math.sqrt(x))
Explanation:
- Create a recursive function called newton that calls itself again and again to approximate square root for the newton technique.
- Apply the formulas to find the estimate value and the difference value
.
- Check whether the difference_value is less than the tolerance value and then return the value of approximation else make a recursive call to the newton function by passing the user input and the new approximation value
.
- Finally display all the results using the print statement.
Answer:
def max_magnitude(user_val1, user_val2):
if abs(user_val1) > abs(user_val2):
return user_val1
else:
return user_val2
if __name__ == '__main__':
n1 = int(input("Enter the first integer number: "))
n2 = int(input("Enter the second integer number: "))
print("The largest magnitude value of", n1, "and", n2, "is", max_magnitude(n1, n2))
Explanation:
Answer:
i hope the program below will help you!
Explanation: