Post Reply 
BUG ! Solve APP failed ? [Solved]
09-13-2015, 05:28 PM (This post was last modified: 09-15-2015 08:40 PM by dg1969.)
Post: #1
BUG ! Solve APP failed ? [Solved]
Hi,

Here is two functions:
\[x(t)=-\dfrac{a}{2\tan\alpha}\cdot\sin\left(\dfrac{2r\omega\sin\alpha}{a}\cdot t\right)\]

\[z(t)=-\dfrac{a}{2\tan\alpha}\left(1-\cos\left(\dfrac{2r\omega\sin\alpha}{a}\cdot t\right)\right)\]

I'd like to solve this problem of two equations and two unknows \(A,Y\)

\[x(A)=1000\]
\[z(A)=Y\]

with : \(a=520\); \(r=105\); \(\omega=-1\); \(\alpha=1,53\times10^{-3}\) all defined as global var in the prime

Code:

fsolve([VAG.X1(t)=1000 VAG.Y1(t)=y],[t y],[10 -5])

Give the answer in less than a second : [9.52 -2.94]

I have a "VAG App" based on parametric plot App and where I place \(x(t)\) and \(z(t)\) in X1(T) and Y1(T):

Code:

X1(T)=-a/(2*TAN(alpha))*SIN(2*r*omega*SIN(alpha)*T/a)
Y1(T)=-a/(2*TAN(alpha))*(1-COS(2*r*omega*SIN(alpha)*T/a))

In the symb view of solve APP I put :

Code:

E1: VAG.X1(A)=X
E2: VAG.Y1(A)=Y

And in the num view I place X:1000 (not selected) and the guess for two unknows (selected) A:9.5 ; Y: -2.9

But the solve APP always failled

Any idea, What's wrong ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BUG ! Solve APP failed ? [Solved] - dg1969 - 09-13-2015 05:28 PM
RE: Solve APP failed ? - tvarini - 09-14-2015, 07:08 PM



User(s) browsing this thread: 1 Guest(s)