Skip to main content

SOLVE - FOR option in Proe

Well, its a follow-up post. I had mensioned SOLVE-FOR in my previous posting. I thought of elaborating that a bit.


Basically it allows you to solve simultanious equation.


OK. Normally we have relations like the following.

A = F(B). { Eg A = 2B + Tan(B) }
now if you know B, you can find A.




Now what if F1(A,B) = F2(A,B), where F1 and F2 are different functions.
{eg 2B + A/Sin(B) = B * B * Cos(A) }
Now, even if you know B, you cannot easily find A. Here comes SOLVE-FOR.


B = 25
A = 10

SOLVE
2B + A/Sin(B) = B * B * Cos(A)
FOR A


By giving like this, proe finds the value of A.

You can extend this for multiple relations as well.. Like below.

You dont know the values of A, B. But you have two relations where A and B are valid. Two unknowns and two relations. Solvable, but not always direct.. here is an easy way..


A = 1
B = 1

SOLVE
F1(A,B) = F2(A,B)
F3(A,B) = F4(A,B)
FOR A, B



NOTE 1:

in both cases you would have noticed that I put a value before Solve option. This initialising is needed. Otherwise proe may not be able to solve the relation. Its good to initialise with a probable value.


NOTE 2:

As you may have seen in the previous post, this option may prevent the relations to be pasted properly when you do a UDF or a "Copy - Paste Special".


so thats it for another powerful feature of proe. Hope it helps..

Comments

Popular posts from this blog

TreeView Structure in Excel VBA

TreeView is extreamly useful in specific cases but it can be bit tricky sometimes to implement.  Last Few days I was working on a TreeView Structure and thought I will share the knowledge I gained...  This post takes you through the basic operations to create and operate a TreeView. It will be like the Folder tree window of the windows explorer.  Moreover, you can have it dynamically updated based on the data in excel.... Here we go..

Color the Excel row based on a value/status

Very often, we would like to differenciate the rows that are having certain status (or specific values in a specific column) in a different color. We can filter for the status and apply the color manually, but we can also do that dynamically or automatically with a specific tweak to the Conditional Formatting feature in Excel