About 50 results
Open links in new tab
  1. Have I implemented the Square function correctly? - Stack Overflow

    Jul 29, 2018 · I decided to write a simple program to square a number using functions. I get the desired output, however I would like to know if I have implemented it correctly?

  2. How to write a square function in Matlab? - Stack Overflow

    May 13, 2022 · I am trying to write a code in Matlab to generate a square function as shown in the attached figure. When I tried coding this in Matlab, I got a trapezoid function instead of a perfect square.

  3. Writing your own square root function - Stack Overflow

    Oct 26, 2009 · 82 How do you write your own function for finding the most accurate square root of an integer? After googling it, I found this (archived from its original link), but first, I didn't get it …

  4. Square root function in VBA, Excel - Stack Overflow

    Apr 28, 2017 · What is the square root function in VBA excel? I tried SQRT() and Root() but none of them are working, my Excel version in 2013.

  5. Making a square() function without x*x in C++ - Stack Overflow

    Mar 23, 2016 · Implement square () without using the multiplication operator; that is, do the x*x by repeated addition (start a variable result at 0 and add x to it x times). Then run some version of “the …

  6. python - Squaring all elements in a list - Stack Overflow

    I am told to Write a function, square(a), that takes an array, a, of numbers and returns an array containing each of the values of a squared. At first, I had def square(a): for i in a: prin...

  7. scikit learn - Is there a library function for Root mean square error ...

    Jun 20, 2013 · What is RMSE? Also known as MSE, RMD, or RMS. What problem does it solve? If you understand RMSE: (Root mean squared error), MSE: (Mean Squared Error) RMD (Root mean …

  8. How to plot square function with matplotlib - Stack Overflow

    Feb 23, 2016 · How to plot square function with matplotlib Asked 9 years, 11 months ago Modified 5 years ago Viewed 11k times

  9. recursion - Java Square function - Stack Overflow

    Apr 25, 2013 · They are all identical in the resulting function. sq uses a while loop while implementSq uses a for loop. recSq is a recursive function that calls itself a n - 1 (until n equals zero) adding2* (n - …

  10. Function to calculate R2 (R-squared) in R - Stack Overflow

    Dec 1, 2016 · 102 You need a little statistical knowledge to see this. R squared between two vectors is just the square of their correlation. So you can define you function as: