Sponsored links: Algebra eBooks
 

Related

solvetrigwarn

? solvetrigwarn;

Calculate

solvetrigwarn

? solvetrigwarn;

Calculate

solvetrigwarn

Run Example
(%i1)solvetrigwarn:false;
(%o1)                                false
(%i2) ratprint:false;
(%o2)                                false
(%i3) errormsg:false;
(%o3)                                false
(%i4) plot2d(cot(x),[x, 0, 2*%pi], [y, -100, 100]);
plotplot2d(cot(x),[x, 0, 2*%pi], [y, -100, 100]);limit(cot(x), x, %pi, plus);
(%o5)                                 inf
(%i6) limit(cot(x), x, %pi, minus);
(%o6)                                minf
(%i7) is(equal(limit(cot(x), x, %pi, plus), limit(cot(x), x, %pi, minus)));
(%o7)                                false
(%i8) continuous_at(expr, var, at):=block(if(is(equal(limit(expr, var, at, plus),limit(expr, var, at, minus))))then yes else no);
(%o8) continuous_at(expr, var, at) := block(if is(equal(limit(expr, var, at, 
                         plus), limit(expr, var, at, minus))) then yes else no)
(%i9) continuous_at(cot(x), x, %pi/2);
(%o9)                                 yes
(%i10) for i:0 thru 2*%pi step 0.1 do print(continuous_at(cot(x), x, i));
no 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
yes 
(%o10)                               done
(%i11) 
Run Example
? solvetrigwarn;

 -- Option variable: solvetrigwarn
     Default value: `true'

     When `solvetrigwarn' is `true', `solve' may print a message saying
     that it is using inverse trigonometric functions to solve the
     equation, and thereby losing solutions.




(%o1)                                true
(%i2) 
Run Example
n1:500;
(%o1)                                 500
(%i2) len:20;
(%o2)                                 20
(%i3) m=1;
(%o3)                                m = 1
(%i4) lam:525;
(%o4)                                 525
(%i5) eq1:lam1*m1=d1*sin(alpha);
(%o5)                       lam1 m1 = sin(alpha) d1
(%i6) sol1:ev(n1*len);
(%o6)                                10000
(%i7) solvetrigwarn:false;
(%o7)                                false
(%i8)  	eq2:(solve(eq1,alpha));
                                          lam1 m1
(%o8)                       [alpha = asin(-------)]
                                            d1
(%i9) eq3:rhs(eq2[1]);
                                      lam1 m1
(%o9)                            asin(-------)
                                        d1
(%i10) sol2:ev(eq3,lam1=lam,m1=m,d1=sol1);
                                       21 m
(%o10)                            asin(----)
                                       400
(%i11) 

Related Help

Help for Solvetrigwarn