Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default 2 variables in 2 quadratic equations in excel

Dear ms excel user/programmers:

I hope this question is not repeated before. But anyway

highly appreciate anyone can tell me how (or hint) to use ms excell
and/or visual c/c++, basic, or octave(emulate matlab) to solve:
(12-x)^2 + y^2 =15^2,
(16+y)^2+x^2=25^2

(by programming or using its built in function)?

that ^2 mean square.

looking to any excel user, mathmatician, and/or programmer's help,
eric,

  #2   Report Post  
Steve Dalton
 
Posts: n/a
Default

Hi Eric

The brute force way (requiring the least mathematical analysis) is to
calculate the left hand side as functions of two reasonable first guess x
and y inputs and then calculate the total error (say as a sum squares of the
differences) of these compared to the right hand sides.

Once you have that you can run the solver add-in to minimise (or set to
zero) the error cell's value by altering (subject to optional constraints)
your input x and y values.

Regards

Steve Dalton


wrote in message
oups.com...
Dear ms excel user/programmers:

I hope this question is not repeated before. But anyway

highly appreciate anyone can tell me how (or hint) to use ms excell
and/or visual c/c++, basic, or octave(emulate matlab) to solve:
(12-x)^2 + y^2 =15^2,
(16+y)^2+x^2=25^2

(by programming or using its built in function)?

that ^2 mean square.

looking to any excel user, mathmatician, and/or programmer's help,
eric,



  #3   Report Post  
Dana DeLouis
 
Posts: n/a
Default

and/or ...octave(emulate matlab) to solve:

I don't have matlab, but I would assume there is a Solve command similar to
the following.
Are you looking for a more general form of the equation in order to solve
other equations with different variables?

equ =
{
(12-x)^2 + y^2==15^2,
(16+y)^2 + x^2==25^2
};

Solve[equ]

{x - 0, y - 9},
{x - 24, y - -9}

HTH
--
Dana DeLouis
Win XP & Office 2003


wrote in message
oups.com...
Dear ms excel user/programmers:

I hope this question is not repeated before. But anyway

highly appreciate anyone can tell me how (or hint) to use ms excell
and/or visual c/c++, basic, or octave(emulate matlab) to solve:
(12-x)^2 + y^2 =15^2,
(16+y)^2+x^2=25^2

(by programming or using its built in function)?

that ^2 mean square.

looking to any excel user, mathmatician, and/or programmer's help,
eric,



  #4   Report Post  
Dana DeLouis
 
Posts: n/a
Default

Just be advised that, in general, two circles may not intersect (two
imaginary solutions), have 1 common point, or hopefully in your example, two
real solutions...

http://mathworld.wolfram.com/Circle-...ersection.html

HTH
--
Dana DeLouis
Win XP & Office 2003


"Dana DeLouis" wrote in message
...
and/or ...octave(emulate matlab) to solve:


I don't have matlab, but I would assume there is a Solve command similar
to the following.
Are you looking for a more general form of the equation in order to solve
other equations with different variables?

equ =
{
(12-x)^2 + y^2==15^2,
(16+y)^2 + x^2==25^2
};

Solve[equ]

{x - 0, y - 9},
{x - 24, y - -9}

HTH
--
Dana DeLouis
Win XP & Office 2003


wrote in message
oups.com...
Dear ms excel user/programmers:

I hope this question is not repeated before. But anyway

highly appreciate anyone can tell me how (or hint) to use ms excell
and/or visual c/c++, basic, or octave(emulate matlab) to solve:
(12-x)^2 + y^2 =15^2,
(16+y)^2+x^2=25^2

(by programming or using its built in function)?

that ^2 mean square.

looking to any excel user, mathmatician, and/or programmer's help,
eric,





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Can I use variables for workheet name references in Excel functions? Amihai Bareket Excel Discussion (Misc queries) 1 February 4th 05 05:11 PM
Can I use variables for workheet name references in Excel functions? Amihai Bareket Excel Worksheet Functions 1 February 4th 05 05:11 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
Can't read Dutch written equations in excel files. Could before.. MMS USA Excel Worksheet Functions 10 January 8th 05 10:27 PM


All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"