Group Abstract Group Abstract

Message Boards Message Boards

0
|
3K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Function fit / equation solving for given values

Posted 10 years ago
POSTED BY: Joshua Thomas

One way is this:

power = 1/2; shift = 0; add = 0;
genericEquation = (y == m (x + shift)^power + b + add)
instances = equation /. {{x -> 1, y -> 5}, {x -> 5, y -> 10}}
solutions = NSolve[instances]
finalEquation = genericEquation /. First[solutions]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard