Answer:
Using python
num_boys = int(input("Enter number of boys :"))
num_girls = int(input("Enter number of girls :"))
budget = int(input("Enter the number of dollars spent per school year :"))
try:
dollarperstudent = budget/(num_boys+num_girls)
print("Dollar spent per student : "+str(dollarperstudent))#final result
except ZeroDivisionError:
print("unavailable")
Answer:
Explanation:
class Pet:
def __init__(self):
self.name = ''
self.age = 0
def print_info(self):
print('Pet Information:')
print(' Name:', self.name)
print(' Age:', self.age)
class Dog(Pet):
def __init__(self):
Pet.__init__(self)
self.breed = ''
def main():
my_pet = Pet()
my_dog = Dog()
pet_name = input()
pet_age = int(input())
dog_name = input()
dog_age = int(input())
dog_breed = input()
my_pet.name = pet_name
my_pet.age = pet_age
my_pet.print_info()
my_dog.name = dog_name
my_dog.age = dog_age
my_dog.breed = dog_breed
my_dog.print_info()
print(' Breed:', my_dog.breed)
main()
Answer:
35
Explanation: I really dont even know, I just used up all my tries on it and got it wrong on every other thing i chose. So it's 35 i believe cause its the only answer i didnt choose.
Answer:
14.506°C
Explanation:
Given data :
flow rate of water been cooled = 0.011 m^3/s
inlet temp = 30°C + 273 = 303 k
cooling medium temperature = 6°C + 273 = 279 k
flow rate of cooling medium = 0.02 m^3/s
Determine the outlet temperature
we can determine the outlet temperature by applying the relation below
Heat gained by cooling medium = Heat lost by water
= ( Mcp ( To - 6 ) = Mcp ( 30 - To )
since the properties of water and the cooling medium ( water ) is the same
= 0.02 ( To - 6 ) = 0.011 ( 30 - To )
= 1.82 ( To - 6 ) = 30 - To
hence To ( outlet temperature ) = 14.506°C