Solve for exponent variable
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mohamed Mahmoud
el 24 de Oct. de 2020
Comentada: Mohamed Mahmoud
el 24 de Oct. de 2020
syms x y z a b c Q N P S
Q= x^a
S = solve(Q==(x^4),a)
S-4
% why the answer is not zero and how to make it?
0 comentarios
Respuesta aceptada
Ameer Hamza
el 24 de Oct. de 2020
You need to specify the assumption that .
syms x y z a b c Q N P S
assume(x, 'positive')
Q = x^a
S = simplify(solve(Q==(x^4),a))
S-4
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Function Creation en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!