Message from @Goose
Discord ID: 802342114431336480
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
No
Each function chooses one number
oh, and the 2nd time around would have given me the answer?
That's right
ah ok, thanks, im not the best at math
Imagine max working. What's the answer of just that?
4
Right. Then, the rest of the process is evaluating min(4, 3)
so it was 3,
Correct!
thanks, i usually just rely on the help code my teacher provides but i gotta at least learn something thatll be on tests
It's good to figure out what's going on, sometimes the answers give insight
yeah
You learning C or C++?
Or Java?
java main
Nice. I work with Java sometimes.
i gotta use something called code HS
That sounds like a system to run code and check answers
yeah,