Re: Maxima digest, Vol 1 #988 - 16 msgs



--- maxima-request@math.utexas.edu wrote:

> Send Maxima mailing list submissions to
> 	maxima@math.utexas.edu
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://www.math.utexas.edu/mailman/listinfo/maxima
> or, via email, send a message with subject or body
> 'help' to
> 	maxima-request@math.utexas.edu
> 
> You can reach the person managing the list at
> 	maxima-admin@math.utexas.edu
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Maxima digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: a newbe question    ----  divide (Doug
> Stewart)
>    2. turn off questions (Ron Crummett)
>    3. Re: turn off questions (Robert Dodier)
>    4. a newbe question ---- divide inconsistancies
> between 591 and 592 (Doug Stewart)
>    5. Re: a newbe question ---- divide (Stavros
> Macrakis)
>    6. using plotdf (Fred J.)
>    7. triangularize behaving unexpectedly (Fred J.)
>    8. Re: a newbe question ---- divide (Doug
> Stewart)
>    9. Re: triangularize behaving unexpectedly
> (Raymond Toy)
>   10. Re: triangularize behaving unexpectedly
> (Barton Willis)
>   11. Re: triangularize behaving unexpectedly
> (Robert Dodier)
>   12. Re: a newbe question ---- divide
> inconsistancies between 591 and 592 (Robert Dodier)
>   13. Re: a newbe question ---- divide
> inconsistancies between
>        591 and 592 (Doug Stewart)
>   14. Re: a newbe question ---- divide
> inconsistancies between
>        591 and 592 (Doug Stewart)
> 
> --__--__--
> 
> Message: 1
> Date: Thu, 27 Oct 2005 18:59:49 -0500
> From: Doug Stewart 
> To: macrakis@alum.mit.edu
> CC: maxima@math.utexas.edu
> Subject: Re: [Maxima] a newbe question    ---- 
> divide
> 
> Stavros Macrakis wrote:
> 
> >> a:(s3+B*s2+C*s+d)/(s+a);
> >
> >> I would like to do this division and get the
> quadratic and the remainder
> >> both out as a formula to use later.
> >> How do I do this?
> >
> > Is this what you have in mind?
> >
> > (%i1) expr:(s^3+B*s^2+C*s+d)/(s+a);
> >
> >                      3      2
> >                     s  + B s  + C s + d
> > (%o1)               -------------------
> >                            s + a
> >
> > (%i2) divide(part(expr,1),part(expr, 2));
> 
> 
> 
> Yes.
> 
> Now I have another question.
> this is my batch file  pidmath.mac
> 
> kill(all);
> pid:(KD*s^2+KP*s+KI)/s;
> plant:64/(s^2+12*s+32);
> cl:pid*plant/(1+pid*plant);
> careq1:denom(cl),ratsimp;
> careq:careq1=0;
> q1:divide(careq1,(s+a));
> quadr1:part(q1,1);
> rem:part(q1,2);
> 
> /* now set a=(real part of complex roots)  */
> 
> a1:part(quadr1,2)/(2*s),ratsimp;
> a2:a1=a;
> a3:solve(a2,a);
> /* now set up the settling time*/
> Ts:1;
> Ts1:5/a1=Ts,ratsimp;
> 
> rr:solve([a2,Ts1],[KD , a]);
> rr1:rr[1];
> KD1:rr1[1];
> aa1:rr1[2];
>
eq3:(part(quadr1,3)^2)*2/sqrt(2)=part(quadr1,2)/s,ratsimp;
> solve([eq3,KD1,aa1],[KP]);
> 
> 
> So far I have all the correct answers but the last
> line does not work????
> why can't it solve these 3 equations for KP?
> 
> My goal is the have Maxima show all the steps that
> are in the text book 
> that I am teaching from.
> There are about 3 more steps to go.
> 
> Doug Stewart
> 
> 
> --__--__--
> 
> Message: 2
> Date: Thu, 27 Oct 2005 17:58:48 -0700
> From: Ron Crummett 
> To: maxima@math.utexas.edu
> Subject: turn off questions
> 
> Hi -
> 
> I am working on an integration problem and I get
> asked about four or 
> five times if certain expressions are
> positive/negative/zero.  Normally 
> I don't mind this, but in this case I really don't
> know and Maxima 
> doesn't seem to care, because no matter what answers
> I give I get the 
> same result.  Is it possible to turn off the
> questions somehow?
> 
> Thanks,
> 
> -Ron
> 
> 
> --__--__--
> 
> Message: 3
> Date: Thu, 27 Oct 2005 22:42:36 -0600
> From: Robert Dodier 
> To: Ron Crummett 
> Subject: Re: [Maxima] turn off questions
> Cc: maxima@math.utexas.edu
> 
> Hi Ron,
> 
> > I am working on an integration problem and I get
> asked about four or
> > five times if certain expressions are
> positive/negative/zero.  Normally
> > I don't mind this, but in this case I really don't
> know and Maxima
> > doesn't seem to care, because no matter what
> answers I give I get the
> > same result.  Is it possible to turn off the
> questions somehow?
> 
> See "assume_pos" which can turn off some interactive
> queries.
> There isn't a way to turn off all sign queries.
> 
> By the way, I would be interested to know what are
> the integrals
> you're working with. I'd like to figure out a way to
> supersede
> the sign queries, so your examples can help me.
> 
> best,
> Robert Dodier
> 
> 
> --__--__--
> 
> Message: 4
> Date: Fri, 28 Oct 2005 08:15:13 -0500
> From: Doug Stewart 
> CC: maxima@math.utexas.edu
> Subject: a newbe question ---- divide
> inconsistancies between 591 and 592
> 
> Using the code given latter,  I get different
> results from 5.9.1 and 5.9.2.
> The difference is in the results of the divide
> function. In 5.9.1 the 
> results are ordered in powers of  "s" which is what
> you would expect but 
> 5.9.2 does not do this. How do I force 5.9.2 to
> order 
=== message truncated ===



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com