Message from @WalterMelon (him/her/nigerian)

Discord ID: 802337990147702825


2021-01-22 18:15:08 UTC  

There’s only 2,3,4 so I puked assume it’s 3

2021-01-22 18:17:34 UTC  

It's three

2021-01-22 18:23:48 UTC  

Yeah I thought it was weird fornit to be 7 since it looks like they are looking for the largest or smallest

2021-01-22 18:46:55 UTC  

It’s 3, but couldn’t you have copied and pasted it to whatever Java IDE you use?

2021-01-22 19:27:18 UTC  

that's cheating though, no?

2021-01-22 19:32:22 UTC  

I guess it depends on the teacher/professor. I’ve had classes where we were encouraged to use any available resources

2021-01-22 19:38:17 UTC  

idk

2021-01-22 20:11:37 UTC  

It's not cheating when are programming at your work place

2021-01-22 20:13:33 UTC  

oh well, lol

2021-01-23 00:06:32 UTC  

Would anyone be kind enough to help me out with some geometry? I need to calculate the surface area of a candle. It's mostly a simply cylinder, but it has an indent, and I want to make sure I'm calculating everything properly.

2021-01-23 00:19:12 UTC  

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

2021-01-23 00:19:19 UTC  

I created this diagram.

2021-01-23 00:23:19 UTC  

**V = (𝛑1.5^2 * 4.5) - (𝛑1.25^2 * 1.25)**

2021-01-23 00:23:32 UTC  

This is the equation I came up with. Can anyone verify this?

2021-01-23 00:24:22 UTC  

(*V=πr^2h* is the equation for cylinder volume.)

2021-01-23 00:41:33 UTC  

It's the volume of the red minus the volume of the green, so if your formula calculates that I'd say it's right

2021-01-23 00:43:24 UTC  

Do you know what the functions each do?

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?