Math formulas needed.

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Math formulas needed.

Post by bicostp »

I'm going to code a calculator program in QuickBasic, and I want to include sections for geometry, algebra (stupid quadratic formula :evil:) and electronics. Could you give me a hand by posting the formulas for voltage, amperage, current, etc...? I'll post the app on my site when I'm done.
HK-47
Moderator
Posts: 3598
Joined: Thu Jul 15, 2004 2:17 pm
Location: /dev/moderator/
Contact:

Post by HK-47 »

http://en.wikipedia.org/wiki/List_of_equations
http://en.wikipedia.org/wiki/List_of_eq ... _mechanics
a = acceleration (m/s²)
g = gravitational constant (m/s²)
F = force (N = kg m/s²)
Ek = kinetic energy (J = kg m²/s²)
Ep = potential energy (J = kg m²/s²)
m = mass (kg)
p = momentum (kg m/s)
s = position (m)
R = radius (m)
t = time (s)
v = velocity (m/s)
v0 = velocity at time t=0
W = work (J = kg m²/s²)
τ = torque (J = N m) (torque is work in a rotational sense)
s(t) = position at time t
s0 = position at time t=0
runit = unit vector pointing from the origin in polar coordinates
θunit = unit vector pointing in the direction of increasing values of theta in polor coordinates
Black Six
Moderator
Posts: 1991
Joined: Sun Apr 04, 2004 4:34 pm
360 GamerTag: Black 5ix
Location: MD

Re: Math formulas needed.

Post by Black Six »

bicostp wrote:(stupid quadratic formula :evil:)
-b±√(b^2-4*a*c)
2*a
You will never, ever forget that. ;)
"It's not that life's so short, it's just that you're dead for so long." -Anonymous
Threads Closerized: Lost Track, Whoops
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

But it still sucks. :evil:
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

no no, it's great!
really...it's better than the alternatives for the same output....
soundwave
Senior Member
Posts: 3653
Joined: Wed Feb 23, 2005 1:51 pm
Location: Connecticut

Post by soundwave »

There are much worse equations than the quadratic.
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

Oh, crap... :shock:

It's not that I find it hard, but it's tedious to do over and over again. That's why I wrote a QB program to calculate ax(squared) + bx + c. Just give it the values and it gives you the answer to the equation.
soundwave
Senior Member
Posts: 3653
Joined: Wed Feb 23, 2005 1:51 pm
Location: Connecticut

Post by soundwave »

Yeah i wrote a program on my TI-84 to solve it.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

like the quartatic (did I even spell it right?) :P
soundwave
Senior Member
Posts: 3653
Joined: Wed Feb 23, 2005 1:51 pm
Location: Connecticut

Post by soundwave »

Close enough, who cares these days?
HK-47
Moderator
Posts: 3598
Joined: Thu Jul 15, 2004 2:17 pm
Location: /dev/moderator/
Contact:

Post by HK-47 »

Nope. :) Its quadratic.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

HK-47 wrote:Nope. :) Its quadratic.
no, I mean the y=ax^4+bx^3+cx^2+dx+e :)
soundwave
Senior Member
Posts: 3653
Joined: Wed Feb 23, 2005 1:51 pm
Location: Connecticut

Post by soundwave »

Quartic.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

At least I got the quart part right :P
SpongeBuell
Senior Member
Posts: 5190
Joined: Wed Apr 07, 2004 10:52 am
Location: Colorado
Contact:

Post by SpongeBuell »

the best way to remember the quadratic formula is to sing it

To the tune of "Pop goes the weasel"

x equals negative b
plus and minus the square root
of b squared minus 4ac
all over 2a

altogether now!
Life of Brian wrote:
RYW wrote:RYW:

Rare
Yellow
Weasel
I'll be honest with you - I would have never guessed that.
Post Reply