Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 129 130 [131] 132 133 ... 173

Author Topic: Mathematics Help Thread  (Read 228397 times)

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1950 on: October 28, 2015, 10:28:15 pm »

Specific heat of water = 4.186 J/g. deltaT from 22C and 37C = 15C. 15*4.186 = 62.79 J/g to get to 37. deltaT from 55 to 37 = 18C. 18*4.186=75.348 J/g of heat to give up. 62.79*90 = 5651.1J to heat up the water. 5651.1/75.348 = 75g of 55C water.
Logged

Powder Miner

  • Bay Watcher
  • this avatar is years irrelevant again oh god oh f-
    • View Profile
Re: Mathematics Help Thread
« Reply #1951 on: October 28, 2015, 10:31:02 pm »

What would the parent formula be for that?
Logged

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1952 on: October 28, 2015, 10:32:45 pm »

I guess the specific heat equation? delta = Q/mc.
Logged

Powder Miner

  • Bay Watcher
  • this avatar is years irrelevant again oh god oh f-
    • View Profile
Re: Mathematics Help Thread
« Reply #1953 on: October 28, 2015, 10:34:05 pm »

No, I'm running low on sleep and I'm being really really dumb-- the formula for calculating the amount of water needed using specific heat.
Logged

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1954 on: October 28, 2015, 10:46:21 pm »

F = final temperature (In the example you gave 37). T1 = low temperature (In the example you gave 22). T2 = high temperature (In the example you gave 55). C = 4.186. m1 = mass of cool water (90g) m2 = mass of hot water (answer, 75g).

(((F-T1)*C)*m)/((T2-F)*C) = m2

EDIT: Worth noting, C cancels out in this case, although if it were two different liquids it would matter. In your case, (F-t1)*m1 / (t2-f) = m2.
Logged

Powder Miner

  • Bay Watcher
  • this avatar is years irrelevant again oh god oh f-
    • View Profile
Re: Mathematics Help Thread
« Reply #1955 on: October 28, 2015, 10:51:28 pm »

Thank you!
Logged

Gatleos

  • Bay Watcher
  • Mournhold... City of Light... City of MAGIC!
    • View Profile
    • Someone Sig This
Re: Mathematics Help Thread
« Reply #1956 on: November 01, 2015, 07:00:53 pm »

I guess I might as well post this here rather than in the programming thread.

Say I have a vector expressed in x and y coordinates, and I want to reduce its length along some arbitrary axis by a certain fraction t, expressed as a number between [0.0, 1.0]. So t = 0.0 would set its length along the axis to zero, and t = 1.0 would leave it as-is.

For example, if the vector was (3, 2) and you set the axis you want to change its magnitude on to the y axis, and the fraction to t = 0.5, you would end up with (3, 1). And t = 0.0 would give you (3, 0), etc. This is easy enough with an orthogonal axis, since in that situation all you need to do is multiply t by one component of the vector. But on an arbitrary axis I can't seem to get the math to work.

I'm terrible at trigonometry help
Logged
Think of it like Sim City, except with rival mayors that seek to destroy your citizens by arming legions of homeless people and sending them to attack you.
Quote from: Moonshadow101
it would be funny to see babies spontaneously combust
Gat HQ (Sigtext)
++U+U++ // ,.,.@UUUUUUUU

Gatleos

  • Bay Watcher
  • Mournhold... City of Light... City of MAGIC!
    • View Profile
    • Someone Sig This
Re: Mathematics Help Thread
« Reply #1957 on: November 02, 2015, 12:39:32 pm »

Thank you, that was very helpful. Though I ended up multiplying the rejection by t, not the projection.
Logged
Think of it like Sim City, except with rival mayors that seek to destroy your citizens by arming legions of homeless people and sending them to attack you.
Quote from: Moonshadow101
it would be funny to see babies spontaneously combust
Gat HQ (Sigtext)
++U+U++ // ,.,.@UUUUUUUU

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1958 on: November 05, 2015, 12:11:45 pm »

The derivative of e^(anything) is just e^(anything) right? And the derivative of that derivative would also be e^(anything)?

Like f(x)=e^(-1/(x+1)), then f'(x)=e^(-1/(x+1)), and f''(x)=e^(-1/(x+1)), right?
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

da_nang

  • Bay Watcher
  • Argonian Overlord
    • View Profile
Re: Mathematics Help Thread
« Reply #1959 on: November 05, 2015, 12:14:02 pm »

The derivative of ex is ex. The derivative of ef(x) is f'(x)ef(x).
Logged
"Deliver yesterday, code today, think tomorrow."
Ceterum censeo Unionem Europaeam esse delendam.
Future supplanter of humanity.

Graknorke

  • Bay Watcher
  • A bomb's a bad choice for close-range combat.
    • View Profile
Re: Mathematics Help Thread
« Reply #1960 on: November 05, 2015, 12:14:19 pm »

The derivative of e^(anything) is just e^(anything) right?
Nope. if f(x)=e^x then f'(x)=e^x, but if your function is of a higher order then you'll need to apply the chain rule.
Logged
Cultural status:
Depleted          ☐
Enriched          ☑

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1961 on: November 05, 2015, 12:32:01 pm »

The derivative of e^(anything) is just e^(anything) right?
Nope. if f(x)=e^x then f'(x)=e^x, but if your function is of a higher order then you'll need to apply the chain rule.
uuuuuuugh more work
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1962 on: November 07, 2015, 08:22:25 pm »

Double post, sorry. no one else has posted, and I have a question.

Wanna make sure I have this right. The derivative of 5^(x) is 5x^(x-1), right? Because of the power rule? So assuming c is any constant, then derivative of c^(x) is cx^(x-1).

But my notes I have written down say that the derivative of c^(x) is c^(x)*lnx
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

Reelya

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1963 on: November 07, 2015, 08:27:24 pm »

The power rule only works for constant powers. Forget about it when the power is a variable.

You have to apply the change of base rule. Let me work through this since I'm rusty on maths too and it helps me remember stuff:

Say you have y = cx and you want this in ln, i.e. base e:
Spoiler: steps (click to show/hide)
Therefore, c^x = ex(ln c)

Now, you want to take the derivative of ex(ln c), and you use the chain rule for that as above.
« Last Edit: November 07, 2015, 08:36:45 pm by Reelya »
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1964 on: November 07, 2015, 08:39:43 pm »

It's been years since I did calc, and I'm not sure what rule you did in step 3 there to get dy/y = ln(c)dx ?
Pages: 1 ... 129 130 [131] 132 133 ... 173