On 4/30/2010 2:23:14 PM, dvmoldovan wrote:
>Sorry to get back on this post
>so late, but I first needed to
>carefully read (and
>understand) all your replies
>(thanks again). Still, I fill
>I haven't asked the right
>question.
That may be, but the answer I gave is the solution to the problem you posted, even if it is not the answer you wanted.
>If you have a
>function, Y(X), in which you
>know for a given domain (data
>in excel spreadsheets) both Y
>and X
You may know Y and X values for the given domain, but the way you defined your problem means they are not used to find the the solution, because.....
> but you have no clue on
>the 4 coefficients (A, B, C
>and D) that link X and Y (by
>the formula Y = (A + B * X *
>X)/(1 + C * X + D * X * X), if
>one imposes 4 conditions on
>the function you should get a
>domain of values for A, B, C
>and D.
.....the conditions you impose are at specific X and Y values, 0, 0.45, and 1, and it is the values of the conditions at those values (only at those values) that define the coefficients.
>Those values should be
>integers, since the function
>itself has a very physical
>meaning (stress = a function
>of strain).
Why should they be integer? There is no reason they need even be real. The stress and strain (Y and X) must be the real, but the coefficients don't need to be. For the example values of Eo6 and Ecm I plugged in the coefficients are complex. There are no real solutions. In fact, if you are talking about dynamic strain, as opposed to static strain, the coefficients are in general not real because the strain lags behind the stress. If you really need real coefficients then there is either an error somewhere else in the worksheet that leads to incorrect values for Eo6 and Ecm, or you defined the problem incorrectly. In fact, one of those must be true, since if you take the example coefficients for i=100 and j=10 at the end of my worksheet and calculate y(Aa,Bb,Cc,Dd,X6[100,10)) you get a complex stress, which cannot be correct. That means either the conditions you imposed to find the coefficients are inconsistent with the data, the data is wrong, or the method used to calculate E06 and Ecm are wrong.
>The problem is
>that no matter how I try, it
>always ends with an error
>(doesn't calculate anything).
>In my first post, the file
>attached is an exemple that
>gave values for A, B, C and D
>for a particular value of X
>and Y.
No, you just thought it did. The syntax in your solve block is completely wrong. To Mathcad, what you wrote for your conditions is gibberish. Always check the answers! If you plug those coefficients for X.6[100,10 into your equation you get Y=-0.142, whereas Y.6[100,10 is 9.127*10^-4
It is easy enough to solve for the coefficients for a particular value of X and Y with an additional three constraints, not four (y=f(x) at a given y and x is already one constraint). Is that what you want? If so, which of the four current constraints do you want to get rid of?
Richard