Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Looking to reverse a quadratic formula, Sqrt and all??

I know there is a trend line avail. with poly fit and you can change to
numbers.
However when reversing this formula to solve for X there is no help in
excel. Is there an add in or someone whith a spreadsheet that can help?

Simple Quadratic help would do?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Looking to reverse a quadratic formula, Sqrt and all??

with the usual coefficients:
a in A1
b in B1
c in C1

use:

=(-B1+(B1*B1-4*A1*C1)^0.5)/(2*A1)
=(-B1-(B1*B1-4*A1*C1)^0.5)/(2*A1)


For for A1 thru C1:

10 60 30

the formulas return the Real roots:

-0.550510257
-5.449489743

For non-Real roots you must use more "imaginative" methods.
--
Gary''s Student - gsnu200860


"DataSchemer" wrote:

I know there is a trend line avail. with poly fit and you can change to
numbers.
However when reversing this formula to solve for X there is no help in
excel. Is there an add in or someone whith a spreadsheet that can help?

Simple Quadratic help would do?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Looking to reverse a quadratic formula, Sqrt and all??

Use the quadratic formula

with A in A1, b in B1, c in C1

=-b +/- sqrt(b**2-4ab)
__________________
2a


=IF(B1^2-(4*A1*B1)=0,(-1*B1)+SQRT(B1^2-(4*A1*B1))/(2*A1),(-1*B1/2*A1)&"+"&SQRT((4*A1*B1)-B1^2)/(2*A1)&"i")

and

=IF(B1^2-(4*A1*B1)=0,(-1*B1)-SQRT(B1^2-(4*A1*B1))/(2*A1),(-1*B1/2*A1)&"-"&SQRT((4*A1*B1)-B1^2)/(2*A1)&"i")


"DataSchemer" wrote:

I know there is a trend line avail. with poly fit and you can change to
numbers.
However when reversing this formula to solve for X there is no help in
excel. Is there an add in or someone whith a spreadsheet that can help?

Simple Quadratic help would do?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Looking to reverse a quadratic formula, Sqrt and all??

To calculate non real roots:

Real1:
=(-B1+IF(B1^2-4*A1*C1<0,0,B1^2-4*A1*C1)^0.5)/(2*A1)
Imaginary1 (if needed):
=IF(B1^2-4*A1*C1<0,(-1*(B1^2-4*A1*C1))^0.5/(2*A1),"")
Real2:
=(-B1-IF(B1^2-4*A1*C1<0,0,B1^2-4*A1*C1)^0.5)/(2*A1)
Imaginary2 (if needed):
=IF(B1^2-4*A1*C1<0,(-1*(B1^2-4*A1*C1))^0.5/-(2*A1),"")


--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Gary''s Student" wrote:

with the usual coefficients:
a in A1
b in B1
c in C1

use:

=(-B1+(B1*B1-4*A1*C1)^0.5)/(2*A1)
=(-B1-(B1*B1-4*A1*C1)^0.5)/(2*A1)


For for A1 thru C1:

10 60 30

the formulas return the Real roots:

-0.550510257
-5.449489743

For non-Real roots you must use more "imaginative" methods.
--
Gary''s Student - gsnu200860


"DataSchemer" wrote:

I know there is a trend line avail. with poly fit and you can change to
numbers.
However when reversing this formula to solve for X there is no help in
excel. Is there an add in or someone whith a spreadsheet that can help?

Simple Quadratic help would do?

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
Why Cos(45) is not equal 1/Sqrt(2)? Eric Excel Discussion (Misc queries) 2 November 18th 07 04:35 PM
Sum of SQRT(x) Lina New Users to Excel 4 February 5th 07 06:31 AM
Unable to find values of SQRT(0) big_ears Excel Worksheet Functions 3 April 12th 06 01:52 PM
We have SQRT. But what is the function for other roots - cubed ro. ACC Excel Worksheet Functions 7 March 2nd 05 07:37 PM
how to multiply 29,5 with sqrt of 12 Smiley Excel Worksheet Functions 2 February 10th 05 05:27 PM


All times are GMT +1. The time now is 07:30 AM.

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

About Us

"It's about Microsoft Excel"