To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code allows the user to find the independent variables for a given dependent input.
Description
This code was developed as an example to find the X values for a given Y. With user defined discrete inputs, the code will find a polynomial curve, solve for the roots of both the original equation and the given Y input. The user can then determine which X value they're interested in using. The coefficients of the line are also output.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.