View Single Post
Old 05-21-2008, 12:30 PM   · #6
Dreads
NamePros Member
 
Trader Rating: (4)
Join Date: Aug 2006
Posts: 162
NP$: 74.20 (Donate)
Dreads is an unknown quantity at this point
Wouldnt it bee better to replace $k = 1 to $k = $level ?
<?php
for($k = 1; $k <= 1000; $k++)
{
$exp = (3/4) * ((50/3) * pow($k, 3) - 100 * pow($k, 2) + ((850/3) * $k) - 200);
echo $k.": ".$exp."<br>";
}
?>


Please register or log-in into NamePros to hide ads
Dreads is offline   Reply With Quote
Site Sponsors
Hunting Moon http://www.mobisitetrader.com/ Grow your forum!
Advertise your business at NamePros
All times are GMT -7. The time now is 09:18 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.