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..

Excel Function :TABLE

Its been a while since I have done some posting. This option in excel is something which I thought would be very useful for many. Its the TABLE Function in MS Excel. This is especially useful in the following scenarios.