Message from @Goose

Discord ID: 802342114431336480


2021-01-23 00:49:30 UTC  

Cool, thanks.

2021-01-23 00:49:52 UTC  

Bonus points: do you know why pi is used in the calculations?

2021-01-23 00:50:55 UTC  

It's used in cylinder measurements because cylinders are based around a circle, not some sort of shape with flat sides, and pi is..

2021-01-23 00:51:13 UTC  

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."

2021-01-23 00:51:20 UTC  

Excellent!

2021-01-23 00:51:49 UTC  

Circles intrigue me because they really don't have sides like polygons do.

2021-01-23 00:52:07 UTC  

Or do they have an infinite number of sides?

2021-01-23 00:52:16 UTC  

Of 0 length

2021-01-23 00:52:19 UTC  

🤔 Good question...

2021-01-23 00:52:57 UTC  

You've got a good head on your shoulders. Never lose that curiosity!

2021-01-23 00:53:12 UTC  

That's what makes great scientists and engineers.

2021-01-23 00:53:39 UTC  

Thanks!

2021-01-23 00:53:52 UTC  

You are correct.

2021-01-23 00:54:15 UTC  

Now, reposting in comprehensive form in case someone else comes by and can vet it...

https://cdn.discordapp.com/attachments/801170141907386408/802340386399191040/unknown.png

2021-01-23 00:54:25 UTC  

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)

2021-01-23 00:54:58 UTC  

Part of an assignment for geometry class. Does this look correct?

2021-01-23 00:58:32 UTC  

@WalterMelon (him/her/nigerian) yeah, math.max take the maximum of the two numbers and math.min takes the minimum

2021-01-23 00:59:38 UTC  

i just cant figure out if it wants the max/min of all 3 integers or just the ones in the closest parenthesis

2021-01-23 01:00:10 UTC  

The innermost would evaluate first, and the result would be used by the next one.

2021-01-23 01:00:34 UTC  

Each function only operates on numbers, so the one that has only numbers goes first

2021-01-23 01:01:06 UTC  

would it add them after??

2021-01-23 01:01:16 UTC  

No

2021-01-23 01:01:41 UTC  

Each function chooses one number

2021-01-23 01:01:55 UTC  

oh, and the 2nd time around would have given me the answer?

2021-01-23 01:02:11 UTC  

That's right

2021-01-23 01:02:24 UTC  

ah ok, thanks, im not the best at math

2021-01-23 01:02:28 UTC  

Imagine max working. What's the answer of just that?

2021-01-23 01:02:42 UTC  

4

2021-01-23 01:03:19 UTC  

Right. Then, the rest of the process is evaluating min(4, 3)

2021-01-23 01:03:30 UTC  

so it was 3,

2021-01-23 01:03:36 UTC  

Correct!

2021-01-23 01:04:13 UTC  

thanks, i usually just rely on the help code my teacher provides but i gotta at least learn something thatll be on tests

2021-01-23 01:04:37 UTC  

It's good to figure out what's going on, sometimes the answers give insight

2021-01-23 01:04:47 UTC  

yeah

2021-01-23 01:05:08 UTC  

You learning C or C++?

2021-01-23 01:05:12 UTC  

Or Java?

2021-01-23 01:05:20 UTC  

java main

2021-01-23 01:05:31 UTC  

Nice. I work with Java sometimes.

2021-01-23 01:05:33 UTC  

i gotta use something called code HS

2021-01-23 01:05:55 UTC  

That sounds like a system to run code and check answers

2021-01-23 01:06:07 UTC  

yeah,