HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Regarding the issue of reversing Excel functions

2016-05-03View Original

Thread Content

Are there any forum members who are familiar with Excel? I would like to ask a question regarding function evaluation. For example, y = x + x squared + the square root of x. I can calculate y based on x, but what if I want to determine the value of x based on y? Can Excel do calculations?
Reply #22016-05-03
Enter the value of x in cell A1 (assume a positive number for now, such as 4), and enter the formula for calculating y in cell A2: “=x^2+x^0.5”. Click sequentially on Data > Simulation Analysis > Single Variable Solving. Select A2 as the target cell, enter the Y value you have set in the target value field, select A1 as the variable cell, and click OK. The result of A1 is the x you are asking for. Done.
Reply #32016-05-04
The method is feasible, but it seems to only yield approximate solutions rather than exact ones.
Reply #42016-05-04
Excel can only provide solutions in decimal form; since the result is an infinite non-repeating decimal, rounding is necessary. If a smaller error level is required, iterative calculation can be enabled in File > Options > Formulas, where the calculation error can be set. (I believe that for problems like yours, it’s impossible for a computer to arrive at an exact solution; there will always be some degree of error.) Because it cannot handle irrational numbers such as “sqrt(2) + sqrt(2);” instead, it has to convert them into rational numbers like “1.414 + 1.414” in order to perform calculations. My knowledge is limited; I’m not sure if what I say is correct
Reply #52016-08-01
There are indeed many experts in Haichuanli, thank you

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.