Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
horsevalue
function getPrice( R, T ) { var e = 2.71828; var price = ( ( ( e ) ** ( -R/T ) ) * T/35 ) * ( 10 ** 5 ); return price; } var x = {}; for( var i=50000; i>=0; i-- ){ x[i] = getPrice( i, 50000 ) } console.log( JSON.stringify( x ) );
run
|
edit
|
history
|
help
0
Find the missing number in array
neural spam network
A01 Implement Queue with Limited Size of Arrays
Sort based on keys
Compare 2 arrays and fill 1 or 2
Range List for JavaScript
fast function to reverse unsigned integer
ddd
Add property to object
Include object in a query string