Answer:
n=5
Explanation:
if n= 5
i. n/5=5/5=1 so it divides completely the remainder is 0
ii. 97 - 6(5) = 97 - 30 = 67, 67 is a prime number.
Answer:
Procurement
Explanation:
Characteristics hardware lifecycle:
- Procurement- Acquiring new IT hardware assets involves evaluating vendors, purchase orders, receiving, and device labeling.
- Deployment - Hardware configuration and installment, placing hardware and software assets into production environments.
- Maintenance & Support - Management of assets include scheduling scans and getting audit history.
- Upgrade - Before you retire your IT hardware assets, you’ll reach a processing plateau that can be restored with hardware upgrades.
Answer:
- def driving_cost(driven_miles, miles_per_gallon, dollars_per_gallon):
- gallon_used = driven_miles / miles_per_gallon
- cost = gallon_used * dollars_per_gallon
- return cost
-
- miles_per_gallon = float(input("Input miles per gallon: "))
- dollars_per_gallon = float(input("Input dollar per gallon: "))
-
- cost1 = driving_cost(10, miles_per_gallon, dollars_per_gallon)
- cost2 = driving_cost(50, miles_per_gallon, dollars_per_gallon)
- cost3 = driving_cost(400, miles_per_gallon, dollars_per_gallon)
-
- print("$ %.2f" % cost1)
- print("$ %.2f" % cost2)
- print("$ %.2f" % cost3)
Explanation:
The solution is written in Python 3.
Firstly, create a function driving_cost that takes three parameters, driven_miles, miles_per_gallon and dollars_per_gallon (Line 1). In the function, calculate the gallon consumption by applying formula driven_miles / miles_per_gallon and then use it to calculate the cost (Line 2 - 3). Return the cost as output (Line 4).
In the main program, prompt user to input miles per gallon and dollars per gallon and then use these input values as arguments to call the function driving_cost function for three times with each time with different driven_miles value (Line 6 - 11).
At last, use formatted print to display the output to two decimal points (Line 13 - 15).
What are the type groups?
we translate the following statement given in terms of logarithms. 211 base x can be expressed into log 211 / log x while 152 base 8 can be expressed int o log 152 over log 8. In this case,
log 211 / log x = log 152 / log 8log x = 0.962x = 10^0.962 = 9.1632