Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 
Author Message
 Post subject: Formula for calculating skill lvl from xp
PostPosted: September 15th, 2005, 4:06 am 
Just out of curiosity I derived a formula for calculating the skill level from a known amount of experience points. The formula is

lvl = 99 + (log (xp/13M) / log 1.1041)

where xp is the known amount of experience points and 13M is the amount of experience points reguired for lvl 99, i.e. 13,034,431.

For example, let's say that I know that after a long mining project I will have 2,532,000 xp in mining. To calculate which mining lvl I will have after the project I can use the formula as follows

lvl = 99 + (log (2,532,000/13,034,431) / log 1.1041)
lvl = 99 + (log 0.1943 / log 1.1041)
lvl = 99 + (-0.7115 / 0.0430)
lvl = 99 + (-16.5465)
lvl = 82.4535

I will be on lvl 82 and about halfway to lvl 83.

Yes, I know it would be easier to just look it up in the table in rsbandb's skill guides, but just as a curiosity I thought I'd post it here. I use it myself in an Excel table that I use to keep track of what my skill lvls are going to be after I've finished mining about 32k coal and 8k mith that I need to smelt and smith in order to reach lvl 70 in smithing.

This formula is 0.4% accurate from lvl 50 and up (meaning the error is a maximum of 487 xp, which is not much at those amounts). It's pretty accurate even from lvl 30 and up. Below that the manual adjustments that Jagex has made to the xp reguirements have too big an impact and it throws the formula off. That's right, the xp reguirements do not grow at a steady rate, they have been adjusted somewhat, especially on the lower lvls, but at the higher lvls the growth rate is about 1.1041 times the xp reguirement of the previous lvl.


Top
  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: September 15th, 2005, 4:06 am 

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: September 15th, 2005, 5:11 am 
Cleverly Disguised Spammer
User avatar
Offline

Joined: December 17th, 2004, 12:03 pm
Posts: 10901
Location: Anglia europeanunion
RS Name: Piratesock
RS Status: P2P
Clan Name: The Mushroom Pirate Federation
That's nice. I have no idea what else to say. o.0

_________________


Top
 Profile  
 
 Post subject:
PostPosted: September 15th, 2005, 5:30 am 
BANNED
User avatar
Offline

Joined: April 1st, 2005, 12:09 am
Posts: 2188 sg
RS Name: Badass San
RS Status: P2P
Clan Name: Ex-Rune Raiders
HOLY MEATBALLS!:O

How did you find that out...


Top
 Profile  
 
 Post subject:
PostPosted: September 15th, 2005, 5:37 am 
Ultima-Kill3rz wrote:
HOLY MEATBALLS!:O

How did you find that out...


Hehe, took me about 4 hours of calculating, testing and confirming. I had to look up the mathematical laws of exponential growth and natural logarithms from different sources on the web. Funny side note, after all that research online the ad banner on top of the forum page now reads:

Quote:
Solving square roots?
Algebrator shows, explains steps to any solving square roots problem!
http://www.Algebra-Help.com

Ads by Goooooogle


Cookies are sometimes frighteningly efficient :)


Top
  
 
 Post subject:
PostPosted: September 15th, 2005, 7:23 am 
Dragon Member
User avatar
Offline

Joined: May 5th, 2005, 5:56 pm
Posts: 2960
Location: Los Angeles, California ua
RS Status: P2P
Clan Name: Clanless
Thanks for sharing it with is. I don't know how to use it though. What math lvl is that?


Top
 Profile  
 
 Post subject:
PostPosted: September 15th, 2005, 8:00 am 
Runite Member
User avatar
Offline

Joined: March 24th, 2005, 1:24 pm
Posts: 848
Location: England gb
RS Name: xHoward9
RS Status: P2P
wha...
wha...
wha...

wow

good maths work

_________________
Image
SOTW.WINS: 11 - SOTM.WINS: 4
SOTW:72 86 93 95 99 101 102 119 129 170 187
SOTM:5 10 11 16
WINSIGS:72 86 93 95 99 101 102 119 129 170 187


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: September 15th, 2005, 8:00 am 
Runite Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: September 15th, 2005, 8:13 am 
Adamantite Member
User avatar
Offline

Joined: July 23rd, 2005, 11:32 am
Posts: 213
RS Status: P2P
wtf?

i didnt get 1 word of that.....u must be some supa smart ****

_________________
~Craig


Top
 Profile  
 
 Post subject:
PostPosted: September 15th, 2005, 9:02 am 
BANNED
User avatar
Offline

Joined: April 1st, 2005, 12:09 am
Posts: 2188 sg
RS Name: Badass San
RS Status: P2P
Clan Name: Ex-Rune Raiders
I tried your formula with 1 mil exp. Wow was I shocked when I realised that you were accurate... I got 73.09 or somethin like that.

Lol, I have that ad right on top of the page too wierd.


Top
 Profile  
 
 Post subject:
PostPosted: September 15th, 2005, 9:05 am 
1.Wizard.1 wrote:
Thanks for sharing it with is. I don't know how to use it though. What math lvl is that?


Hard to say what math lvl this is, I'm not from the States. I learned this at the age of 15 or 16. High school math in other words.

Anyhoo, it's not hard to use. Don't be scared by the "log". Even the simplest scientific calculator has a "log" button. There's one in the Windows calculator, too, if you switch it into scientific mode.

Here, try it: just start by dividing the known amount of xp with the xp reguired for lvl 99, e.g. 2,532,000/13,034,431=0.1943 (I'll use the same example as above). Then hit the "log" button and the readout should be -0.7115. I've rounded these, so they're off by a decimal or two. Hit the division button, enter 1.1041 and hit "log" again. The readout says 0.0430. Then hit enter and the calculator divides the two logarithms, giving -16.4565. This is the figure to add to 99 (or subtract from 99, however you want to see it): -16.4565 + 99 = 82.4535.

Note that when you don't round the figures during the calculations the formula gives a more accurate result.

But, like I said, it's not very useful for this kind of calculating, it's much more convenient to just check the skill table on rsbandb. I use this formula in my Excel table because the known xp keeps changing and this way I don't have to count it every single time. I just enter the amount of xp I have atm and what I expect to mine in the future and the formula instantly gives the mining skill lvl I will be on after that.


Last edited by arembee on September 15th, 2005, 10:33 am, edited 1 time in total.

Top
  
 
 Post subject:
PostPosted: September 15th, 2005, 9:56 am 
Ultima-Kill3rz wrote:
I tried your formula with 1 mil exp. Wow was I shocked when I realised that you were accurate... I got 73.09 or somethin like that.


Hehe, glad to hear it worked for you.


Ultima-Kill3rz wrote:
Lol, I have that ad right on top of the page too wierd.


Hmm... maybe it's just a random thing then and not some webtracker... or maybe it's even more sinister. They've attached that banner ad to this thread because they are related. You are all being watched :shock:


Top
  
 
 Post subject:
PostPosted: November 28th, 2006, 6:08 pm 
arembee wrote:
Cookies are sometimes frighteningly efficient :)


For gods sake. Turn off 3rd party cookies. BIG security hole there.


Top
  
 
Display posts from previous:  Sort by  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to: