Trabalhos
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave-3.2.4.exe:1> pwd ans = C:\Octave\3.2.4_gcc-4.4.0\bin octave-3.2.4.exe:2> edit octave-3.2.4.exe:3> x=[1, 1.25, 1.5, 1.75, 2] x =
1.0000 1.2500 1.5000 1.7500 2.0000
octave-3.2.4.exe:4> y=[20, 18, 15.5, 13.7, 12] y =
20.000 18.000 15.500 13.700 12.000
octave-3.2.4.exe:5> lagrage(x,y) warning: function name `lagrange' does not agree with function file name `C:\Oct ave\3.2.4_gcc-4.4.0\bin\lagrage.m' ans =
-19.200 118.400 -266.800 251.600 -64.000
L=(-19.2)*1.6^4+((118.4)*1.6^3)+((-266.8)*1.6^2)+(251.6*1.>
L = 14.689 octave-3.2.4.exe:8> x=0:0.01:10; octave-3.2.4.exe:9> y=(-19.2)*x^4+((118.4)*x^3)+((-266.8)*x^2)+(251.6*x)-64 error: for A^b, A must be square octave-3.2.4.exe:9> y=(-19.2).*x^4+((118.4).*x^3)+((-266.8).*x^2)+(251.6.*x)-64 error: for A^b, A must be square octave-3.2.4.exe:9> y=-19.2.*x^4+(118.4.*x^3)+(-266.8.*x^2)+(251.6.*x)-64 error: for A^b, A must be square octave-3.2.4.exe:9> y=-19.2.*x^4+118.4.*x^3-266.8.*x^2+251.6.*x-64 error: for A^b, A must be square octave-3.2.4.exe:9> x=0:0.01:100 octave-3.2.4.exe:10> x=0:0.01:100; octave-3.2.4.exe:11> y= (-19.2)*x^4+((118.4)*x^3)+((-266.8)*x^2)+(251.6*x)-64 error: for A^b, A must be square octave-3.2.4.exe:11> y=