# System of linear equations

## Recommended Posts

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

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.

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?

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.

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

hi

I have used a matrix....

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account. ×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

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

×
×