You are on page 1of 2

x=linspace(0,5,100)

x=
Columns 1 through 12:
0 0.0505 0.1010 0.1515 0.2020 0.2525 0.3030 0.3535 0.4040 0.4545 0.5051
0.5556
Columns 13 through 24:
0.6061 0.6566 0.7071 0.7576 0.8081 0.8586 0.9091 0.9596 1.0101 1.0606 1.1111
1.1616
Columns 25 through 36:
1.2121 1.2626 1.3131 1.3636 1.4141 1.4646 1.5152 1.5657 1.6162 1.6667 1.7172
1.7677
Columns 37 through 48:
1.8182 1.8687 1.9192 1.9697 2.0202 2.0707 2.1212 2.1717 2.2222 2.2727 2.3232
2.3737
Columns 49 through 60:
2.4242 2.4747 2.5253 2.5758 2.6263 2.6768 2.7273 2.7778 2.8283 2.8788 2.9293
2.9798
Columns 61 through 72:
3.0303 3.0808 3.1313 3.1818 3.2323 3.2828 3.3333 3.3838 3.4343 3.4848 3.5354
3.5859
Columns 73 through 84:
3.6364 3.6869 3.7374 3.7879 3.8384 3.8889 3.9394 3.9899 4.0404 4.0909 4.1414
4.1919
Columns 85 through 96:
4.2424 4.2929 4.3434 4.3939 4.4444 4.4949 4.5455 4.5960 4.6465 4.6970 4.7475
4.7980
Columns 97 through 100:
4.8485 4.8990 4.9495 5.0000
>> p=@(x)x.^2-3*x+2
p=
@(x) x .^ 2 - 3 * x + 2
>> q=@(x)2*x.^2+x-3
q=
@(x) 2 * x .^ 2 + x - 3
>> plot(x,p(x),x,q(x));
title('polinomios')

You might also like