Math assistance please....

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
I'm trying to help one of my friends finish his CPSC homework. I'm terrible at math, so I need some help so we can go drink.

If you have a problem like 2^n = 8 n^4, how do you solve for n?

Do you do something with logs? I can't remember cause I haven't taken a math course in like 4 years. Thanks.

-Scar
 

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
Originally posted by: raptor13
Press F2, then enter, and type "2^n=8*n^4,n)". Then hit enter again.

I meant to say, he's trying to do this the old fashioned way....with a pen and paper. ;) We don't have Maple or any fun proggies to make this easier. Math sux. :D
 

eLiu

Diamond Member
Jun 4, 2001
6,407
1
0
I believe this is what they call a "transcendental function." Not all of these types of functions can be solved analytically--I don't think this one can be.

You could use some sort of algorithm to approximate the roots though...for example, the Newton-Raphson method or fixed point iterations.

-Eric
 

upsciLLion

Diamond Member
Feb 21, 2001
5,947
1
81
I got x = -.5413599318, x = .66751844707

I graphed y1 = 2^n and y2 = 8n^4 and evaluated the intersection points. Hopefully that helps! :p

ups
 

VTboy

Banned
Oct 13, 2003
383
0
0
How come when I post a math question hardly anyone comes to help me. look all of these people helping him.
 

Dissipate

Diamond Member
Jan 17, 2004
6,815
0
0
Originally posted by: VTboy
How come when I post a math question hardly anyone comes to help me. look all of these people helping him.

Uh, cause you post math questions in diffierential equations. This is a lot farther down the trough. Also, differential equations take a lot more time and attention, even for someone who has mastered them and people are too lazy.

 

Joker81

Golden Member
Aug 9, 2000
1,281
0
0
2^n = 8 n^4

well 8= 2^3
so you divide both sides by 2^3

You get 2^n-3 = n^4

(n Log 2 - 3log(2) = 4 * log (n)

n log 2 - 4 log n = 3 log 2

divide by log2

get n - 4*log(n)/log(2) = 3
take e^ to both sides

get

(e^x)*x^(-4/ln(2))=e^3


which roughly equals

2.71828^x*(x^-5.77078)=20.0855


you could put one of the x's on the other side and get



x^-5.77078 = e^(3-x)


now solve haha