Message from @MechaKnuckles

Discord ID: 802339625649569864


2021-01-23 00:44:09 UTC  

Thanks. That's what I did, I'm just looking for review in case someone else sees something I missed.

2021-01-23 00:44:17 UTC  

**SA = (2𝛑1.5^2 + 2𝛑1.5 * 4.5) + (2𝛑1.25*1.25)**

2021-01-23 00:44:36 UTC  

I believe this is what the surface area would be?

2021-01-23 00:44:43 UTC  

Where'd the extra 2 come from?

2021-01-23 00:45:17 UTC  

Volume is surface * height yeah

2021-01-23 00:45:46 UTC  

Basically it calculates the surface area of the red cylinder then adds the surface area of the green cylinder's walls/sides.

2021-01-23 00:45:54 UTC  

Since it would be necessary to count that too.

2021-01-23 00:46:28 UTC  

Well the surface area their faces times their heights

2021-01-23 00:47:01 UTC  

*SA (of a cylinder) = 2πrh+2πr2^2*

2021-01-23 00:47:57 UTC  

I just reversed it.

2021-01-23 00:48:14 UTC  

So I did *2πr2^2 + 2πrh*.

2021-01-23 00:48:29 UTC  

Are you looking to find surface area or volume?

2021-01-23 00:48:34 UTC  

Both.

2021-01-23 00:48:47 UTC  

Oh cool lol. Took me a minute

2021-01-23 00:48:54 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:49:00 UTC  

These are my calculations.

2021-01-23 00:49:20 UTC  

I'm not familiar with SA but volume looks fine

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?