Win a copy of Kotlin in Action this week in the Kotlin forum!
programming forums Java Java JSRs Mobile Certification Databases Caching Books Engineering OS Languages Frameworks Products This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Sheriffs:
Saloon Keepers:
Bartenders:

# Solving an equation, please help.

Sidd Kulk
Ranch Hand
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

Shaan Shar
Ranch Hand
Posts: 1249
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???

Deepak Bala
Bartender
Posts: 6663
5
Homework ?

marc weber
Sheriff
Posts: 11343
I would start here: Mathwords: Logarithm Rules

Sidd Kulk
Ranch Hand
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
Posts: 13459
Too meaningful. Get thee to Diversions.

Brandon Bernie
Greenhorn
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.