Message from @MechaKnuckles
Discord ID: 802339625649569864
Thanks. That's what I did, I'm just looking for review in case someone else sees something I missed.
**SA = (2𝛑1.5^2 + 2𝛑1.5 * 4.5) + (2𝛑1.25*1.25)**
I believe this is what the surface area would be?
Where'd the extra 2 come from?
Volume is surface * height yeah
Basically it calculates the surface area of the red cylinder then adds the surface area of the green cylinder's walls/sides.
Since it would be necessary to count that too.
Well the surface area their faces times their heights
*SA (of a cylinder) = 2πrh+2πr2^2*
I just reversed it.
So I did *2πr2^2 + 2πrh*.
Are you looking to find surface area or volume?
Both.
Oh cool lol. Took me a minute
**V = (𝛑1.5^2 * 4.5) - (𝛑1.25^2 * 1.25)
SA = (2𝛑1.5^2 + 2𝛑1.5 * 4.5) + (2𝛑1.25*1.25)**
These are my calculations.
I'm not familiar with SA but volume looks fine
Cool, thanks.
Bonus points: do you know why pi is used in the calculations?
It's used in cylinder measurements because cylinders are based around a circle, not some sort of shape with flat sides, and pi is..
Well, in case I botch my definition, from Google: "Pi is the ratio of the circumference of any circle to the diameter of that circle."
Excellent!
Circles intrigue me because they really don't have sides like polygons do.
Or do they have an infinite number of sides?
Of 0 length
🤔 Good question...
You've got a good head on your shoulders. Never lose that curiosity!
That's what makes great scientists and engineers.
Thanks!
You are correct.
Now, reposting in comprehensive form in case someone else comes by and can vet it...
V = (𝛑1.5^2 * 4.5) - (𝛑1.25^2 * 1.25)
SA = (2𝛑1.5^2 + 2𝛑1.5 * 4.5) + (2𝛑1.25*1.25)
Part of an assignment for geometry class. Does this look correct?
@WalterMelon (him/her/nigerian) yeah, math.max take the maximum of the two numbers and math.min takes the minimum
i just cant figure out if it wants the max/min of all 3 integers or just the ones in the closest parenthesis
The innermost would evaluate first, and the result would be used by the next one.
Each function only operates on numbers, so the one that has only numbers goes first
would it add them after??
No
Each function chooses one number
oh, and the 2nd time around would have given me the answer?