Iniciar sesiónCrear cuenta

# Matlab - RootOf????

Vista:

## RootOf????

Publicado por Juan Carlos Rubio (4 intervenciones) el 14/03/2013 04:33:59
Tengo
> >syms pao
>> t=300;
>>k2 =1.3436;
>>k4 = 1.3519e-004;
>> solve('pao+k2*pao^2+k4*pao^4-16')

ans =

RootOf(X14^4*k4 + X14^2*k2 + X14 - 16, X14)

Necesito hallar a la variable 'pao' y me da eso.... q pasa? q hago?
Valora esta pregunta
0

## RootOf????

Publicado por JOSÉ JEREMÍAS CABALLERO jjcc94@hotmail.com (4037 intervenciones) el 14/03/2013 15:56:01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
`display('%1RA FORMA')`
`clear all`
`syms x;`
`k2=1.3436;`
`k4=1.3519e-004;`
`ecua=x+k2*x^2+k4*x^4-16;`
`raices1=solve(ecua),`
`E=inline(ecua),`
`ecua_evaluada1=E(raices1)`
` `
`display('%2DA FORMA')`
`clear all`
`syms x;`
`k2=1.3436;`
`k4=1.3519e-004;`
`ecua=x+k2*x^2+k4*x^4-16;`
`Pol=sym2poly(ecua),`
`raices2=roots(Pol)`
`ecua_evaluada2=polyval(Pol,raices2)`

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
`EJECUCION`
`>> raicess`
```%1RA FORMA
```
` `
`raices1 =`
` `
`                                        3.0973797097379384773022608138816`
`                                       -3.8398306932255255553810469715321`
` 0.37122549174379353903939307882524 - 99.754256877463969971227061415625*i`
` 0.37122549174379353903939307882524 + 99.754256877463969971227061415625*i`
` `
` `
`E =`
` `
`     Inline function:`
`     E(x) = x+x.^2.*1.3436+x.^4.*1.3519e-4-1.6e1`
` `
` `
`ecua_evaluada1 =`
` `
`                                          -1.1461069920517303202695181237917e-37`
`                                            7.135250709491285173370230780939e-36`
` 3.0092655381050560203999655352889e-36 + 1.0428985880495334770698630558236e-34*i`
` 3.0092655381050560203999655352889e-36 - 1.0428985880495334770698630558236e-34*i`
` `
```%2DA FORMA
```
` `
`Pol =`
` `
`    0.0001         0    1.3436    1.0000  -16.0000`
` `
` `
`raices2 =`
` `
`   0.3712 +99.7543i`
`   0.3712 -99.7543i`
`  -3.8398`
`   3.0974`
` `
` `
`ecua_evaluada2 =`
` `
`   1.0e-10 *`
` `
`  -0.2078 + 0.0019i`
`  -0.2078 - 0.0019i`
`        0`
`        0`

Saludos.
JOSE JEREMÍAS CABALLERO
Asesorías en Matlab