Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Math Equation Maker!  (Read 2585 times)

0 Members and 1 Guest are viewing this topic.
Math Equation Maker!
« on: September 23, 2007, 01:16:58 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 178
I was bored. Really bored. Decided to make a Math Equation Maker!
Can be found right here!

There's some insane equations such as:

33/X-45+20x5=55 (define X)
48+77/129x24
35-14x128+17.5/32

If you'd want the script or something, just ask. xD And again, I was bored... And if this is in wrong section, sorry, I don't know which board to show off work. :(
Logged

Fox

Turnbeutelvergesser since 1988.
Re: Math Equation Maker!
« Reply #1 on: September 23, 2007, 04:04:49 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 4062
Is "33/X-45+20x5=55 (define X)" even possible...? From what I can tell, X is zero, and you can't divide by zero. And you cannot do that as the following visualization shows.



Very entertaining though!
« Last Edit: September 23, 2007, 04:06:30 pm by Fox »
Logged
  • Me on deviantART
Re: Math Equation Maker!
« Reply #2 on: September 23, 2007, 04:15:27 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1141
33/X-45+20x5=55
33/X-45+100=55
33/X+55=55
33/X=0
33=0X
X=33/0

X isn't 0, X is 33/0. Thus, 33/X = 33x0/33 = 0.
It doesn't matter though, you only have to say X is not a real number.
Logged
Re: Math Equation Maker!
« Reply #3 on: September 23, 2007, 04:56:24 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 178
It's impossible for X to be 0, since it uses a random number between 1 and 100.

And yes, all the equations are solvable, if you press CTRL+A you will see the answer to the equation. (it rounds the final answer, so if you answer it yourself and get decimals, just round it)
Logged
Re: Math Equation Maker!
« Reply #4 on: September 23, 2007, 05:09:33 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1141
Wait a minute...
This equation: 33/X-45+20x5=55
Is it read as (33/X-45+20)x5=55 or as 33/X-45+(20x5)=55?
Logged
Re: Math Equation Maker!
« Reply #5 on: September 23, 2007, 05:14:47 pm »
  • *whistle*
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2224
Wait a minute...
This equation: 33/X-45+20x5=55
Is it read as (33/X-45+20)x5=55 or as 33/X-45+(20x5)=55?

It should be (33/x) - 45 + (20*5) = 55, since that's the standard way of multiplying.
Logged

Fox

Turnbeutelvergesser since 1988.
Re: Math Equation Maker!
« Reply #6 on: September 23, 2007, 05:24:05 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 4062
Wait a minute...
This equation: 33/X-45+20x5=55
Is it read as (33/X-45+20)x5=55 or as 33/X-45+(20x5)=55?

It should be (33/x) - 45 + (20*5) = 55, since that's the standard way of multiplying.
Yeah, and x cannot make use of a random number other than zero. If you put any other number than 0 for x, it wouldn't be equal to 55 anymore.

I guess sjegtp is right though, you probably just have to say that X=33/0. Although that still doesn't make sense.
Logged
  • Me on deviantART
Re: Math Equation Maker!
« Reply #7 on: September 23, 2007, 05:46:14 pm »
  • *whistle*
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2224
Which is rather to say that x = infinity, or 33/x is 0.
Logged
Re: Math Equation Maker!
« Reply #8 on: September 23, 2007, 05:55:45 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1141
I think I know what's wrong:
The right side of the equation is round, not necessarily the answer (when X is the answer, X is in the left side, but it's the right side that is round).
So:
33/X-45+20x5=between 54.5 and 55.5
33/X+55=between 54.5 and 55.5
33/X = between -0.5 and 0.5
X/33 = less than -2 or more than +2
X = less than -66 or more than +66
Logged
Re: Math Equation Maker!
« Reply #9 on: September 23, 2007, 05:57:49 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 178
For the hell of it;

Code: [Select]
Removed

Oh and, the script calculates the equation the correct way (multiplication and division first, then addition and subtraction). :O I had no idea it did that, so it's cool how it knows how. :)
« Last Edit: September 24, 2007, 01:21:37 pm by Frebby »
Logged

Fox

Turnbeutelvergesser since 1988.
Re: Math Equation Maker!
« Reply #10 on: September 23, 2007, 05:58:26 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 4062
I think I know what's wrong:
The right side of the equation is round, not necessarily the answer (when X is the answer, X is in the left side, but it's the right side that is round).
So:
33/X-45+20x5=between 54.5 and 55.5
33/X+55=between 54.5 and 55.5
33/X = between -0.5 and 0.5
X/33 = less than -2 or more than +2
X = less than -66 or more than +66
But the right side of the equity is EXACTLY 55. Not more and not less.
Logged
  • Me on deviantART
Re: Math Equation Maker!
« Reply #11 on: September 23, 2007, 06:03:01 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1141
But the right side of the equity is EXACTLY 55. Not more and not less.

(it rounds the final answer, so if you answer it yourself and get decimals, just round it)

Frebby said it rounds the final answer, but in fact it rounds the right side of the equation.
Logged
Re: Math Equation Maker!
« Reply #12 on: September 23, 2007, 06:06:22 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 178
Here's the script for the X equation: (not full, just parts of my whole script)

Code: [Select]
Removed
As you can see, I'm rounding the answer only. :O
« Last Edit: September 24, 2007, 01:21:22 pm by Frebby »
Logged
Re: Math Equation Maker!
« Reply #13 on: September 23, 2007, 06:09:28 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1141
Mmm... yeah that's it; $xanswer (the right side of the equation) is round, $numberx is normal.
Logged
Re: Math Equation Maker!
« Reply #14 on: September 23, 2007, 06:16:33 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 178
So to tell you, there IS a number for X, and it's not 0 and it's not infinite and it's not 33/x or whatever you said. XD And I know it works, I've tried it myself. Too bad I just can't view the answer for this equation so it would solve our confusions. XD

x = 70 - 100 (somewhere around there)

'cause if we take x = 100, for example,

33/100-45+20x5=55
0,33-45+100=55
-44,67+100=55
55,33=55

And since it's rounded..

55=55

:O

EDIT: Bleh, screw that. XD I fixed the thing, so in the "define X" equation I havne't rounded the answer, since that's what was frakking things up. I asked my math teacher today aswell, lmao. XD And I found out I only got 6 out of 20+ points on the math test I had. :( FAIL ;-;
« Last Edit: September 24, 2007, 01:18:57 pm by Frebby »
Logged
Re: Math Equation Maker!
« Reply #15 on: September 24, 2007, 05:15:58 pm »
  • IBV
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 1075
Which is rather to say that x = infinity, or 33/x is 0.

No, x is just undefined. It is impossible to have infinity as part of the definition-set, thus x is undefined and the equation is non-solvable. (a/0 != inf and 1/inf != 0, for the reason that inf is not a number, it's a symbol, x can only be a number, not a symbol)

Other than that rounding the equation without having it IN the equation makes no sense <_<; Frebby can't expect us to solve the unsolvable. If rounding is part of the equation it needs to be in the equation (otherwise, how are we going to know!?). However, doing that just makes in unnecessarily hard and still makes no sense at all. Now I can't see the source code that generated these, but it seems like you are saying the x always will be undefined, and in that case it's not really "insanely hard" (the answer is just that it's unsolvable, x is not part of the definition set). Heck, even if x was part of the definition set it's still just a linear equation, it's the most easiest thing ever. Only constant equation is easier, and that's because it's per definition already solved :P
Logged
My signature is empty.
Re: Math Equation Maker!
« Reply #16 on: September 25, 2007, 09:47:09 pm »
  • *whistle*
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2224
Which is rather to say that x = infinity, or 33/x is 0.

No, x is just undefined. It is impossible to have infinity as part of the definition-set, thus x is undefined and the equation is non-solvable. (a/0 != inf and 1/inf != 0, for the reason that inf is not a number, it's a symbol, x can only be a number, not a symbol)

Infinity as a theoretical number. It makes sense, dammit. <__<
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.034 seconds with 71 queries.

anything