Jump to content

System of linear equations


linux120

Recommended Posts

Posted (edited)

Hi,

I should solve this system of equations:

{ (x-xa)^2 + (y-ya)^2 = (x-xb)^2 + (y-yb)^2

{ (x-xa)^2 + (y-ya)^2 = r^2

I know values of xa,ya, xb,yb e r

to obtain values of x and y (the result can take different values)

I thought to use Mathscritp node but I don't having knowledge of Mathlab.....

Thanks hello...

ps happy christmas :)

Edited by linux120
Posted

Hi, Do you know how to do this by hand? LabVIEW has all of the primitives required, if you do now want to use mathscript. Mathscript is not very difficult, just takes some patience and reading the help file to learn.

Posted

LabVIEW has some built in functions for matrix. So it wont be difficult to solve it without Mathscript, or by hand because you only have 2 equations.

Which solving method are you willing to use?

Posted

Intersections of 2 circles of radius r, and the coordinates of the centers are (xa;ya) and (xb;yb). Is that what you want to solve?

Ps: I think you should look at gauss methods, and also look for grober.

Posted (edited)

There is an analytical solution for that. Just chose proper coordinate system (x axis aligned with (xb-xa, yb-ya) vector). Then Y of your intersection point will be +-sqrt(r^2-(AB/2)^2). Rotating the coordinate system back will give what you need.

Edited by mzu

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.