Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,413 members, 7,819,482 topics. Date: Monday, 06 May 2024 at 05:02 PM

Quadratic Equation Solving App I Developed In Python - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Quadratic Equation Solving App I Developed In Python (2950 Views)

Java Program To Solve Quadratic Equation-dealwap / Android Apps That Solves Quadratic Equation And Also Shows Its Steps By Me / Official Thread For Experts And Begineers In Python (2) (3) (4)

(1) (Reply) (Go Down)

Quadratic Equation Solving App I Developed In Python by Austinoski(m): 9:02am On Sep 28, 2015
My First Productive Application; a Quadratic Equation Solving Application. i designed every Algorithm myself. i programmed it with Python and programmed the GUI in Kivy Framework for innovative cross platform app development.

I am a self taught programmer.
I need People to work with and program something better; thereby improving our skills as people around me have little or no interest or passion for computer programming..

i will upload a screenshot of my App so you can see how it looks and give me feedback for i am planning on releasing it to the public via Play Store.

2 Likes

Re: Quadratic Equation Solving App I Developed In Python by asumo12: 9:15am On Sep 28, 2015
cool i will download it and test it!
Re: Quadratic Equation Solving App I Developed In Python by khaynoni(m): 3:49pm On Sep 28, 2015
Does it solve quadratic equations whose answers are COMPLEX?
By the way, well done.

1 Like

Re: Quadratic Equation Solving App I Developed In Python by onlyforchrist: 3:50pm On Sep 28, 2015
nice one bro, keep on the good work. I hope to develop my first program soon using Ruby.

1 Like

Re: Quadratic Equation Solving App I Developed In Python by Austinoski(m): 11:42pm On Sep 28, 2015
khaynoni:
Does it solve quadratic equations whose answers are COMPLEX?
By the way, well done.


give me some of the Complex ones u know and i will test it to see if my App can solve but if it can't, i will start working on a function for those complex equations.. thanks!
Re: Quadratic Equation Solving App I Developed In Python by khaynoni(m): 11:02am On Sep 30, 2015
Austinoski:



give me some of the Complex ones u know and i will test it to see if my App can solve but if it can't, i will start working on a function for those complex equations.. thanks!

Try this
2X²-2X+3=0
Re: Quadratic Equation Solving App I Developed In Python by sleepingdemon: 3:13pm On Oct 03, 2015
This is kivy python....you could have resized your textbox, although I know its a pain in the ass using kivy for andriod development.

1 Like

Re: Quadratic Equation Solving App I Developed In Python by Yinkash100(m): 6:06pm On Oct 03, 2015
Following. Keep up d good work bro.
M also self learning python but i got lost nd decided to take a break

1 Like

Re: Quadratic Equation Solving App I Developed In Python by macaranta(m): 8:09pm On Oct 03, 2015
Nice one bro...teach us how you made it on macaranta.com
Re: Quadratic Equation Solving App I Developed In Python by Austinoski(m): 11:11pm On Oct 03, 2015
sleepingdemon:
This is kivy python....you could have resized your textbox, although I know its a pain in the ass using kivy for andriod development.


Honestly! it is not easy at all...
Re: Quadratic Equation Solving App I Developed In Python by sleepingdemon: 11:32pm On Oct 03, 2015
Austinoski:



Honestly! it is not easy at all...


The lord is your strength
Re: Quadratic Equation Solving App I Developed In Python by Kodejuice: 5:50am On Oct 04, 2015
...

X1 = (-b+√b2-4ac)/2a
X2 = (-b-√b2-4ac)/2a

As easy as this, using the quadratic/almighty formula
Re: Quadratic Equation Solving App I Developed In Python by Kodejuice: 5:52am On Oct 04, 2015
Try building a simaltaneous equation solver, that should be more challenging.
Re: Quadratic Equation Solving App I Developed In Python by khaynoni(m): 9:30pm On Oct 04, 2015
Austinoski:



Honestly! it is not easy at all...

Still waiting for your response.
Re: Quadratic Equation Solving App I Developed In Python by Irelokeh(m): 7:11pm On Oct 05, 2015
Wow,awesome app bro nice work
Re: Quadratic Equation Solving App I Developed In Python by Nobody: 9:56pm On Oct 13, 2015
It's nice hommie. But you've got to see my own work. Its mind blowing and it handles complex alright.
The web address - http://www.nickzom.com

It is in the mathematics section.
Re: Quadratic Equation Solving App I Developed In Python by Nobody: 3:17am On Nov 27, 2015
Kodejuice:
Try building a simaltaneous equation solver, that should be more challenging.
determinants . . .
Re: Quadratic Equation Solving App I Developed In Python by Anmich: 1:04am On Nov 28, 2015
your quadratic equation answer is wrong, check your code again and correct the bug
Re: Quadratic Equation Solving App I Developed In Python by Kodejuice: 9:48am On Nov 28, 2015
Teempakguy:
determinants . . .
Yeah, Matrices
Re: Quadratic Equation Solving App I Developed In Python by Nobody: 8:36pm On Nov 28, 2015
Kodejuice:

Yeah, Matrices
hmmn, in that case, i don't think it's that hard. here's one i wrote. one small one. it can only calculate for two simultaneous equations. though. but extending it to three or more shouldn't be much of a pain.
Op, it goes like this.


/**
*
*/

/**
* @author teempakguy
*
*/
import java.util.Scanner ;
import java.text.DecimalFormat;
public class equation {

private static Scanner in;

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
DecimalFormat f = new DecimalFormat("##.00" ) ;
double a1 ;
double a2 ;
double b1 ;
double b2 ;
double d1 ;
double d2 ;
double xv ;
// xv means the value of x.
double yv ;
// yv means the value of y
double m1 ;
// m1 means the slope of the first equation.
double m2 ;
// m2 means the slope of the second equation.

Scanner in = new Scanner(System.in) ;

System.out.println("Hello, World. I'm here to calculate simultaneous equations." ) ;
System.out.println("before you start, make sure your equations are in the form ax + bx + d " ) ;

System.out.println("Now, what is the first x coefficient?" ) ;
a1 = in.nextDouble() ;

System.out.println("And the first y coefficient?" ) ;
b1 = in.nextDouble() ;

System.out.println("and the constant term?" ) ;
d1 = in.nextDouble() ;

System.out.println("now, I need the values for the second equation." ) ;

System.out.println("What is the second x coefficient? " ) ;
a2 = in.nextDouble() ;

System.out.println("and the second y coefficent? " ) ;
b2 = in.nextDouble() ;

System.out.println("And the constant term for that?" ) ;
d2 = in.nextDouble() ;

double detzero ;
double detone ;
double dettwo ;
// det stands for determinant.

detzero = ((a1*b2) - (a2*b1)) ;
detone = ((b1*d2) - (b2*d1)) ;
dettwo = ((a1*d2) - (a2*d1)) ;

if (detzero == 0)
{
System.out.println("you've Got to be kidding me. this is an invalid equation. :-/ " ) ;
}

xv = (detone / detzero) ;
yv = ((-1) * (dettwo / detzero)) ;
m1 = (-1 * (a1/b1)) ;
m2 = (-1 * (a2/b2)) ;


System.out.println("The value of x is " + f.format(xv)) ;
System.out.println("The value of y is " + f.format(yv)) ;
System.out.println("The slope of the first equation is " + f.format(m1)) ;
System.out.println("The slope of the second equation is " + f.format(m2)) ;



}
}
Re: Quadratic Equation Solving App I Developed In Python by Clinton594(m): 2:29pm On Nov 30, 2015
Austinoski:
My First Productive Application; a Quadratic Equation Solving Application. i designed every Algorithm myself. i programmed it with Python and programmed the GUI in Kivy Framework for innovative cross platform app development.

I am a self taught programmer.
I need People to work with and program something better; thereby improving our skills as people around me have little or no interest or passion for computer programming..

i will upload a screenshot of my App so you can see how it looks and give me feedback for i am planning on releasing it to the public via Play Store.
Hello, you did well owing to the fact that you are a self taught programmer good one, buh u need to work on your design because design is everything. Take care of your details... UI and UX
if you are in Enugu lets meet up, reply me..... I like serious minded guys

(1) (Reply)

Oracle Development: Jdeveloper 10g – Java, J2ee, Ejb, Mvc, Xml - Overview / Algorithm Design & Analysis: Because It's What Some Do / Knickknacks For Programmers/ Web Developers And UX/UI Professionals

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 25
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.