File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes Solving an equation, please help. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply Bookmark "Solving an equation, please help. " Watch "Solving an equation, please help. " New topic
Author

Solving an equation, please help.

Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
Solve the equation for the value of n; P and c are known

P/n = 2^(1/((c)*(P/n)))

the right hand side expression is:

2 raise to (1 divided by (c multiplied by (P divided by n)))

thanks in advance
Ankur Sharma
Ranch Hand

Joined: Dec 27, 2005
Posts: 1234
Originally posted by Sidd Cool:
Solve the equation for the value of n; P and c are known

P/n = 2^(1/((c)*(P/n)))

the right hand side expression is:

2 raise to (1 divided by (c multiplied by (P divided by n)))

thanks in advance


What is this???


The Best way to predict your future is to create it
Ankur Sharma
!!!JAVA!!!
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6371

Homework ?


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11286

I would start here: Mathwords: Logarithm Rules


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
Actually i am trying to develop an algorithm for a given problem, wherein i am supposed to separate a string in two parts based on a mathematical logic. I derived this formula to separate the string. P is the length of full string and n is the length of string required to be extracted. But this equation is ver confusing. Any help will be appreciated.

thanks,
Sid
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Too meaningful. Get thee to Diversions.


[ JavaRanch FAQ ][ Book Promotions ][ DbTamer ][ BumperStickers ][ JavaRanch Badges ]
Brandon Bernie
Greenhorn

Joined: Nov 02, 2007
Posts: 9
Wolfram Alpha will help you.

http://www06.wolframalpha.com/input/?i=Solve[2^%28n%2F%28c+P%29%29+%3D%3D+P%2Fn%2C+n]

copy / paste the url... Im not sure what is going on with the clickable link.
 
 
subject: Solving an equation, please help.
 
Threads others viewed
line graphs
Java Code for APR Calculation using Newton Rapson Method
Efficient algorithm for string manipulation
Post your favorite trick questions
Newton Rapson library for APR calculator in JAVA
MyEclipse, The Clear Choice