Artifact 43ea0c2d6cfb43c71e22d9dd6f8fecd67397938f2938fe1f725fb2ff98d35d31:



<A NAME=RHS>

<TITLE>RHS</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>RHS</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
The <em>rhs</em> operator returns the right-hand side of an 
<A HREF=r37_0045.html>equation</A>, 
such as those returned in a 
<A HREF=r37_0053.html>list</A> by 
<A HREF=r37_0179.html>solve</A>. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>rhs</em>(&lt;equation&gt;) or <em>rhs</em> &lt;equation&gt; 
<P>
<P>
<P>
&lt;equation&gt; must be an equation of the form left-hand side = right-hand 
side. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
roots := solve(x**2 + 6*x*y + 5x + 3y**2,x); 


                              2
                     SQRT(24*Y  + 60*Y + 25) + 6*Y + 5
      ROOTS := {X= - ---------------------------------,
                                     2
                             2
                    SQRT(24*Y  + 60*Y + 25) - 6*Y - 5
                 X= ---------------------------------}
                                    2


root1 := rhs first roots; 

                      2
             SQRT(24*Y  + 60*Y + 25) + 6*Y + 5
  ROOT1 := - --------------------------------- 
                             2


root2 := rhs second roots; 

                    2
           SQRT(24*Y  + 60*Y + 25) - 6*Y - 5
  ROOT2 := ----------------------------------
                           2

</TT></PRE><P>An error message is given if <em>rhs</em> is applied to something 
other than an 
equation. 
<P>
<P>
<P>


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]