Find x in provided equation! - MATLAB Cody - MATLAB Central

Problem 43156. Find x in provided equation!

Difficulty:Rate

x^2-2*x+1=0

This polynomial can be expressed by using each term's coefficients, such as

[1 -2 1].

Using the polynomial that are expressed by coefficients, calculate solution x. (hint: use "roots")

Solution Stats

74.03% Correct | 25.97% Incorrect
Last Solution submitted on Sep 12, 2025

Problem Comments

Solution Comments

Show comments
MATLAB EXPO 2025 Registration is Now Open! November 12 – 13, 2025
Registration is now open for MathWorks annual virtual event MATLAB EXPO 2025...
0

Problem Recent Solvers112

Suggested Problems

More from this Author27

Community Treasure Hunt

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

Start Hunting!