[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Installing Octave
From: |
Tatsuro MATSUOKA |
Subject: |
RE: Installing Octave |
Date: |
Sat, 27 Feb 2010 08:23:17 +0900 (JST) |
Hello
This is a question of octave generak.
Reply is recommended to cc. to help octave ML in addition to the personal
address.
Polynomial equation can be solved easily by the function 'roots'
-- Function File: roots (V)
For a vector V with N components, return the roots of the
polynomial
v(1) * z^(N-1) + ... + v(N-1) * z + v(N)
As an example, the following code finds the roots of the quadratic
polynomial
p(x) = x^2 - 5.
c = [1, 0, -5];
roots(c)
=> 2.2361
=> -2.2361
Note that the true result is +/- sqrt(5) which is roughly +/-
2.2361.
Yo can see the above 'help roots'
Regards
Tatsuro
--- Serge Shumilinwrote:
>
> Hey,
>
>
>
> Thanks for the quick reply. I ended up downloading Octave 3.2.
>
>
>
> I just have a few questions regarding Octave.
>
>
> How would I go about solving a quadratic equation such as;
>
> y=12x^2-5x+11
>
>
>
> Also, how would I solve the above quadratic equation by using a function?
>
>
>
> Once again thanks for you time.
>
>
>
> Serge
>
>
> > Date: Fri, 26 Feb 2010 15:42:43 +0900
> > From: address@hidden
> > Subject: Re: Installing Octave
> > To: address@hidden; address@hidden
> >
> > Hello
> >
> > Welcome to the octave world!
> >
> > However, your inquiry lacks of the detailed information so that no one can
> > reply to you.
> > What version of octave did you try?
> > WHat platform is your PC (e.g. Windows XP, vista, Debian Linux, Mac OSX)?
> > What page did your see for installing ?
> >
> > Octave is multi-platform software. Lack of the detailed information your
> > PC'S environments
> might lead
> > to the no replies.
> >
> > Regards
> >
> > Tatsuro
> >
> >
> >
> > --- Serge Shumilin wrote:
> >
> > >
> > > Hi,
> > >
> > >
> > >
> > > For some reason I can not install Octave onto my computer. Is there a
> > > tutrioral I can
> follow? Or
> > > can you simple just guide me thru?
> > >
> > >
> > >
> > > Your help is appreciated.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Serge
> > > > _______________________________________________
> > > Help-octave mailing list
> > > address@hidden
> > > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> > >
> >
> >
> > --------------------------------------
> > VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
> > http://pr.mail.yahoo.co.jp/olympic/
>
--------------------------------------
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/olympic/
- Installing Octave, Serge Shumilin, 2010/02/25
- RE: Installing Octave,
Tatsuro MATSUOKA <=