Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.5K Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Combine equations to get single feedback equation

Posted 2 years ago

If I have the two equations y=ax and x=u-y where y is the output and u is the input, how can I get Mathematica to combine these two equations to get the single equation, y = (a/(1+a))u?
Thanks.

POSTED BY: Roger Backhus
5 Replies
Posted 2 years ago

Wait. That didn't work for me. I got,

In[31]:= Solve[Eliminate[{y == a x, x == u - y}, x], y]

During evaluation of In[31]:= $RecursionLimit::reclim2: Recursion depth of 1024 exceeded during evaluation of u-y.

Out[31]= Hold[Solve[Eliminate[{y == a x, x == u - y}, x], y]]
POSTED BY: Roger Backhus
Posted 2 years ago
POSTED BY: Bill Nelson
Posted 2 years ago

Ok. That worked. Thanks.

POSTED BY: Roger Backhus
Posted 2 years ago

Thank you.

POSTED BY: Roger Backhus
Posted 2 years ago
Solve[Eliminate[{y==a x,x==u-y},x],y]

{{y -> (a*u)/(1 + a)}}
POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard