Jump to content

Shadow

Senior Members
  • Posts

    615
  • Joined

  • Last visited

Everything posted by Shadow

  1. Hey all, just a quick question, does anybody recognize a pattern in the following numbers...? 1, 2, 2, 3, 4, 3, 5, 4, 6, 7, 5, 3... I can post more if you need them. Cheers, Gabe
  2. One is never silly by being curious.
  3. Nope, I do care about the pixels. That's why I'm asking. I know how to draw a circle, but I don't know how many pixels one will contain. I need to know which pixels overlap, which don't, in other words, how it decides to draw them. I guess it'd be easier for me to say why I need this. I'm writing a program that simulates stars, specifically how gravity affects their movement. However, at some point, some of them will collide. And, as you can probably guess, simulating the collisions of the stars is not something easy to do. In fact, for a 17 year old with a not-that-powerful computer and not-that-great-programming/physics/whatever knowledge, it's impossible. So I decided to make my own workaround; whenever the stars get close enough, the program starts treating them like lots of small particles. One particle will be one pixel. And here comes the problem; if I have a star with a diameter of x pixels, how many pixels will it contain? Cheers, Gabe EDIT: I've been doing some drawings, based on intuition, and here's what I got: Radii 2-8 Radius 9 Am I on the right track?
  4. I believe it's "undefined + undefined i" ) That's what Maple gave me anyway. I could tell you what an infinite power tower made out of i's is, but that's about it. Cheers, Gabe
  5. 9000 grams? I don't know how they package yogurts in the USA, but here 1 yogurt = 150 grams. So that's about 3 yogurts on average. Of course, I sometimes ear more, sometimes less, sometimes vary it more, sometimes less. It depends on the day. There are days where yogurt is practically my only sustenance, and there are days, even a couple in row, where I don't even touch a yogurt. So it depends on the day. But this means I've got 60 grams of "yogurt sugar" on average per day. That's not so horrible, is it? Cheers, Gabe EDIT: Ah, I see your point. My mistake, I meant 450 gram/DAY, not every time :D
  6. I do have variety. It's just that yogurt is the thing I focus on. I eat anything that's in or near the fridge; be it spaghetti, bread, pasta, anything. But I always remember the yogurt part. I guess I focus on yogurt that much because a) a long time ago a read yogurt was hackers food, and I was all into being a hacker back then, and b), when ever I'm stuffed with something, I use yogurt to "push things down a little" in my stomach. But it's not like I eat only yogurt. Cheers, Gabe
  7. Erm...remember, I'm seventeen. I eat like 20 times a day, something like 450 grams (in yogurts ) every time, +2 big meals (I've been skipping breakfast for quite some time now). And before you ask, I'm not overweight. Anyway, I will try to get my hands on some multivitamins, see what that does. As for the sugar part, I'm not sure how much sugar I ingest daily... I guess only time will tell. But thanks a million for sharing your opinions, they really helped a lot, if only to alleviate the uncertainty I was experiencing Cheers, Gabe
  8. To be honest...alcohol makes me calmer. As in, it makes me think everything through. My brain goes "Waaait a second, you're drunk, think again.", so I think through every single action, no matter how trivial they are. And it also doesn't seem to have the debilitating effect it has on most, regardless of the amount. Or at least not as debilitating. It's something I'm known for And I'm never violent when I'm drunk. That's not to say I'm violent when I'm not But staying drunk for a year is out of the question for me, especially considering my age and that I'm still living with my parents. I'll just have to find another solution. I was thinking about grass, and maybe even trying out meditation. The former I'm pretty sure would work, although if it is the cause of my problems it would ultimately just make it worse. The latter...I don't know, that's sort of a wild guess. What do you (guys) think? I'm not sure, but are sedatives the same as tranquilizers? Because if yes, which I'm pretty sure is the case, I would doubly avoid seeing a professional, because that's probably what he/she would prescribe. This is what every single person I talked with said. Cheers, Gabe
  9. But the computer doesn't know that. When I send a computer the command to draw a circle, it tells the monitor "Light up this spot, this spot, and that spot". It doesn't care if the spots are square or not. I'm just using square as an approximation. What I need to know is, given a diameter of x, how many and which pixels will "light up"... Cheers, Gabe
  10. This never happened when I was under the influence of grass, although I must admit that two weeks of cannabis smoking did precede the start of the attacks. To be precise, I got the first one about a week and a half/two weeks after I stopped. I did wonder if it had something to do with it, but I convinced myself otherwise on the basis that it took almost half a month for the attacks to appear. If it is for some reason connected to my blood, does this mean I'm in danger of diabetes? Should I cut back on something, or eat more of something else? Also, is this temporary or chronic? I'd say temporary, but I want to be sure. Cheers, Gabe
  11. Hey all, While this is a sort of computer oriented problem, I decided to put it in General Mathematics, because the answer to this question will be a math answer. So on we go. When you tell the computer to draw a circle with a diameter x on the screen, it won't draw a perfect circle. Why? Well, let's skip the "Pi is irrational part" for a second. The screen is made of pixels. Pixels are squares. So, ultimately, the shape we see is lots of tiny squares put together so as to form something resembling a circle. But it's not a circle. It's squares. Now here's what I need; how does a computer know, based on the diameter of the circle that we want it to draw, how many squares to draw, and what shape to make? I'm writing a program where I need to be able to say "Okay, the diameter is two (in pixels), so that means that we're going to have 5 squares, and it will look like a plus sign.". So I took a squared paper, and tried to draw the shapes up myself, and to be honest, I'm pretty sure I got 'circles' with diameters three and four (in squares) right, but anything higher than that, and I don't have a clue how it's supposed to look. Could anybody here tell me, given a radius x, how many pixels, or "squares" the computer needs to draw to form the shape we perceive to be a circle? And how that shape looks? Or at least tell me how to draw up the shapes myself, I can calculate the formula from there. Cheers, Gabe
  12. Woops, sorry I don't, but my father is very well oriented in this field, and he says the same thing. I'm not saying all of them are bad, I know of some my father visits that are good (although I still have doubts as to how much a complete stranger can help a person...however, my opinions of psychology are another matter entirely), but those would only be accessible through him, and I don't want to alert my family just yet. I hope that this can be solved without them knowing. To comment the picture...."no comment" I hope it doesn't go that far :D As for the aggression part, I'm deducing that from the fact that it always helps when I hit a pillow, or when I flex all of my muscles. I'm pretty sure for example running as fast and as long as I can would help a lot, or start jumping up and down, etc... It's just the way I get rid of the energy that's inside me. And since anger is much the same, I though it was me being furious. Maybe it's not. I almost always calm down withing 5 minutes or so, although the last one I had, it took me over an hour and a LOT of pillow hitting before I calmed down. It was in that time I wrote the OP. I'm still sort of half putting this on the shoulders of the hypochondria that runs in my family from my fathers side. While I managed to "block" what I had inherited from my father at a relatively young age (around 12, and with the help of friends), I'm still suspicious that I'm just having a bad day and imagining things. I used to have a lot of anger outbursts, also inherited from my father, but also learned to control those at a young age, and haven't experienced any problems with them for like half a decade. Excluding my family, which just infuriates me to no end Anyway, I'm turning 17 tomorrow. I just don't know how much of this is normal, how much is just me imagining things, and how much I should be worried about. Cheers, Gabe
  13. Shadow

    Number Bases

    I seriously doubt there ever will be a use for a 0.5 based system, this was just a question out of curiosity. I once heard that someone had proved that you can make a number system out of any number, so I was wondering if this also applied to fractions and negative numbers. But thanks a lot for the explanation. How do you convert to/from complex based number systems?? Cheers, Gabe
  14. Uf...at least I'm not a unique problem. I was in the hospital like three weeks ago (nothing to do with this, my spleen had ruptured) and they did plenty of blood tests, which didn't turn up anything...so I'm guessing it has nothing to do with my blood. Unfortunately, a "trained professional" in the Czech Republic is the equivalent of a three year old in America. The quality of psychologists in this country is appealingly low. I visited one a couple of times, and was, well...disgusted. But I'd be glad to know what helped you get out of it, and if it's something...un-postable, could you please PM me? Cheers, Gabe
  15. Hey all, I just wanted to ask, I've been experiencing panic attacks lately. They only occur when I'm not doing anything that occupies my mind, eg.: When I'm eating. 90% of the attacks I get is while I eat. If I eat and for example I'm watching a movie at the same time, it's fine. If I'm reading, doing something on the computer, am at school or with someone, it's fine. But when I'm alone, and just waiting, for example when going somewhere in a vehicle with someone else driving, and have nothing to do, I start to experience symptoms that I understand are associated with panic attacks; intensive anxiety, incredible rush of energy, extreme impatience, agressivness (non-phisical, usually manifests itself with me throwing something to the floor, or hitting a pillow etc.)...it's hard to explain. It usually ends with me being provoked by something completely trivial, such as a spoon hitting a plate to loudly. I then just go nuts (as in start yelling at people) and storm out of the room. I then just start hitting a pillow or a bed, sometimes I scream into the pillow, and that helps me to calm down. It's never lasted for more than about 30 minutes. It also sometimes happens when I'm falling asleep; I'm in that sort of half dream state you're in before you fall asleep, suddenly I jerk, wake up, and am furious at nothing in particular. The rest is the same as above. I have only noticed this for the past two week or so. Anybody know what's going on? Cheers, Gabe EDIT: 30 views and nobody knows? I don't want to sound hasty or something like that, but a simple opinion of one of those 30 people would be a lot of help. I just don't know what's going on, what's causing this, how do I evade future attacks etc. I don't care how insignificant the post may be, but please, if you have anything you could say to contribute please do.
  16. Hey all, I was thinking the other day, I know it's possible to have, say, base [math]\pi[/math] number systems...but what about base one? Or base smaller-than-one, eg. [math]1/2[/math]? Or negative bases? Or fractional bases? How would one convert to and from those systems? Cheers, Gabe
  17. Or 44th. Either answer will work.
  18. And not colloquially? I guess I'd have to use "What position in the sequence of US presidents does Obama occupy?". Cheers, Gabe
  19. Wow...I never knew it was acceptable to use a programming language in math I'll be sure to inform my maths teacher that from now on I'm doing all my homework in C++ Cheers, Gabe
  20. How would you write quotient in math? Just "quotient"? But thanks anyway. Now, shouldn't we get back to the OP's question? That being how to represent a loop in math? Cheers, Gabe
  21. I see, thanks for the clarification. But the OP uses integer division, so if [math]a_n[/math] is not an even natural, [math]a_{n+1}[/math] shouldn't be undefined. For example, if [math]a_n=5[/math], then [math]a_{n+1}=2[/math]...how would you write that? Does 5/2 equal 2 in N? Cheers, Gabe
  22. I can only guess at what that means But thanks anyway
  23. Not exactly. You have to state that [math]a \in N[/math]. I'm not sure how you do that with an entire series, since we haven't covered series at school yet, but you get the point. Also, apart from the fact that I believe the OP wanted to know how to represent a loop in math, in the OP's example, [math]a_0=40[/math], not one. So while your series will hold the same numbers, it will hold them in the wrong order. I don't know the solutions to these problems, I'm just pointing out the problems themselves. Cheers, Gabe
  24. Nothing is wrong with that, I was just curious as to whether or not this type of question can be asked using a specific word or words, such as "kolikátý" in Czech. Anyway, my curiosity has been almost satisfied. Is there any simple way of asking a question to which the answer is "Obama is the 44th president."?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.