From help-request at octave dot org Sun Feb 6 12:13:11 2005 Subject: Re: two quadratic eq, please help From: Vic Norton To: "shih lin" , help@octave.org Date: Sun, 6 Feb 2005 13:17:42 -0500 You don't need octave for this. It is a=20 straightforward application of the quadratic=20 formula: x =3D (- b =B1 sqrt( b^2 - 4ac))/2a. Expand the equations and eliminate the square=20 terms between them. This leaves the equation of a=20 line. Solve the linear equation for y in terms of=20 x, and substitute this y in either of your=20 quadratic equations. Now you have a quadratic=20 equation in x. Solve this equation with the=20 quadratic formula and compute the solution y's=20 corresponding to the solution x's. Regards, Vic At 12:25 AM -0800 2/6/05, shih lin wrote: >dear octave and math programmers: > > highly appreciate anyone can tell me how (or hint) to use octave to >solve:(12-x)^2 + y^2 =3D15^2, (16+y)^2+x^2=3D25^2=20 >(by programming or using its built >in function)? >that ^2 mean square. >looking to any math&programer's help, > eric, fsshl at yahoo dot com > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------