About 532,000 results
Open links in new tab
  1. JavaScript code that calculates the squares and cubes from 0 to 10

    Write a JavaScript that calculates the squares and cubes of the numbers from 0 to 10 and outputs HTML text that displays the resulting values in an HTML table format.Â

  2. What's the fastest way to square a number in JavaScript?

    What's the fastest way to square a number in JavaScript? function squareIt (number) { return Math.pow (number,2); } function squareIt (number) { return number * number; } Or some other …

  3. Calculate squares and cubes of numbers in JavaScript

    Here you will learn program code to calculate squares and cubes of numbers in JavaScript using HTML language.

  4. Calculates the Squares And Cubes of The Numbers in JavaScript

    Feb 24, 2023 · write a javascript that calculates the squares and cubes of the numbers from 0 to 10 and outputs HTML text that displays the resulting values in an HTML table format. print a …

  5. math.js | an extensive math library for JavaScript and Node.js

    Compute the cube of a value, x * x * x. To avoid confusion with pow(M,3), this function does not apply to matrices. If you wish to cube every entry of a matrix, see the examples. Type | …

  6. Skillpundit | To Find Square and Cube of a given number In JavaScript

    In this program you will learn about how to find the Square and Cube of a given number using JavaScript. This program will helpful to calculate square and cube of a number. And then by …

  7. JavaScript Math cbrt () Method - W3Schools

    The Math.cbrt() method returns the cubic root of a number. Required. A number. The cube root of the number. Math.cbrt() is an ECMAScript6 (ES6) feature. ES6 (JavaScript 2015) is supported …

  8. javascript prgram to find square and and cube of number

    Mar 13, 2025 · Define a function named 'calculateSquareAndCube' that takes one parameter 'number'. Inside the function, calculate the square of the number by multiplying it by itself: 'let …

  9. Math.cbrt () - JavaScript | MDN

    Mar 5, 2025 · The Math.cbrt() static method returns the cube root of a number. That is \mathtt {\operatorname {Math.cbrt} (x)} = \sqrt [3] {x} = \text {the unique } y \text { such that } y^3 = x

  10. JavaScript Math.cbrt () Examples [In-Depth Tutorial]

    Feb 19, 2023 · The Math.cbrt() function is a useful JavaScript method that allows you to find the cube root of a number. It can be used in a variety of mathematical and scientific calculations, …

  11. Some results have been removed
Refresh