Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 107 108 [109] 110 111 ... 173

Author Topic: Mathematics Help Thread  (Read 216222 times)

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1620 on: June 26, 2014, 08:14:30 am »

How is the m.o.i found when the pivot is in the center, though?

The moment of inertia of any object is found by integrating the squared pivot distance over the mass of the object. If you don't want to do that, here's a list of preintegrated moments of inertia for commonly used objects.
Logged

da_nang

  • Bay Watcher
  • Argonian Overlord
    • View Profile
Re: Mathematics Help Thread
« Reply #1621 on: June 26, 2014, 08:18:20 am »

Double pendulums are suffering. Never ask about them, never be told about them, save everybody some time.
Unless of course, you're majoring Control Theory. :D
Logged
"Deliver yesterday, code today, think tomorrow."
Ceterum censeo Unionem Europaeam esse delendam.
Future supplanter of humanity.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1622 on: June 26, 2014, 08:26:11 am »

Double pendulums are suffering. Never ask about them, never be told about them, save everybody some time.
Unless of course, you're majoring Control Theory. :D
In which case double pendulums are easy.
Logged

Vector

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1623 on: June 26, 2014, 10:37:51 am »

.
« Last Edit: March 13, 2018, 12:40:36 pm by Vector »
Logged
"The question of the usefulness of poetry arises only in periods of its decline, while in periods of its flowering, no one doubts its total uselessness." - Boris Pasternak

nonbinary/genderfluid/genderqueer renegade mathematician and mafia subforum limpet. please avoid quoting me.

pronouns: prefer neutral ones, others are fine. height: 5'3".

Sinistar

  • Bay Watcher
  • Absolutely detests Sinibombs
    • View Profile
    • http://dojo.fi/~rancid/loituma__.swf
Re: Mathematics Help Thread
« Reply #1624 on: June 29, 2014, 11:58:39 am »

So, I guess it has come to this.

uxy + ux - 2y + 4y = 0

u = ?

(where ux = du/dx)

My best guess would be substituting x ( v = ux ) but the final result before changing back ( v = 2xy - 2y2 - vy ) isn't quite to my liking.

I would be very appreciated if someone could explain solving this thing step by step.

EDIT:
Stupid me. Can't even copy it right. Here:

uxy + ux - 2x + 4y = 0

Thanks for reply though, MagmaMcFry, I'll check it in detail later in about half an hour.
« Last Edit: June 29, 2014, 12:23:57 pm by Sinistar »
Logged
Everything is an instrument if you hit it the right way.
Oh they know. Spiders are not stupid. They've just got disproportionally huge balls.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1625 on: June 29, 2014, 12:19:51 pm »

Sure why not. First step is as you said, let's let v = du/dx. Our new equation is dv/dy + v + 2y = 0, or dv/dy = -2y-v. Now you can solve this equation via guessing, or via this handy formula. In either case you'll get this:

v = c*exp(-y) - 2y + 2

Now substitute ux back for v, integrate for x, and you'll get u = x*(c*exp(-y) - 2y + 2) + c2.
Logged

Sinistar

  • Bay Watcher
  • Absolutely detests Sinibombs
    • View Profile
    • http://dojo.fi/~rancid/loituma__.swf
Re: Mathematics Help Thread
« Reply #1626 on: June 29, 2014, 02:12:35 pm »

Hmmm, still can't wrap my head about this one. The jump from

dv/dy = - v - 2x + 4y
 
to

v = c*exp(-y) + 2x - 4y + 4

isn't quite clear to me. The thing is I have to write this by hand and WolframAlpha requires subscription to see step-by-step explanation.  :(
Logged
Everything is an instrument if you hit it the right way.
Oh they know. Spiders are not stupid. They've just got disproportionally huge balls.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1627 on: June 29, 2014, 03:15:12 pm »

Okay, we have two differential equations that interest us:

(a) dv/dy = -v-2x+4y
(b) dv/dy = -v

(b) is called a homogeneous part of (a).
Okay, here's the trick: If v_1 is a solution to (a) and v_0 is a solution to (b), then v_0+v_1 is also a solution to (a). Conversely, if v_1 and v_2 are solutions to (a), then v_1-v_2 is a solution to (b).

What this means is that if we find one solution of (a) and add it to each solution of (b), we get each solution of (a).

Okay, let's solve (a) first. Since (a) is of the form v'=c*v+p(y), there is a polynomial solution for v (of the same degree as p). You can find that however you want, for example by solving for its coefficients. Example: If you have f'=2f-4x², then a polynomial solution f=ax²+bx+c satisfies 2ax+b=2ax²+2bx+2c+4x², so 0=2a-4, 2a=2b and b=2c, which is a solvable linear equation system in (a, b, c) that gives you f=2x²+2x+1.

In your particular case, we get a solution v=-4y+2x+4.

Now let's solve (b). That's an easy one, I'm sure you learned that f'=af is solved by all c*exp(ax). More generally, f'=g(f) is solved by all h-1(x+c), where h'=1/g.

In your particular case, we have v'=-v, so we get the solutions v=c(x)*exp(-y).

Now if we add the solution of (a) to all solutions of (b), we get v=c(x)*exp(-y)-4y+2x+4.
« Last Edit: June 29, 2014, 05:21:43 pm by MagmaMcFry »
Logged

da_nang

  • Bay Watcher
  • Argonian Overlord
    • View Profile
Re: Mathematics Help Thread
« Reply #1628 on: June 29, 2014, 05:04:27 pm »

So, I guess it has come to this.

uxy + ux - 2y + 4y = 0

u = ?

(where ux = du/dx)

My best guess would be substituting x ( v = ux ) but the final result before changing back ( v = 2xy - 2y2 - vy ) isn't quite to my liking.

I would be very appreciated if someone could explain solving this thing step by step.

EDIT:
Stupid me. Can't even copy it right. Here:

uxy + ux - 2x + 4y = 0

Thanks for reply though, MagmaMcFry, I'll check it in detail later in about half an hour.
I'm working under the assumption you meant the partial derivative since you've got mixed derivatives.



Clearly, this is a second-order linear non-homogenous PDE with constant coefficients. So we split the solution into two parts, the homogenous solution and the particular solution.

Solving for the homogenous solution:


Here, the Psi functions are arbitrary.

To solve the particular solution, we want to assume the solution is a function such that the left hand side becomes identical to the right hand side (there may be infinitely many):


Let's start with the x term by assuming it's a polynomial of degree 1 which clearly must be multiplied by x lest one of its terms be swallowed up by the homogenous solution:


Do the same for the y term (make sure none of its terms are linearly dependent on either the homogenous solution or the first particular solution):


Adding these to the homogenous solution gives us a general solution:


EDIT: Fixed typo
« Last Edit: June 30, 2014, 03:57:54 am by da_nang »
Logged
"Deliver yesterday, code today, think tomorrow."
Ceterum censeo Unionem Europaeam esse delendam.
Future supplanter of humanity.

Helgoland

  • Bay Watcher
  • No man is an island.
    • View Profile
Re: Mathematics Help Thread
« Reply #1629 on: June 29, 2014, 07:38:40 pm »

Topology question:
Prove or disprove: For all covering maps p: E \rightarrow X, where both E and X are path-connected, all continuous functions f: E \rightarrow E with p°f=p are already homeomorphisms.
I've been wrecking ym brain about this all weekend - does anyone have an idea?

EDIT: I think I can construct a counter-example using the Koch curve. Let's see what my tutor will say...
« Last Edit: June 30, 2014, 11:02:23 am by Helgoland »
Logged
The Bay12 postcard club
Arguably he's already a progressive, just one in the style of an enlightened Kaiser.
I'm going to do the smart thing here and disengage. This isn't a hill I paticularly care to die on.

Sinistar

  • Bay Watcher
  • Absolutely detests Sinibombs
    • View Profile
    • http://dojo.fi/~rancid/loituma__.swf
Re: Mathematics Help Thread
« Reply #1630 on: June 30, 2014, 10:47:25 am »

Ok, I've been going through what's been posted and I've made some connections, things are starting to make sense and even where they don't I still get the nagging feeling in the back of my head telling me this does look similar to something I should know.

In the end it seems like it all boils down to me not making right connections AND forgetting stuff I learned in the past. Dammit.

So, your help was very much appreciated, da_nang and MagmaMcFry and I thank you both from the bottom of my heart.
Logged
Everything is an instrument if you hit it the right way.
Oh they know. Spiders are not stupid. They've just got disproportionally huge balls.

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: Mathematics Help Thread
« Reply #1631 on: July 01, 2014, 10:06:08 am »

I made a single pendulum! Thanks, da_nang and McFry and everyone else who helped me. :P Now I just need to figure out how to make a double pendulum.
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

Shakerag

  • Bay Watcher
  • Just here for the schadenfreude.
    • View Profile
Re: Mathematics Help Thread
« Reply #1632 on: August 25, 2014, 09:18:33 am »

Ok, I tried this in the small questions thread, but let's give this another go here:

Okay, geometry question.  Note that I am not a math person, so this may be worded awkwardly.

Using Schläfli symbols:
{3,3} = Tetrahedron (or a d4)
{3,4} = Octahedron (or a d8)
{3,5} = Icosahedron (or a d20)

So what the hell is a {3,6} if such a creature exists?  How many sides does it have?

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1633 on: August 25, 2014, 10:07:58 am »

Not possible, to fit 6 regular triangles around the same vertex you'd take up all 360 degrees, so it'd be flat and thus 2d.
Logged

Shakerag

  • Bay Watcher
  • Just here for the schadenfreude.
    • View Profile
Re: Mathematics Help Thread
« Reply #1634 on: August 25, 2014, 11:58:30 am »

Not possible, to fit 6 regular triangles around the same vertex you'd take up all 360 degrees, so it'd be flat and thus 2d.
Ah.  That makes sense, thanks.
Pages: 1 ... 107 108 [109] 110 111 ... 173