News for hackers. Stuff that matters.
Re:World's steepest funicular railway opens in Switzerland by bonniemuffin on Saturday December 16, 2017 @09:53AM (#15939764)
Apparently I had no idea how to interpret percent grade numbers, because I would've thought a 110% grade was impossible or meant going directly vertical or something.

But actually the internet tells me it represents rise/run as a percent, so a 110% grade is slightly more than a 45 degree angle. The more you know!

Re:World's steepest funicular railway opens in Switzerland by danbruc on Saturday December 16, 2017 @10:40AM (#15939971)
If you used the difference in height over the actual distance traveled instead of the horizontal distance, then 100 % would indeed be vertical. I.e. instead of using sin(a)/cos(a) you could just use sin(a) and for small angles the values are close but the later one approaches 1 while the former one diverges as you approach 90°. I would probably have picked the later one but the former one is probably somewhat easier to work with in practice, e.g. for construction work.
Re:World's steepest funicular railway opens in Switzerland by Sharlin on Saturday December 16, 2017 @03:59PM (#15942064)
> sin(a)/cos(a)

Also called tan(a) ;)

Re:World's steepest funicular railway opens in Switzerland by danbruc on Saturday December 16, 2017 @05:38PM (#15942627)
The other variant was actually meant to read sin(a)/1 to highlight the ratio in both cases but I abandoned that halfway through because I thought it makes the hypotenuse look special while it really is not in the sin(a)/cos(a) variant where the more natural description would be tan(a)/1 but that kind of ruins the simple association with the side lengths of a right triangle. I had another idea how to formulate it that would not favor one of the variants but as far as I can tell the necessary distinction between the two catheti that exists in German does not exist in English and so I left it as it is.
Re:World's steepest funicular railway opens in Switzerland by jsmthrowaway on Saturday December 16, 2017 @04:19PM (#15942177)
That's right. It's simple to remember once you get the hang of it. 100% grade: every foot forward is one foot of climb, or every meter forward is one meter of rise. 10% grade: ten feet forward, one foot up, or ten meters forward, one meter up. 110% grade: one foot forward, 1.1 feet up, or one meter forward, 1.1 meters up. 6% grades are steep enough to earn warning signs, if you pay attention to signage in the mountains.

Sonora Pass, for example, has sections of 26% grade. That sounds immensely steep (and is, for driving), but it sounds more reasonable when you say "every 50 feet forward, you've climbed 13 feet." Solve the triangle, and that's 14.574°. If you've been over the Sonora Pass, you know that it feels like you're in a rocket climbing vertically at a couple points, and you might be surprised to learn that's only 14.6° of grade.

22nd Street in SF is over 31%, IIRC, and is one of the steepest streets I can think of.

Re:World's steepest funicular railway opens in Switzerland by pablobaz on Saturday December 16, 2017 @10:10AM (#15939847)
In my experience percent grade is usually used as a measure when people want to make something sound really steep.

E.g. "this ski slope has a gradient of 90%!!!"

Re:World's steepest funicular railway opens in Switzerland by jessriedel on Saturday December 16, 2017 @10:32AM (#15939939)
That would, in fact, be an extremely steep slope. An 80% grade is steep enough that if you fall you do not stop until you reach the bottom.

http://www.foxnews.com/travel/2017/01/30/5-most-dangerous-sk...

Re:World's steepest funicular railway opens in Switzerland by jessriedel on Saturday December 16, 2017 @01:22PM (#15940870)
More:

> In general, beginner slopes (green circle) are between 6% and 25%. Intermediate slopes (blue square) are between 25% and 40%. Difficult slopes (black diamond) are 40% and up. ...

https://en.wikipedia.org/wiki/Piste

Re:World's steepest funicular railway opens in Switzerland by pablobaz on Saturday December 16, 2017 @01:26PM (#15940900)
That is very true. But my point still stands. People hear a percentage number and assume the max is 100.

Also generally with ski slopes the quoted gradient is some tiny portion of the run. Top to bottom the actual gradient is much less.

Re:World's steepest funicular railway opens in Switzerland by s0rce on Saturday December 16, 2017 @10:31PM (#15943905)
That is what an ice axe would be for, I presume.
Re:World's steepest funicular railway opens in Switzerland by TylerE on Saturday December 16, 2017 @02:55PM (#15941602)
The nice thing about it from an engineering perspective is that it doesn't distort at the ends of a scale.

A 10% grade over a horizontal distance of X will gain exactly twice as much height as a 5% grade over the same distance.

Re:World's steepest funicular railway opens in Switzerland by hodgesrm on Saturday December 16, 2017 @09:00PM (#15943525)
Percent grade is standard for road steepness at least in the US, e.g., 6% which requires effort for a loaded truck to climb.
Re:World's steepest funicular railway opens in Switzerland by igitur on Saturday December 16, 2017 @09:57AM (#15939780)
So a 90° angle is... infinity%?
Re:World's steepest funicular railway opens in Switzerland by mikestew on Saturday December 16, 2017 @10:49AM (#15940027)
It’s related to a ratio. A ~6 degree slope would have you dropping one meter for every ten meters you move forward: 10%. 45 degrees means one meter for every meter forward: 100%. Keep plotting that out and it approaches infinity as you reach 90 degrees (or just ask, “for every meter forward, how many up/down?” if it is 90 degrees.)
Re:World's steepest funicular railway opens in Switzerland by lisper on Saturday December 16, 2017 @02:41PM (#15941485)
The problem is that "forward" is ambiguous. You can measure it relative to your direction of travel, or perpendicular to the gravitational vector. For small gradients these are more or less the same, but the steeper the slope the more these two measures diverge.
Re:World's steepest funicular railway opens in Switzerland by usrusr on Saturday December 16, 2017 @09:50PM (#15943739)
Fortunately, as 110% it's not ambiguous anymore.
Re:World's steepest funicular railway opens in Switzerland by gshubert17 on Saturday December 16, 2017 @11:41AM (#15940246)
With slope in degrees and grade in percent,

100*tan(slope) = grade%

slope = arctan(grade%/100)

so 110% is about 47.7 degrees, and tan(90 degrees) is infinitely large.

Re:World's steepest funicular railway opens in Switzerland by tmsldd on Saturday December 16, 2017 @11:52PM (#15944192)
Precisely. Math makes it clear to understand and settle down the discussion, thanks ;)
Re:World's steepest funicular railway opens in Switzerland by myrion on Saturday December 16, 2017 @10:01AM (#15939803)
It would be, yes, basically.
Re:World's steepest funicular railway opens in Switzerland by jacobolus on Saturday December 16, 2017 @01:02PM (#15940737)
If you have a 90° angle that would be called a “wall” not a “slope”.
Re:World's steepest funicular railway opens in Switzerland by frede on Sunday December 17, 2017 @05:17AM (#15945127)
If you plotted the altitude with a function f(x), it's just the derivative f'(x) expressed in percent.