TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How much time cutting corners actually saves (math)

16 pointsby masonicb00mabout 7 years ago

5 comments

flossballabout 7 years ago
My favorite things - analytical and sorta useless. However, it is interesting that moving the figurative to the literal could be deriving a single dimension metric and applying simple trig.
Tomminnabout 7 years ago
That plot is deceiving, just because the x-axis representing the ratio goes so large so quickly. I&#x27;d say roughly 95% of normally encountered triangles have edge ratios of less than 1:20, which represents 2% of the x axis.<p>Glancing at that graph you might wrongly conclude &quot;no point cutting corners unless the triangle is reaaaally close to 1:1&quot;.
评论 #16951085 未加载
majewskyabout 7 years ago
&gt; This is why my preferred method for crossing intersections with 4-way stop signs is to go straight through the middle.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=IJNR2EpS0jw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=IJNR2EpS0jw</a>
superlopuhabout 7 years ago
I have a feeling that this would be much easier to understand using trigonometry. For a unit hypothenuse, you&#x27;re trying to maximise sin(θ) + cos(θ), which is the case when θ = τ&#x2F;8, giving √2.<p>Given that we cut a corner, the longest possible value for the original problem is √2.<p>If we want the proportion cut, we get (1 - 1&#x2F;√2) ≅ 0.3
评论 #16950325 未加载
SamReidHughesabout 7 years ago
TLDR version: Best case is a 45-45-90 triangle, and sqrt(2)&#x2F;2 = 0.707.