## 32 Reputation

13 years, 202 days

## using terms once they have been isolated...

Maple

I want to use a term after it has been isolated.

For example, say that I have equation1 (eq1) and I want to use the y term in the next equation, s.

eq1:=x+y=2;

isolate(eq1,y);

s=z+y;

This returns s=z+y not s=z+x-2. I would like s=z+x-2. How do I do that?

## Solving for a particular term...

Maple

I have the following equations currently in a maple program. I would like to solve for POc in terms of miu, uA1 (or uA2 it doesn't matter since they are equal), L, LTJ, h, b, and PT. I tried the solver, which does not work. I also consider the eliminate function, but I played with it too long and have now given up. Any ideas?

uT1:=uB1*h/H;

uB1:=uTJ1*b/h;

uTJ1:=uA1*h/b;

uA1:=uF1*h/h;

uTJ2:=(PTJ1-PTJ2)*b^2/(3*miu*LTJ);

uA2:=(POc-PTJ1)*h^2/(3*miu*L1);

uB2:=(PTJ2-PT)*h^2/(3*miu*(L-L1-LTJ);

eq1:=uTJ1=uTJ2;

eq2:=uA1=uA2;

## Extract values from parenthesis...

Maple

After writing a code I was given an output from Maple in the following form: {n=1,x=4,lplp=6,lpsp=8}. I need to use these values separately. How to I get them out of the brackets? When I type n on the next line it just shows "n" not n=1. Any ideas?

 Page 1 of 1
﻿