Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Raising to a power on both sides of an equation

Status
Not open for further replies.

treddie

Computer
Dec 17, 2005
417
Howdie.
I am new to MathCAD, and can't seem to find a solution to a basic problem, which is this:

If I have the equation t = u + r, is there a way to square both sides automatically to get t^2 = u^2 + 2ur + r^2?

The reason I'm asking is that I have a HUGE expression that is probably going to result in a quartic, and squaring the equation will take forever and probably result in hard to find errors across 3 or 4 pages.

Thanks in advance,
treddie
 
Replies continue below

Recommended for you

Since your new then just follow the basics. Everything must be defined unless your working symbolically, otherwise it turns red. The left side of your := and the right side are not one in the same. Reassign a variable to represent t^2 and then use that variable in your next expression.

below, a b c and d would all have to be defined.

When you get better at the software you can create arrays or sequences and even do programming. but for now lean the basics.

a=1 b=1 c=2 d=2

u:a+b
r:= c+d
t:= u + r
t=6

x:= t^2
x=36

You can create subs to explain but you can't say t^2 :=
 
Not sure what you are trying to do. You can square the RHS by using the symbolic processor

TTFN



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor