Problem 61085. Return the Square of a Number

  • Created by CJ
Write a function that takes a single numeric input x and returns its square.
That is, given x, your function should output x^2.

Solution Stats

92.31% Correct | 7.69% Incorrect
Last Solution submitted on Jan 03, 2026

Solution Comments

Show comments

Problem Recent Solvers24

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!