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

PTC Creo | my Mapkeys for free

I have created a list of frequently used mapkey shortcuts for the PTC Pro Engineer Creo. This is the macro equivalent in creo.  I am copying them below.If you need them, copy paste the content to the "config.pro" file in your startup folder. My favourites are highlited and greatly improves the workflow.. For ex, to reach MEASURE. need to go to another menu and click.  Instead, maypkey from any selected menu on the ribbon will work.. Thats wonderful to me... Also, Edit Sketch (ES) is overloaded and will work for Extrusion, Revelution, Sweep etc.. So is aa, pp, zz..  really helps me a lot.. Hope you will start using them as well and get benefited! Let me know in comments, your feedback and issues.... Sketch View           > sv Show and Erase        > se Working Directory     > wd Hiddel Line View      > hi Close (quit) Window   > qw Measure        ...

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