Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Math-sasi... first time I needed you...
12
Math-sasi... first time I needed you...
2007-09-09, 7:29 PM #1
I've been working for two weeks on this huge 10 page math thing, and I'm almost done. I have however a few things that kind of have me stumped.

How am I supposed to graphically represent this:

[CENTER]{x|-4≤x<2}[/CENTER]
Nothing to see here, move along.
2007-09-09, 7:31 PM #2
Uh, a number line from -4 (inclusive) to 2, exclusive?
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2007-09-09, 7:34 PM #3
Originally posted by Emon:
Uh, a number line from -4 (inclusive) to 2, exclusive?


Umm... excuse me? I don't understand what you're asking me. I'm just copying it directly off the sheet here. It may contain an error or something. But I have no idea how to work those. :psyduck:
Nothing to see here, move along.
2007-09-09, 7:36 PM #4
If you didn't understand that you should probably pay better attention in class. :/
2007-09-09, 7:39 PM #5
Originally posted by Rob:
If you didn't understand that you should probably pay better attention in class. :/


We didn't see this in class, our teacher says were supposed to already have learned it last year, but no one in my old school never saw this. Probably because our math teacher didn't teach us anything just sat in a corner listening to music and talking with the girls. I knew it was going bite us sooner or later.
Nothing to see here, move along.
2007-09-09, 7:42 PM #6
Draw a flat horizontal line. Put 0 in the middle, with equally spaced dash marks going both ways. Number the dashes going out from 0 to the right 1, 2, 3, 4, and so on. Do the same to the left with negative numbers, like -1, -2, -3, so on. Draw a filled-in circle on the dash mark for -4, and draw a circle on the dash mark for 2, but don't fill it in. Shade the line in between the two circles so you know that X could be anywhere on that line. What -4<x<2 is saying, is that x is greater than or equal to -4, and at the same time less than 2. It could be any number in between, and that's what the line graph is representing.

Ta-da.
DO NOT WANT.
2007-09-09, 7:43 PM #7
Dude. I'm in Algebra 2. I know how to graph that.

Are you KIDDING me? Give me like 5 minutes and I'll be back with an MS Paint.

Oh no...nevermind. Zell already explained it, and I'm not going to do your math homework for you. Especially when it's that easy.
I had a blog. It sucked.
2007-09-09, 7:44 PM #8
Originally posted by Zell:
Draw a flat horizontal line. Put 0 in the middle, with equally spaced dash marks going both ways. Number the dashes going out from 0 to the right 1, 2, 3, 4, and so on. Do the same to the left with negative numbers, like -1, -2, -3, so on. Draw a filled-in circle on the dash mark for -4, and draw a circle on the dash mark for 2, but don't fill it in. Shade the line in between the two circles so you know that X could be anywhere on that line. What -4<x<2 is saying, is that x is greater than or equal to -4, and at the same time less than 2. It could be any number in between, and that's what the line graph is representing.

Ta-da.


So its pretty much x = [-4,2)
Nothing to see here, move along.
2007-09-09, 7:45 PM #9
ugh, don't tell him.

two seconds on google and he'd have a better answer than any of us could have given him. his teacher taught it and he never paid attention. If you seriously never learned anything then drop the class and retake last years' math class, because you're screwed.
2007-09-09, 7:45 PM #10
That too...

Seriously I learned this stuff when I was in 8th grade. What kind of school do you even go to?
DO NOT WANT.
2007-09-09, 7:45 PM #11
That's exactly what I told you.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2007-09-09, 7:47 PM #12
What are the directions? There have to be directions. Because {x|-4<x<2} on its own doesn't mean anything. Is it D = {x|-4<x<2} or just the original?

Edit- well it DOES mean something, but it doesn't give you anything to do with the numbers.

What's the math class you're in?
I had a blog. It sucked.
2007-09-09, 7:48 PM #13
Originally posted by Zell:
That too...

Seriously I learned this stuff when I was in 8th grade. What kind of school do you even go to?


I was in one of the cheapest schools around here last year, where our teacher got some sort of weird throat condition and had to leave the school, and we got a stupid substitute who doesn't do anything. I am in the 10th grade right now, and were just seeing all the subjects of the last 3 years, this is the only one that I am having trouble with, and I do pay a lot of attention in math class, and always take notes. Its not in my notes, I haven't seen it. I probably go through 3-5 note books of math a semester. So I know I didn't see it.

Originally posted by Zloc_Vergo:
What are the directions? There have to be directions. Because {x|-4<x<2} on its own doesn't mean anything. Is it D = {x|-4<x<2} or just the original?


Its obviously x.
Nothing to see here, move along.
2007-09-09, 7:51 PM #14
x is not a direction. What does it tell you to do for that problem?
I had a blog. It sucked.
2007-09-09, 7:51 PM #15
how is it that you planned on making a mmorpg without the ability to evaluate expressions
2007-09-09, 7:55 PM #16
Originally posted by Zloc_Vergo:
x is not a direction. What does it tell you to do for that problem?


There is no problem. It just says: Solve this and graphically represent it. (Thats the literal translations of the indication)

x is is equal to or great than -4 but less than -2. I know what you're thinking of, and thats a different but related subject. Were not looking for coordinates. Were looking for the value of X, which is as stated, equal to or great than -4 but less than -2.

The solution is:
[-4,2)

Atleast thats what I have figured so far.

Originally posted by Jon`C:
how is it that you planned on making a mmorpg without the ability to evaluate expressions


I learn things as I go, and its not easy to learn every single subject in two languages. Do you have any idea what its like to learn English in Spanish? And then learn it in English? Now Chemistry in Spanish and then in English, (thats the worse one).
Nothing to see here, move along.
2007-09-09, 7:57 PM #17
You don't know what I'm thinking of. Zell already told you what to do, and that's what I'm thinking of.
I had a blog. It sucked.
2007-09-09, 7:58 PM #18
But you can't. With that information, there is no way to determine exactly what x is, the only thing you can determine is that X is anything in between -4 and 2.

[EDIT: Zloc, you ninja.]
DO NOT WANT.
2007-09-09, 8:02 PM #19
They never taught this in the average smart kid classes where I'm from.

So I guess the normal kids in Utah are the slow kids everywhere.

Don't despair Gold, you won't need this in real life. At least, if you go with me and plan to be a homeless drug addict by age 30. Let's do it togehter!
Epstein didn't kill himself.
2007-09-09, 8:02 PM #20
Originally posted by Zell:
But you can't. With that information, there is no way to determine exactly what x is, the only thing you can determine is that X is anything in between -4 and 2.

[EDIT: Zloc, you ninja.]


I don't need to know exactly what it is, I just need to know what it isn't. Its not more than -4, and its less than 2. I needed to represent it as [-4,2) and not the big long intervalo (whatever they are called in english) So graphicaly I will highlight the area where x can be located, along with the [ and ) signs. Thats pretty much all I need to do.
Nothing to see here, move along.
2007-09-09, 8:07 PM #21
the relational and inequality expressions are what allows the branching of program execution. without an understanding of those concepts it is basically impossible to do anything with computer code, including the kinds of scripting languages embedded into 3d engines like the one you bought. which tells me that you stole all of the gameplay-related content, probably off of a closed-to-the-public developers' forum.
2007-09-09, 8:20 PM #22
Originally posted by Jon`C:
the relational and inequality expressions are what allows the branching of program execution. without an understanding of those concepts it is basically impossible to do anything with computer code, including the kinds of scripting languages embedded into 3d engines like the one you bought. which tells me that you stole all of the gameplay-related content, probably off of a closed-to-the-public developers' forum.


Don't even try that, I all my work is authentic and will soon be open source. There is no project in the RC forums thats even close to what I am doing, most of its fantasy crap and/or just simple 1+2 scripts. My scripts are way too complicated for most users there, and are 100% mine, as there are none that even resemble or do things the way I do them. In a few months, they will be public domain.
Nothing to see here, move along.
2007-09-09, 8:25 PM #23
Originally posted by Jon`C:
the relational and inequality expressions are what allows the branching of program execution. without an understanding of those concepts it is basically impossible to do anything with computer code, including the kinds of scripting languages embedded into 3d engines like the one you bought. which tells me that you stole all of the gameplay-related content, probably off of a closed-to-the-public developers' forum.


Do you really have to persist being a cock? Obviously his personality has changed a fair bit since the last time he was here, so it's quite possible that his practices have changed as well. Wait until you actually see his work, then you can judge him.
Epstein didn't kill himself.
2007-09-09, 8:36 PM #24
I have to go off line now, time to sleep. Man, its been some pretty long 2 weeks and 10 pages. I now officially hate this teacher.
Nothing to see here, move along.
2007-09-09, 8:38 PM #25
Originally posted by Jon`C:
the relational and inequality expressions are what allows the branching of program execution. without an understanding of those concepts it is basically impossible to do anything with computer code, including the kinds of scripting languages embedded into 3d engines like the one you bought. which tells me that you stole all of the gameplay-related content, probably off of a closed-to-the-public developers' forum.


This post is filled with what is likely the truth.


But I like how Joncy can still call SF_Gold a thief, liar, loser, and a hack because he uses bigger words than I do.
2007-09-09, 8:45 PM #26
Originally posted by SF_GoldG_01:
Don't even try that, I all my work is authentic and will soon be open source. There is no project in the RC forums thats even close to what I am doing, most of its fantasy crap and/or just simple 1+2 scripts. My scripts are way too complicated for most users there, and are 100% mine, as there are none that even resemble or do things the way I do them. In a few months, they will be public domain.


I know how to write computer code.

Without an understanding of fundamental mathemetical concepts, such as the fundamental concept you posted this thread to learn about, it is impossible to write any meaningful program. You cannot even branch execution based on a condition (for instance, making a player fall if he were off the ground, or making your RPG script flag a quest as 'complete' after you save the princess). It is impossible. Impossible. It is also completely impossible that your scripts are "way too complicated for most users there," since none of them can possibly even involve a conditional statement.


Originally posted by Spook:
Do you really have to persist being a cock? Obviously his personality has changed a fair bit since the last time he was here, so it's quite possible that his practices have changed as well. Wait until you actually see his work, then you can judge him.
He either stole the work or he has accomplished nothing. It is impossible for him to have created anything meaningful on his own. I know more about this subject than you do, and you should either: A.) Defer to my greater knowledge unless a superior authority on the subject contradicts me (i.e.. GoY or Detty), or B.) eat a bag
2007-09-09, 8:54 PM #27
Ok I offer this.

Explain to me these operators: <, >, >=, <=, !=, ==, !, ||, &&

No looking these up on Google.
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2007-09-09, 8:56 PM #28
Originally posted by Jon`C:
He either stole the work or he has accomplished nothing. It is impossible for him to have created anything meaningful on his own. I know more about this subject than you do, and you should either: A.) Defer to my greater knowledge unless a superior authority on the subject contradicts me (i.e.. GoY or Detty), or B.) eat a bag


If by bag you mean absolutely gorgeous Jewish girl, then you and I will make a wednesday night date for option B.

:colbert:

I refuse to defer if it involves a good looking bag.

Originally posted by JediGandalf:
Ok I offer this.

Explain to me these operators: <, >, >=, <=, !=, ==, !, ||, &&

No looking these up on Google.


< Is pac man going to the right
>is pac man going to the left
>= is pac man heading for the ****ter after eating rancherito's mexican
<= is pac man and Ms. pac man entertaining a bizarre fetish
!= is pac man after said fetish goes terribly wrong
== is the remains of said fetish when they are both forced from the room due to the smell
! would appear to be the first part of the above accident. Why the **** are you repeating yourself?
|| is gay pac sekz
&& ms. pac man and her other lady pac lover spooning

pwned. Next programming challenge.
Epstein didn't kill himself.
2007-09-09, 8:57 PM #29
<=

means a bird eating 2 worms.

edit: This is how you graph it

[http://img510.imageshack.us/img510/1605/picture3qz4.jpg]
"If you watch television news, you will know less about the world than if you just drink gin straight out of the bottle."
--Garrison Keillor
2007-09-09, 9:04 PM #30
Yeah I guess you could look at it that way.
Epstein didn't kill himself.
2007-09-09, 9:11 PM #31
Originally posted by SF_GoldG_01:
but no one in my old school never saw this.



Good. Ask one of them.

Seriously though, doesn't your book explain this? It's just a simple 1d graph. A simple Google search would do it. It's really easy.
2007-09-09, 9:12 PM #32
Originally posted by Spook:
pwned. Next programming challenge.


Here are some numbers.

1024
815
953
255
65536
512
16384
15

Devise an algorithm to determine if a number is a power of two. Show your work. Apply the algorithm to the given numbers. Write a proof for your algorithm and state its computational complexity.
2007-09-09, 9:25 PM #33
No cheating offa me! I'm bored so...

Assumptions:
  • Only positive powers of 2 will be needed to be checked.
  • All numbers concerned can fit into a signed int.
bool isPowerOfTwo(int x) {
int z = 1;
while (z < x) {
z *= 2;
}
return (z == x);
}


Bonus: Return the power of two that x is, -1 if x is not a power of two.

int isPowerOfTwo(int x) {
int z = 1;
int pow = 0;
while (z < x) {
z *= 2;
pow++;
}
if (z == x) {
return pow;
} else {
return -1;
}
}


Do I get the job?

2007-09-09, 9:31 PM #34
Originally posted by The Mega-ZZTer:
Do I get the job?


:gonk:
2007-09-09, 10:01 PM #35
I would have used log2 and worked my way backwards, the first occurance of a non-integer, you stop since it is not a power of two. Work you way until get to 1. If @ 1, the number is a power of two.

I remember from discrete mathematics that you can break a number into its primes (what is it called), if it's all 2s then it's a power of 2
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2007-09-09, 10:06 PM #36
*hackcoughhack*
Attachment: 17280/graph.png (1,858 bytes)
2007-09-09, 10:11 PM #37
:gonk:

mzzt, jg: we use binary computers

stormtrooper: why are you illustrating a one dimensional problem with a two dimensional graph.
x can also approach 2, it just can't equal it. so your graph isnt even right
2007-09-09, 10:28 PM #38
Um, yeah it is right.
There's a dotted line on x = 2 meaning that the value cannot equal 2, but can be everything up to it. It's the same thing as x = [-4,2), just with the y values showing.
2007-09-09, 10:29 PM #39
This thread makes me sad.
2007-09-09, 10:43 PM #40
It's really a set of (presumably) real numbers >= -4 and < 2. :colbert:
Bassoon, n. A brazen instrument into which a fool blows out his brains.
12

↑ Up to the top!