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

91.67% Correct | 8.33% Incorrect
Last Solution submitted on Dec 13, 2025

Solution Comments

Show comments

Problem Recent Solvers22

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!