why Solve function does not give correct solution?
Mostrar comentarios más antiguos
I use the following code to obtain the solutions, however, some given solutions do not satisfy the equations, for example, the first one.
syms a b c
eqns = [(a)+(b)+(c)==0, sin(a)==sin(b), sin(b)==sin(c)];
S = solve(eqns);
sol = [S.a,S.b,S.c]
sol =
[ (2*pi)/3, -(2*pi)/3, 0]
[-(2*pi)/3, (2*pi)/3, 0]
[ pi, 0, -pi]
[ 0, pi, -pi]
[ (2*pi)/3, (2*pi)/3, -(4*pi)/3]
[-(2*pi)/3, -(2*pi)/3, (4*pi)/3]
[ 0, 0, 0]
[ (2*pi)/3, 0, -(2*pi)/3]
[ 0, (2*pi)/3, -(2*pi)/3]
[-(2*pi)/3, 0, (2*pi)/3]
[ 0, -(2*pi)/3, (2*pi)/3]
Can anyone help? Thank you so much!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Assumptions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!






