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.

I(i):=-i/(s*R*C);
eq1: Vhp=Vin+Vlp-d*(tilt*Vbp1-0.5*Vbp2+(1/tilt)*Vbp3);
eq2: Vbp1=I(Vhp);
eq3: Vbp2=I(Vbp1);
eq4: Vbp3=I(Vbp2);
eq5: Vlp=I(Vbp3);
eq6: linsolve([eq1,eq2,eq3,eq4,eq5],[Vhp,Vbp1,Vbp2,Vbp3,Vlp]);
eq7: (eq6),s=%i*2*%pi*f,R=100000,C=100e-12,d=1,Vin=1.0,tilt=0.667;
db(v):=20*log(abs(v))/log(10);
plot2d([db(rhs(eq7[1])),db(rhs(eq7[2])),db(rhs(eq7[3])),db(rhs(eq7[4])),db(rhs(eq7[5]))],[f,8000,80000],[logx]);

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-sqrt-tan

1/* Bei einem rechtwi...

alphaG:32.59;

a:5.39;

Calculate

rhs-solve

mp: 70;

R: 2.1;

md: 187;

Calculate

rhs

answer: x+y=2;

rhs(answer);

Calculate

rhs-sin-solve

solve(x^2+3*sin(x/(2)...

rhs(%o1);

Calculate

rhs-solve

e1: j0 + m1 * d = J0 ...

s1: solve(e1, d);

D: rhs(s1[1]);

Calculate

rhs-solve

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

f(x):=rhs(Polynom);

g1:f(-5)=0;

Calculate

rhs-solve-sqrt

eq1: -4.9*t^2 + (25.8...

res1: solve(eq1, t);

res1[2];

Calculate

rhs-solve

f(x):=2*x+1;

solve(f(x)=0,x);

x0:rhs(sol[1]);

Calculate

rhs-solve

g1: F_H+F_N2=F_N1;

g2: F_N1*38=F_N2*100;

sol1:solve([g1,g2],[F...

Calculate

rhs

eq1:F = 1/(R*p*L);

eq2:G = kP+kI/p;

eq3: rhs(eq1)*rhs(eq2...

Calculate