Recently, I made a program that detects prime numbers and non-prime numbers! It's very complicated! Here it is! Javascript: function isPrime() { //all the variables var num = prompt("What is the number you seek?"); var squarerooted = Math.sqrt(num); //defines the square root of num var primeTrue = false; // the true/false determiner var i = … Continue reading My new program
Tag: Confusing
Which is closer to 16: 32 or 17?
In a +1 way, it's 17. But in a PRIME FACTOR way, it's 32. Why? And which is it? Kindergarten kids: 17Primary: 17Middle School: 17High school: 17College: probably both, but more likely 17University: 15? 17? 32? WHAT?!?!?!?!Real-life mathematicians who only care about supernaturals: 32 What on Earth is a SuPeRnAtUrAl?!?!?!?!?!?!?!?! If you watch Vi Hart's … Continue reading Which is closer to 16: 32 or 17?
Oh no… imstkaes!
Sorry, but you do know that I am a human, and therefore makes misatkes. But they do help us learn, and I has learned from mi miskates. Here we go! In the Happy 3.141592653589793238462643385279... Day! post, I got the digits in the title wrong. The bold numbers say that it's 5279 in the last few … Continue reading Oh no… imstkaes!
proof that 0.999 … = 1 and that it isn’t
That it is: If x = 0.999 ... , 10x = 9.999 ..., 9x = 10x - x = 9 therefore x=1 = 0.999 ...1/3 = 0.333 ..., 2/3 = 0.666 ..., therefore 3/3 = 1 = 0.999 ... That it isn't: Look, let's do the whole thing, then do it again, only replacing the … Continue reading proof that 0.999 … = 1 and that it isn’t
Well, e.
Last post, I talked about e being used in other stuff. Well, the first example is this!!! e^ia = cos a +isin a. What?!?!?!?! That basically means that e to the power of sqrt(-1)*a (an angle expressed in radians/angles (but be sure to include the degree sign!)) equals the cosine of a plus sqrt(-1)*sin a. … Continue reading Well, e.
