Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks it works!

Here for everyone the code to show it:

# Solve an equation an use the solution 
mysol=solve([2+x^2==-1],x)
show(mysol)


G = x^3-i
show(G)

newG=G.subs(mysol[0])
show(newG)

[G.subs(j) for j in mysol]

But the trig reduce doesn't work with this code:

f(x,y)= sin(x)*cos(y)+sin(y)*cos(x)
f.trig_reduce()
show(f)



s1=solve([f(x,y)==1],x,y)
show(s1)

Thanks it works!

Here for everyone the code to show it:

# Solve an equation an use the solution 
mysol=solve([2+x^2==-1],x)
show(mysol)


G = x^3-i
show(G)

newG=G.subs(mysol[0])
show(newG)

[G.subs(j) for j in mysol]

But the trig reduce doesn't work with this code:

f(x,y)= sin(x)*cos(y)+sin(y)*cos(x)
f.trig_reduce()
show(f)



s1=solve([f(x,y)==1],x,y)
show(s1)

I still get (x, y) |--> sin(x)cos(y) + sin(y)cos(x)

Thanks it works!

Here for everyone the code to show it:

# Solve an equation an use the solution 
mysol=solve([2+x^2==-1],x)
show(mysol)


G = x^3-i
show(G)

newG=G.subs(mysol[0])
show(newG)

[G.subs(j) for j in mysol]

But the trig reduce doesn't work with this code:

f(x,y)= sin(x)*cos(y)+sin(y)*cos(x)
f.trig_reduce()
show(f)



s1=solve([f(x,y)==1],x,y)
show(s1)

I still get (x, y) |--> sin(x)cos(y) + sin(y)cos(x)