Answer:
Here is the fractional_part() function:
def fractional_part(numerator, denominator):
if denominator != 0:
return (numerator % denominator)/denominator
else:
return 0
Explanation:
I will explain the code line by line.
The first statement it the definition of function fractional_part() which takes two parameters i.e. numerator and denominator to return the fractional part of the division.
Next is an if statement which checks if the value of denominator is 0. If this is true then the function returns 0. If this condition evaluates to false which means that the value of denominator is not 0 then return (numerator % denominator)/denominator is executed. Now lets see how this statement works with the help of an example.
Lets say the value of numerator is 5 and denominator is 4. (numerator % denominator)/denominator will first compute the modulus of these two values. 5 % 4 is 1 because when 5 is divided by 4 , then the remainder is 1. Now this result is divided by denominator to get the fractional part. When 1 is divided by 4 the answer is 0.25. So this is how we get the fractional part which is 0.25.
The program with output is attached.
Answer:
f = 0.05Hz
Explanation:
Look at the graph. You can see that the wave complete one cycle in 20 seconds, so we can say that the period is 20s.
T = 20
frequency is just the inverse the period so
f = 1/T = 1/20 = 0.05Hz
Answer:
The radius of a wind turbine is 691.1 ft
The power generation potential (PGP) scales with speed at the rate of 7.73 kW.s/m
Explanation:
Given;
power generation potential (PGP) = 1000 kW
Wind speed = 5 mph = 2.2352 m/s
Density of air = 0.0796 lbm/ft³ = 1.275 kg/m³
Radius of the wind turbine r = ?
Wind energy per unit mass of air, e = E/m = 0.5 v² = (0.5)(2.2352)²
Wind energy per unit mass of air = 2.517 J/kg
PGP = mass flow rate * energy per unit mass
PGP = ρ*A*V*e

r = 210.64 m = 691.1 ft
Thus, the radius of a wind turbine is 691.1 ft
PGP = CVᵃ
For best design of wind turbine Betz limit (c) is taken between (0.35 - 0.45)
Let C = 0.4
PGP = Cvᵃ
take log of both sides
ln(PGP) = a*ln(CV)
a = ln(PGP)/ln(CV)
a = ln(1000)/ln(0.4 *2.2352) = 7.73
The power generation potential (PGP) scales with speed at the rate of 7.73 kW.s/m
Answer:
The distance from the entrance at which the boundary layers meet is 0.516m
The distance from the entrance at which the thermal boundary layers meet is 1.89m
Explanation:
For explanation, look at the attached file