Answer:
binary computer natural language
Answer:
milk_produced = float(input("Enter the total amount of milk produced in the morning: "))
liter_cost = float(input("Enter the cost of producing one liter of milk: "))
carton_profit = float(input("Enter the profit on each carton of milk: "))
carton_needed = round(milk_produced / 3.78)
cost = milk_produced * liter_cost
profit = carton_profit * carton_needed
print("The number of milk cartons needed to hold milk is " + str(carton_needed))
print("The cost of producing milk is " + str(cost))
print("The profit for producing milk is " + str(profit))
Explanation:
*The code is in Python.
Ask the user to enter milk_produced, liter_cost and carton_profit
Calculate the number of milk cartons needed, divide the milk_produced by the capacity (3.78) of a cartoon and round the result
Calculate the cost, multiply the milk_produced by liter_cost
Calculate the profit, multiply the carton_profit by carton_needed
Print the results
Answer:
study-time survey, project schedule, prioritize tasks, reward system.
Explanation:
Time management can be defined as a strategic process which typically involves organizing, planning and controlling the time spent on an activity, so as to effectively and efficiently enhance productivity. Thus, when time is properly managed, it avails us the opportunity to work smartly rather than tediously (hardly) and as such making it possible to achieve quite a lot within a short timeframe. Also, a good time management helps us to deal with work-related pressures and tight schedules through the process of properly allocating the right time to the right activity.
Hence, time-management techniques work most effectively when performed in the following sequential order; study-time survey, project schedule, prioritize tasks, and designing (creating) a reward system.
It is real I hoped this help you
Answer:
Let f be a function
a) f(n) = n²
b) f(n) = n/2
c) f(n) = 0
Explanation:
a) f(n) = n²
This function is one-to-one function because the square of two different or distinct natural numbers cannot be equal.
Let a and b are two elements both belong to N i.e. a ∈ N and b ∈ N. Then:
f(a) = f(b) ⇒ a² = b² ⇒ a = b
The function f(n)= n² is not an onto function because not every natural number is a square of a natural number. This means that there is no other natural number that can be squared to result in that natural number. For example 2 is a natural numbers but not a perfect square and also 24 is a natural number but not a perfect square.
b) f(n) = n/2
The above function example is an onto function because every natural number, lets say n is a natural number that belongs to N, is the image of 2n. For example:
f(2n) = [2n/2] = n
The above function is not one-to-one function because there are certain different natural numbers that have the same value or image. For example:
When the value of n=1, then
n/2 = [1/2] = [0.5] = 1
When the value of n=2 then
n/2 = [2/2] = [1] = 1
c) f(n) = 0
The above function is neither one-to-one nor onto. In order to depict that a function is not one-to-one there should be two elements in N having same image and the above example is not one to one because every integer has the same image. The above function example is also not an onto function because every positive integer is not an image of any natural number.