# Need to get the point in a (curved) line which has the same tangent as another (straight) line

**URL:** <https://forum.dynamobim.com/t/need-to-get-the-point-in-a-curved-line-which-has-the-same-tangent-as-another-straight-line/50384>\
**Category:** Uncategorized\
**Created:** [May 8, 2020, 11:57am UTC](https://forum.dynamobim.com/t/need-to-get-the-point-in-a-curved-line-which-has-the-same-tangent-as-another-straight-line/50384 "2020-05-08T11:57:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [May 8, 2020, 12:16pm UTC](https://forum.dynamobim.com/t/need-to-get-the-point-in-a-curved-line-which-has-the-same-tangent-as-another-straight-line/50384/2 "2020-05-08T12:16:57Z")

</div>

This might help:

> [@Finding the Min/Max of Polynomials](https://forum.dynamobim.com/t/finding-the-min-max-of-polynomials/6513):
>
> I’m trying to code a quadratic equation with the ability to find the min and max at the same time within a given range. Later these points can be used to start adding structure too but I’m having trouble getting the code started. Eventually I’d like to find min/max of a series of sin waves but will start will quadratic equations first. slight_smile Thanks, def quadmin(a, b, c, xmin, xmax); q0 = (a \* xmin + b) \* xmin + c; q2 = (a \* xmin + b) \* xmax + c; x1 = -b/(2\*a); if (xmin \< x1 ) …

---

_[View the full topic](https://forum.dynamobim.com/t/need-to-get-the-point-in-a-curved-line-which-has-the-same-tangent-as-another-straight-line/50384)._
