System solver!

Project

This uses Grid Search method to solve for the two-variable system.
See inside to see the blocks!

Formula

The result for the system \begin{cases} f(x,y) = 0 \\ g(x,y) = 0 \end{cases} is the x and y value of \min\limits_{x,y\in \R} [\{f(x, y)\}^2+\{g(x, y)\}^2].

Notice

The slice with[]items represents the interval count.

Note

I used the ‘Grid Search’ method to solve for the system. So it contains the slice with[]items label.

Off-topic

So @mobility212 found that this topic’s ID is 22222 (Which can be obtained by the code below), I will give this user a prize in July 25th 10:00 AM at GMT+9.

function repeatString(stringToRepeat, repeatAmount) {
  let repetitionResult = '';
  for (let index = 0; index < repeatAmount; index++) {
    repetitionResult += stringToRepeat;
  }
  return repetitionResult;
}
console.log(repeatString('2', 5).parseInt());
Off-topic

Why not use +('2'.repeat(5))?

Or better yet, do it in Snap!?

(($+ to $+ float $+((x)) $+::operators)) ::hat
report ((x ::variables) × (1) $<:>)

to float(join input list: (reshape [2] to (5) $<:>)) ::operators reporter

스냅블록 쓰지 말아주세요 그냥 이 스크립트를 그림파일로 내보내기 기능 쓰세요

please don’t use snap blocks just use the export this script as picture file function.

You aren’t supposed to use another language as it makes moderating wildly hard for admins.

snap blocks works well though for small scripts, why not?

those two are the same.
also i can’t use a translator because i was in rich text mode to translate phrases so that everyone can see the post but i accidentally clicked on a quote whole post button and can’t translate by selecting.

That’s what I figured, but I genuinely had the worst wifi I could imagine where I was then so I wasn’t able to translate it.

I was wondering what the “tolerance” is in the project? Is this rounding?

Chill and let’s stop the war.

Yes, the result is rounded to the nearest tolerance value.

This isn’t a war, I just wanted to tell you a rule that already exists so you don’t get your post deleted. I apologize if that was annoying.

Wait… my post between @onu032001’s and yours got flagged for being “inappropriate”; all I said is that I wouldn’t say that this is a war. (Because it isn’t)

Was I supposed to say “this isn’t a war” instead of “I wouldn’t call this a war”??

No clue, the flag doesn’t make sense to me.