update ok
update ok
This commit is contained in:
parent
e81b39ba26
commit
c9fe6c6ab9
28
07/Solutions #07/equations/equations #07 .sagews
Normal file
28
07/Solutions #07/equations/equations #07 .sagews
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
︠5416f131-01fd-436e-9664-aa14bd0aabc3s︠
|
||||||
|
a = x^6-9*x^5+10*x^4+18*x^3+49*x^2+135*x+84==0
|
||||||
|
a
|
||||||
|
solve(a,x)
|
||||||
|
︡bc58cd50-b069-45dc-bc96-d9b13b0e51e2︡{"stdout":"x^6 - 9*x^5 + 10*x^4 + 18*x^3 + 49*x^2 + 135*x + 84 == 0\n"}︡{"stdout":"[x == 7, x == 4, x == -I*sqrt(3), x == I*sqrt(3), x == -1]"}︡{"stdout":"\n"}︡{"done":true}︡
|
||||||
|
︠ffd4bab5-4f7d-4404-9ef4-79631dd7bed9s︠
|
||||||
|
|
||||||
|
b = x^3 - 5*x^2 + 8*x - 40 == 0
|
||||||
|
b
|
||||||
|
solve(b ,x)
|
||||||
|
︡7065b655-9537-4047-a96e-97c05786df9a︡{"stdout":"x^3 - 5*x^2 + 8*x - 40 == 0\n"}︡{"stdout":"[x == -2*I*sqrt(2), x == 2*I*sqrt(2), x == 5]\n"}︡{"done":true}︡
|
||||||
|
︠1e9100f4-6476-47ae-821b-63e72d2e47abs︠
|
||||||
|
'''En el intervalo [0, pi]'''
|
||||||
|
show(n(pi))
|
||||||
|
c = cos (x) == x
|
||||||
|
c
|
||||||
|
c.find_root(0, pi)
|
||||||
|
︡59c168ca-72f2-4d44-b2e5-a06eb4807ace︡{"stdout":"'En el intervalo [0, pi]'\n"}︡{"html":"<div align='center'>$\\displaystyle 3.14159265358979$</div>"}︡{"stdout":"cos(x) == x\n"}︡{"stdout":"0.7390851332151607\n"}︡{"done":true}︡
|
||||||
|
︠47410d9c-3edc-4365-91b6-36d1a2306247︠
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user