# Solvers Python or Apache

**URL:** <https://forum.inductiveautomation.com/t/solvers-python-or-apache/56746>\
**Category:** General Discussion\
**Tags:** ignition79\
**Created:** [March 2, 2022, 9:14pm UTC](https://forum.inductiveautomation.com/t/solvers-python-or-apache/56746 "2022-03-02T21:14:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 3, 2022, 11:25am UTC](https://forum.inductiveautomation.com/t/solvers-python-or-apache/56746/2 "2022-03-03T11:25:52Z")

</div>

I wrote this before we access to Apache math. May be useful for you. The polyfit() function is what I think you're looking for.

> [@Math Extensions for Ignition](https://forum.inductiveautomation.com/t/math-extensions-for-ignition/3106):
>
> EDIT 2017-07-13: Things have changed enough that this first post is getting revamped. EDIT 2019-08-08: Re-uploaded due to broken link Some useful math functions just aren’t available through scripting. This is an attempt to rectify some of it. Functions: sum mean rectangular-to-polar conversions polar-to-rectangular conversions simple linear regressions polynomial regression greatest-common-denominator least common multiple standard deviation (population and sample) decimal to BCD decimal t…

---

_[View the full topic](https://forum.inductiveautomation.com/t/solvers-python-or-apache/56746)._
