Solving equations in excel or other solvers

Click For Summary
SUMMARY

This discussion focuses on solving two equations in Excel or other mathematical tools to find optimal values for VR, R1, and R2. The equations presented are X = VR*(R2+R1)/R2 - VN*R1/R2 and Y = VR*(R2+R1)/R2 - VP*R1/R2, with fixed values VP=5 and VN=0. The goal is to achieve specific target values for X and Y, with a tolerance of 15%. The use of the Solver plug-in in Excel is recommended for this optimization problem, although the mathematical formulation indicates that the problem may be unsolvable under the constraint that R1 equals R2.

PREREQUISITES
  • Understanding of algebraic equations and optimization techniques
  • Familiarity with Excel Solver plug-in for optimization tasks
  • Basic knowledge of mathematical modeling
  • Experience with variable manipulation in equations
NEXT STEPS
  • Learn how to use Excel Solver for multi-variable optimization problems
  • Explore mathematical modeling techniques for constrained optimization
  • Investigate alternative free mathematical tools like GeoGebra or Wolfram Alpha
  • Study the implications of fixed variable constraints in optimization scenarios
USEFUL FOR

Mathematicians, engineers, data analysts, and anyone involved in optimization problems using Excel or similar tools will benefit from this discussion.

likephysics
Messages
638
Reaction score
4
Need to find optimal solution by solving 2 equations

X= VR*(R2+R1)/R2 - VN*R1/R2
Y= VR*(R2+R1)/R2 - VP*R1/R2

VP, VN are fixed. VP=5 & VN=0
VR can change. R1,R2 should be same.
How do I find a combo of VR, R1, R2 so that -

X = 0.46 & Y = 0.214 (this part is easy)

The same values of R1, R2 (but VR may be different) should yield -
X = 1.14 & Y = 0.36

I want the X & Y values to be close(15%) to these, not necessarily exact.

How do I do it in excel or some other free math tools?
 
Physics news on Phys.org
likephysics said:
Need to find optimal solution by solving 2 equations

X= VR*(R2+R1)/R2 - VN*R1/R2
Y= VR*(R2+R1)/R2 - VP*R1/R2

VP, VN are fixed. VP=5 & VN=0
VR can change. R1,R2 should be same.
How do I find a combo of VR, R1, R2 so that -

X = 0.46 & Y = 0.214 (this part is easy)

The same values of R1, R2 (but VR may be different) should yield -
X = 1.14 & Y = 0.36

I want the X & Y values to be close(15%) to these, not necessarily exact.

How do I do it in excel or some other free math tools?

How would you do it in a paid tool? The point is, you need to formulate the answer MATHEMATICALLY. Translating that into a tool, free or paid, is usually trivial.

"If you can't do it without a computer then WITH a computer it will just take you more time to not be able to do it"
 
likephysics, do you have the Solver plug-in for Excel? In general, that would be useful for problems like this. However, this problem appears unsolveable:

If R1 and R2 are the same, then (since R1=R2) your equations become

X= VR*2 - VN*1
Y= VR*2 - VP*1​

Moreover, if VN=0 and VP=5,

X = VR*2
Y= VR*2 - 5 = X - 5​

So only solutions where Y=X-5 are possible.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K