LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

solving simultaneous equations

I have 2 equations with 2 unknown variables, x & y. how do I solve them to get the answer for both. the equations are like this one: (x1^2- x2^2)^0.5 + ( y1^2-y2^2)^0.5.
If anyone has solved this can you please send me the VI.
0 Kudos
Message 1 of 4
(2,586 Views)
Sorry, but in your equation there are 4 unknown variables and you wrote only left side of it.
Write exactly what is your system of equations
0 Kudos
Message 2 of 4
(2,586 Views)
ok, to be precise, I want to plot an equilateral triangle on a picture control.

I have 3 co ordinates (x1,y1), (x2,y2), & (x3,y3)
I know the value of (x1,y1) which I derive from the mouse position. the length of the altitude is fixed at 20. and I can calculate the slope of the altitude too.

I need to find out the values of (x2,y2) & (x3,y3) so that I can plot the triangle.

I hope it is clearer now. If you can think of any better way to draw the triangle please do tell me.
0 Kudos
Message 3 of 4
(2,586 Views)
O.K.
I think that i have more easy way of your problem:
i use trigonometric way.
I attached vi that get number of peaks (in your case 3), point of first coordinate (from mouse), length of altitude and angle of figure relatively to screen.

I think this will help you.

Nadav Chernin

nchernin@chiaro.com
0 Kudos
Message 4 of 4
(2,586 Views)