Post Reply 
Quadratic Formula Is there an app to plug in numbers?
10-20-2020, 05:32 PM
Post: #1
Quadratic Formula Is there an app to plug in numbers?
Has somebody made an app that you plug in numbers in the quadratic Formula an you get your 2 answers? I want it to make school easy. Thanks for your time.
Find all posts by this user
Quote this message in a reply
10-20-2020, 06:47 PM
Post: #2
RE: Quadratic Formula Is there an app to plug in numbers?
Why would you want to do that? The Prime can solve quadratics without a program already.

E.g.

Code:
CAS.zeros('X²-6*X+2')
            [5.6457....... 0.354248.....]

There are only 10 types of people in this world. Those who understand binary and those who don't.
Find all posts by this user
Quote this message in a reply
10-20-2020, 06:56 PM
Post: #3
RE: Quadratic Formula Is there an app to plug in numbers?
You have also the built-in Explorer app.
Find all posts by this user
Quote this message in a reply
10-20-2020, 07:18 PM
Post: #4
RE: Quadratic Formula Is there an app to plug in numbers?
If those don't work for you, this is a nice little exercise for you to program yourself.
Find all posts by this user
Quote this message in a reply
10-20-2020, 09:58 PM
Post: #5
RE: Quadratic Formula Is there an app to plug in numbers?
(10-20-2020 06:56 PM)Didier Lachieze Wrote:  You have also the built-in Explorer app.

Which can even be invoked directly
Code:
QuadSolve(1,0,-4)       {-2,2}
Find all posts by this user
Quote this message in a reply
10-21-2020, 06:36 PM
Post: #6
RE: Quadratic Formula Is there an app to plug in numbers?
I think the best tool Prime provides to solve polynomials is the command: proot.

I prefer proot for the following reasons
  • Faster to type. Just enter the coefficients in brackets [ ]. Rather than typing an equation.
  • Solves for real and complex roots. The methods mentioned above do not compute complex roots.
The command proot is accessed with the Toolbox key > CAS menu > 6. Polynomial > 1. Find Roots

Example: Find roots for x^2+4x+5.
Code:
proot([1,4,5])                    [(-2,-1)  (-2,1)]

There are other useful commands in the Polynomial menu too. Such as solving for the coefficients instead of the roots. I recommend it.
Find all posts by this user
Quote this message in a reply
10-21-2020, 08:28 PM
Post: #7
RE: Quadratic Formula Is there an app to plug in numbers?
(10-20-2020 05:32 PM)Subaru Wrote:  Has somebody made an app that you plug in numbers in the quadratic Formula an you get your 2 answers? I want it to make school easy. Thanks for your time.

Hello Subaru,
Welcome!
Don’t be afraid, there is no stupid question here, we are all here to help you, and as you see, there are plenty of answers, even if we all think that there is no need to program the quadratic formula.

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
10-22-2020, 08:42 AM (This post was last modified: 10-22-2020 08:44 AM by Stevetuc.)
Post: #8
RE: Quadratic Formula Is there an app to plug in numbers?
(10-21-2020 06:36 PM)Carsen Wrote:  I think the best tool Prime provides to solve polynomials is the command: proot.

I prefer proot for the following reasons
  • Faster to type. Just enter the coefficients in brackets [ ]. Rather than typing an equation.
  • Solves for real and complex roots. The methods mentioned above do not compute complex roots.
The command proot is accessed with the Toolbox key > CAS menu > 6. Polynomial > 1. Find Roots

Example: Find roots for x^2+4x+5.
Code:
proot([1,4,5])                    [(-2,-1)  (-2,1)]

There are other useful commands in the Polynomial menu too. Such as solving for the coefficients instead of the roots. I recommend it.

Quadsolve does solve for complex roots

Try
Code:
QuadSolve(1,-1,6^2+31^2)

Gives
Code:
{0.5+31.5713477698*i,0.5-31.5713477698*i}
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)