How can I solve x^4-1=0

9 views (last 30 days)
Adewale Hamzat
Adewale Hamzat on 7 Dec 2021
Edited: James Tursa on 7 Dec 2021

I want to write that and code it in matlab

Answers (3)

Yusuf Suer Erdem
Yusuf Suer Erdem on 7 Dec 2021
Edited: Yusuf Suer Erdem on 7 Dec 2021
syms x
eqn=x^4-1==0
s=solve(eqn)
  1 Comment
John D'Errico
John D'Errico on 7 Dec 2021
Please do not do obvious homework assignments for students. It does not help the student, except to teach them they can often find someone willing to do their work for them.

Sign in to comment.


Sean de Wolski
Sean de Wolski on 7 Dec 2021
x = 1
  2 Comments
John D'Errico
John D'Errico on 7 Dec 2021
Nah. I'm sure is -1.
James Tursa
James Tursa on 7 Dec 2021
Edited: James Tursa on 7 Dec 2021
i imagine it is something else (pun intended)

Sign in to comment.


James Tursa
James Tursa on 7 Dec 2021
doc roots

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!