Please post everything.I have 4 points and 4 equations of the form a(x-c)^b+d. I want to search for the parameters a,b,c and d. But i have no idea how to solve that. I tried using NSolve in Mathematica but to results popped up.
1) 1 = a (1 - c)^b + dPlease post everything.
Please follow the rules of posting in this forum, as enunciated at:1) 1 = a (1 - c)^b + d
2) 8 =a (16 - c)^b + d
3) 20 = a (31 - c)^b + d
4) 82 =a (45 - c)^b + d
Thanks for your answer, since i have a d term, i cant see how using logs would help me solve this system.Please follow the rules of posting in this forum, as enunciated at:
READ BEFORE POSTING
Please share your work/thoughts about this assignment
Start with taking "logs" - so that the equations become linear in log.
probably a=1, b=2,c=0,d=0. i tried using Findroot using the same method but it gives me some weird numbersSearching 4D space for solutions to non-linear equations is a daunting task even for Mathematica.
Do you have some expected ranges of values for a,b,c,d? Something that could be useful for an initial guess?
using a graph of data, im trying to fit 4 points in a function that looks like a(x-c)^b+dSearching 4D space for solutions to non-linear equations is a daunting task even for Mathematica.
Do you have some expected ranges of values for a,b,c,d? Something that could be useful for an initial guess?
using a graph of data, im trying to fit 4 points in a function that looks like a(x-c)^b+d
Creative use of logs or not this one is a nightmare. Is this the given problem or did you derive the equations from a larger problem?1) 1 = a (1 - c)^b + d
2) 8 =a (16 - c)^b + d
3) 20 = a (31 - c)^b + d
4) 82 =a (45 - c)^b + d
using a graph of data, im trying to fit 4 points in a function that looks like a(x-c)^b+d
Have you considered the Mathematica function NonlinearModelFit?
I suspect it will solve this right quick for you now that I know what you're doing.
Im trying to simply find the parameters of the function that i want to use. i have 4 points and i want to use a(x-c)^b+d.Creative use of logs or not this one is a nightmare. Is this the given problem or did you derive the equations from a larger problem?
-Dan
Adenedum: Sorry. I missed a post. Since you are graphing, do you know that an exact solution exists or are you trying to find a best fit of the four parameters, or something of that nature?
Ah, so you do NOT have 4 equations of the form a(x-c)^b+d. You have only have one and it is equations of the form a(x-c)^b+d1) 1 = a (1 - c)^b + d
2) 8 =a (16 - c)^b + d
3) 20 = a (31 - c)^b + d
4) 82 =a (45 - c)^b + d