Difference between revisions of "Ibanix/sandox/cts-solve"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created page with "Input: power(=0), add(=0), shift(=0), x_low (=1), x_high(=5), low, high, (raw or log), t m = (high - low) / ( (x_high+shift)^power - (x_low+shift)^power ) b = low - m*(x_low...")
 
Line 5: Line 5:
  
 
Output = m * (t+shift)^power + b + add
 
Output = m * (t+shift)^power + b + add
 +
 +
Output expanded = ((high - low) / ( (x_high+shift)^power - (x_low+shift)^power )) * (t+shift)^power + (low - m*(x_low+shift)^power) + add

Revision as of 13:46, 29 February 2016

Input: power(=0), add(=0), shift(=0), x_low (=1), x_high(=5), low, high, (raw or log), t

m = (high - low) / ( (x_high+shift)^power - (x_low+shift)^power ) b = low - m*(x_low+shift)^power

Output = m * (t+shift)^power + b + add

Output expanded = ((high - low) / ( (x_high+shift)^power - (x_low+shift)^power )) * (t+shift)^power + (low - m*(x_low+shift)^power) + add