Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Rhs Calculator

Rhs

Function: rhs (<expr>) Returns the right-hand side (that is, the second argument) of the expression <expr>, when the operator of <expr> is one of the relational operators < <= = # equal notequal >= >, one of the assignment operators := ::= : ::, or a user-defined binary infix operator, as declared by infix.

eqAirCon:

When <expr> is an atom or its operator is something other than the ones listed above, rhs returns 0.

See also lhs.

Examples:

          (%i1) e: aa + bb = cc;
          (%o1)                     bb + aa = cc
          (%i2) lhs (e);
          (%o2)                        bb + aa
          (%i3) rhs (e);
          (%o3)                          cc
          (%i4) [rhs (aa < bb), rhs (aa <= bb), rhs (aa >= bb),
                 rhs (aa > bb)];
          (%o4)                   [bb, bb, bb, bb]
          (%i5) [rhs (aa = bb), rhs (aa # bb), rhs (equal (aa, bb)),
                 rhs (notequal (aa, bb))];
          (%o5)                   [bb, bb, bb, bb]
          (%i6) e1: (foo(x) := 2*x);
          (%o6)                     foo(x) := 2 x
          (%i7) e2: (bar(y) ::= 3*y);
          (%o7)                    bar(y) ::= 3 y
          (%i8) e3: (x : y);
          (%o8)                         x : y
          (%i9) e4: (x :: y);
          (%o9)                        x :: y
          (%i10) [rhs (e1), rhs (e2), rhs (e3), rhs (e4)];
          (%o10)                  [2 x, 3 y, y, y]
          (%i11) infix ("][");
          (%o11)                         ][
          (%i12) rhs (aa ][ bb);
          (%o12)                         bb

(%o1)                                true
(%i2) 

Rhs Example

Related Examples

rhs-solve

f(x,y):=x[1]*y[1]+x[1...

a1:[1,1,-2,-1];

a2:[5,4,3,-1];

Calculate

rhs-solve

f:3*x+2*y-1;

L:[-1,-2];

n:L/sprt(L.L);

Calculate

rhs-solve

eq1: If + I1 = I2;

eq2: Vout = Vc + If*Rf;

eq3: Vmax = Vc + I1*R1;

Calculate

rhs-solve

eq1: Ip + If + I1 = I2;

eq2: Vout = Vmax - Ip...

eq3: Vout = Vc + If *...

Calculate

rhs-solve

m: 8.1;

R: 0.33;

t: 18;

Calculate

rhs-solve

Polynom:y=a*x^3+b*x^2...

f(x):=rhs(Polynom);

g1:f(-5)=0;

Calculate

rhs-solve

eq1:z^5+1=0;

solns():=''solve(eq1);

rhs(%);

Calculate

rhs

f:x=t^2;

rhs(f);

Calculate

rhs-solve

x1(t):=(60/3.6)*t;

eq1:x1(tr)=5000;

tsol:solve(eq1, tr);

Calculate

rhs-solve

f(x,y):=x[1]*y[1]+x[1...

a1:[1,3,3,-1];

a2:[3,-1,-4,5];

Calculate