Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Quadratic Equation

Hi,

Is there any way to solve to quadratic equation is Excel?
I want to do it one cell and then copy it all down in the spreadsheet.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Quadratic Equation

The general solution for the quadratic equation ax^2 + bx + c = 0 is:

x = (-b +- sqrt(b^2 - 4ac) ) / 2a

NOTE: there are two solutions - one with a +sqrt( ) term and the other
with a -sqrt( ) term, so you will need two columns for the solutions.

If you have values for a in column A, values for b in column B and
values for C in Column C then you can just substitute the appropriate
cell references into the formula above in column D and column E, as
follows:

D1: = (-B1 + SQRT(B1^2 - 4*A1*C1) ) / (2*A1)
E1: = (-B1 - SQRT(B1^2 - 4*A1*C1) ) / (2*A1)

assuming your values start on row 1. Then just copy these two formulae
down the columns for as many values as you have in columns A to C.

Hope this helps.

Pete


Omkar wrote:

Hi,

Is there any way to solve to quadratic equation is Excel?
I want to do it one cell and then copy it all down in the spreadsheet.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Quadratic Equation

To expand on Pete's answer, see
http://people.stfx.ca/bliengme/Excel...adraticEqn.htm
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Omkar" wrote in message
oups.com...
Hi,

Is there any way to solve to quadratic equation is Excel?
I want to do it one cell and then copy it all down in the spreadsheet.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Quadratic Equation

The Quadratic Formula is: x = (-b +- sqrt(b^2 - 4ac) ) / 2a

Will your data ever result in non-real solutions? This will occur if the term inside the square root sign is negative (b^2 - 4ac).



--

"Omkar" wrote in message oups.com...
Hi,

Is there any way to solve to quadratic equation is Excel?
I want to do it one cell and then copy it all down in the spreadsheet.

Thanks.

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 doesn't display the proper equation with trendlines wsander2 Charts and Charting in Excel 2 October 18th 06 02:03 AM
Equation to refer to data value(s) and not the cell?? [email protected] Excel Discussion (Misc queries) 2 March 10th 06 09:02 AM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
Need Help with #N/A in equation mkerstei Excel Discussion (Misc queries) 7 July 29th 05 09:03 PM
solve quadratic equation system Miguel Excel Worksheet Functions 1 April 27th 05 02:30 PM


All times are GMT +1. The time now is 08:04 AM.

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"