linux120 Posted December 29, 2010 Report Share Posted December 29, 2010 (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 December 29, 2010 by linux120 Quote Link to comment

SuperS_5 Posted December 29, 2010 Report Share Posted December 29, 2010 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. Quote Link to comment

Roderic Posted December 29, 2010 Report Share Posted December 29, 2010 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? Quote Link to comment

Roderic Posted December 29, 2010 Report Share Posted December 29, 2010 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. Quote Link to comment

mzu Posted December 30, 2010 Report Share Posted December 30, 2010 (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 December 30, 2010 by mzu Quote Link to comment

linux120 Posted December 30, 2010 Author Report Share Posted December 30, 2010 hi thanks for reply.... I have used a matrix.... Quote Link to comment

## Recommended Posts

## Join the conversation

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