Recent content by Mr. Fizzix

  1. M

    I Physics? Setting up PDE for air resistance at high velocity

    I am not sure how much we are on the same page here. Regarding the "time independent acceleration", I am saying there are different sources of acceleration. We have gravity, g, which indeed is time independent. It is a constant. But also constant is the thrust put out by the engines. Let's say I...
  2. M

    I Physics? Setting up PDE for air resistance at high velocity

    Not sure if this is more appropriate for physics or for differential equations, but this problem centers around an airplane traveling with air resistance. I am not looking to get the most realistic-possible model, as it is just for a video game I am making. Although this is technically a PDE...
  3. M

    I How are anti-protons created? Where do they come from?

    Hmmmm, I wasn't able to find my answer there.
  4. M

    I How are anti-protons created? Where do they come from?

    I understand how positrons are created, contained, etc. But everytime I try to research how anti-protons are created, they just talk about positrons. I do, probably have a theory as to how they are created, if none exists. I know they are created in particle accelerators, which is consistent...
  5. M

    I Using trigonometry to create a radar for a game.

    You're absolutely right. Thank you for that. And yes, I meant C#.
  6. M

    I Using trigonometry to create a radar for a game.

    Thank you for that. I appreciate it. I am self-taught at writing code, picked it up at first 3 months ago (Excel VBA), so I don't know all the conventions but usually get by. I indeed did have those if statements indented just like that, but the copy paste didn't carry them over. I didn't know...
  7. M

    I Using trigonometry to create a radar for a game.

    I figured out what I did wrong. The if statement conditions should have had obj_Sub.x instead of just x. That is why I was getting if statements to run that I did not want to run. Once I changed that, it started working again. Thank you for clarifying. FYI, I am using GML (Game Maker Language)...
  8. M

    I Using trigonometry to create a radar for a game.

    You were right. Somehow my second if statement was moving the dot even though only the first one should have been on. I should be able to figure out the rest from here. The radius expands slightly as it goes from 12 to 6, not sure why, but it is workable now, and I should be able to fix it...
  9. M

    I Using trigonometry to create a radar for a game.

    First of all, thank you very much for the speedy, helpful reply. Here is the entire block of code, the //'s being comments. This is just the code for the dot on the radar, executed each step of the game (that is, every frame, at 30 frames per second). if (x > 825) { x = obj_Radar.x +...
  10. M

    I Using trigonometry to create a radar for a game.

    I am making a video game using Game Maker Studio 2.0 and am making a radar. To give you some background, one object is obj_Player, and the other is obj_Sub. The radar gives the sub's position and distance from the player (center of radar). The first part of my radar works perfect. I normalized...
  11. M

    How often do satellites pass the moon?

    90.206 minutes. I was expecting it to be just a little bit above 90 (confirmed). It appears that this is within the error of satellite's variation in orbit times. Thank you for this, appreciate it.
  12. M

    How often do satellites pass the moon?

    So, I have really no background in astrophysics (other than touching on some areas in general physics and calculus). I understand that asking questions such as the one in my title, that I would need to be more specific, and I will attempt to be as specific as I can. I understand that most...
  13. M

    Chemistry How much math and physics will I need for physical chemistry?

    I am new to this forum. Although physical chemistry only requires calculus 3 (which I'll have taken regardless), many people are saying that I would be better off taking more math than that before taking physical chem, since I wouldn't have to learn as much that's new. I've been recommended...
Back
Top