News for hackers. Stuff that matters.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by bentcorner on Monday July 19, 2021 @03:21PM (#27886327)
I use math often, but most of the time it's basic math. Simple things like ratios when trying to calculate per-unit costs in a grocery store when two things are displayed with different units, or converting between Fahrenheit and Celsius. Basic multiplication for tip calculation.

The most complex was when I used some trig to calculate the angle at which I had to wrap a square column with christmas lights to ensure I covered the column from top to bottom with a single string and no excess.

For finance and stuff like that I don't even bother trying and just use calculators.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by handrous on Monday July 19, 2021 @03:49PM (#27886590)
Oh, yeah, to be clear I use math (well, I apply mathematical algorithms and formulas) many times a day. But the ROI for my time spent on formal math eduction peaks somewhere around 3rd grade and declines fast after that.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by spaethnl on Monday July 19, 2021 @04:09PM (#27886761)
I (genuinely) wonder how much that is attributable to having no actual use for other math, vs

1. not having been taught math early enough for it to be second nature

2. not having been taught useful every day applications of the math so as to keep practicing it

I've also forgotten quite a bit of math, but I also frequently encounter scenarios where I acknowledge that having a better handle on it would be advantageous to myself or others. For example, a better understanding of statistics and probability would certainly help political discourse in our society.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by waynesonfire on Monday July 19, 2021 @04:34PM (#27886982)
>The most complex was when I used some trig to calculate the angle at which I had to wrap a square column with christmas lights to ensure I covered the column from top to bottom with a single string and no excess.

that doesn't seem trivial at all.. wonder how that's done.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by Someone on Monday July 19, 2021 @05:03PM (#27887231)
The length l of the Christmas lights is the hypothenuse of a rectangular triangle of height h, the height of the column. So, if the slope angle is α, we have sin(α) = h/l, or α = arcsin(h/l).

Soundness check: that doesn’t have a solution if h > l. Looks good.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by waynesonfire on Monday July 19, 2021 @05:33PM (#27887502)
does this assume the xmas tree is shaped like a column or a cone?

edit: ah, i re-read the original problem and it does mention column. i thought it was a xmas tree that was being wrapped.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by Someone on Monday July 19, 2021 @06:53PM (#27888211)
That would be harder, yes. Reading https://en.wikipedia.org/wiki/Conical_spiral#Slope, you want a logarithmic spiral (you need a constant angle to make the problem make sense)

Luckily, arc length isn’t too gnarly for those (same Wikipedia page), but you still have one equation with two variables.

I would have to think hard about whether those give you a unique solution.

I also doubt that spiral would give you uniform coverage of the cone (and that probably, is the real requirement, not constant angles), but again, I would have to do some thinking.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by waynesonfire on Monday July 19, 2021 @07:03PM (#27888287)
oh, interesting variation for uniform coverage! that is indeed what i'd want for the tree. in building a road around a cone, a constant angle would be more desirable.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by philiplu on Monday July 19, 2021 @05:12PM (#27887304)
Suppose you’ve got a 16 foot strand of lights and an 8 foot column. If you unwrap the column in your mind, you can see you’ve got a right triangle with a hypotenuse of 16 and vertical leg of 8. What’s the angle that the hypotenuse makes with the floor? It’s the angle whose sine is opposite/hypotenuse = 8/16 = 1/2. That’s 30 degrees. So wrap the lights around the column at a 30 degree angle and it’ll be close (with a bit of slop thanks to rounding corners on the column).
Re:Math Problems for children from 5 to 15 (2004) [pdf] by waynesonfire on Monday July 19, 2021 @05:32PM (#27887495)
my xmas isn't shaped like a column, it's a cone.

edit: ahh, the original question was for a column. i misread it and thought it was for a xmas tree.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by concreteblock on Monday July 19, 2021 @06:34PM (#27888064)
If you unwrap a cone you get a circular sector. Similar idea.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by walshemj on Monday July 19, 2021 @06:57PM (#27888245)
Years ago I had to correct a Bridge design I was tasked with writing a program to draw out the complex curved shape.

The engineer had used 2d instead of the 3d formulae :-)