Answer: smallest will be 000,.111 84.
Explanation:
Answer:
# Program is written in python
# 22.1 Using the count method, find the number of occurrences of the character 's' in the string 'mississippi'.
# initializing string
Stringtocheck = "mississippi"
# using count() to get count of s
counter = Stringtocheck.count('s')
# printing result
print ("Count of s is : " + str(counter))
# 2.2 In the string 'mississippi', replace all occurrences of the substring 'iss' with 'ox
# Here, we'll make use of replace() method
# Prints the string by replacing iss by ox
print(Stringtocheck.replace("iss", "ox"))
#2.3 Find the index of the first occurrence of 'p' in 'mississippi'
# declare substring
substring = 'p'
# Find index
index = Stringtocheck.find(substring)
# Print index
print(index)
# End of program
Given:
Temperature of water,
=
=273 +(-6) =267 K
Temperature surrounding refrigerator,
=
=273 + 21 =294 K
Specific heat given for water,
= 4.19 KJ/kg/K
Specific heat given for ice,
= 2.1 KJ/kg/K
Latent heat of fusion,
= 335KJ/kg
Solution:
Coefficient of Performance (COP) for refrigerator is given by:
Max
= 
=
= 9.89
Coefficient of Performance (COP) for heat pump is given by:
Max
= 
= 10.89