### Featured PyS60 Application #1

#### by Pankaj Nathani

**Warning**: ksort() expects parameter 1 to be array, object given in

**/home/croozeus/public_html/blogs/wp-content/plugins/yet-another-related-posts-plugin/includes.php**on line

**256**

Every week we would be featuring in the “**Pys60 Applications**” section, a new application on Pys60 !

The prominent aim of the “**Pys60 Applications**” section is to help the developers of Pys60 build standalone applications on Pys60.

The Featured Pys60 Application #1 is – **EQUATIONS** by Rafael Tavares of Brazil.

EQUATIONS is a simple Pys60 application that helps to solve 2nd order mathematical equations !

Try to solve this simple equation for x,

(x^2) + 2x + 1 = 0

and this complex one,

194(x^2) + 13x + 44 = 0

The first one as well as the second one and all the 2nd degree equations in mathematics could be tackled by EQUATIONS.

You can see a presentation for the Featured #1 – **EQUATIONS** -> **Presentation for EQUATIONS**

You can see the source code for the Featured #1- **EQUATIONS **

**-> Source code for EQUATIONS**

(Click on the image to magnify – it works good)

Equations is a simple application on Pys60 and is very good application from which beginners of Pys60 could benefit!

And yes, don’t forget to drop in your comments about Featured Pys60 Application #1 – **EQUATIONS !**

Cheers!

Croozeus

Related posts:

- Featured PyS60 Application #4 Every 10 days, we would be featuring in the...
- Featured PyS60 Application #3 Every 10 days, we would be featuring in the...
- Featured PyS60 Application #13 Every couple of weeks, we feature in the “PyS60...
- Featured PyS60 Application #12 Every 10 days, we feature in the “PyS60 Applications”...
- Featured PyS60 Application #15 Every few weeks, we feature a new application on PyS60...

Related posts brought to you by Yet Another Related Posts Plugin.

Cool stuff !

How can I have my application nominated here?

Just mail it to me.

pankaj dot nathani at croozeus dot com

If its interesting, may be we could have it here some day!

Nice website, great work. This application should really handle the complex roots you know. The case where delta<0 in the code just means the roots are complex numbers, not that the solution is impossible!

Sorry, I’m a pedantic mathematician at heart!

Mark

(Sorcery-ltd)

Hi Mark,

Nice to see you here !

I hope Rafael is reading your posts and all other Pys60 developers too, so that they can have all possible solutions in their future applications 🙂

Btw, we love pedantic people !

Br,

Croozeus

Any hints on which is next Featured application ?

I just started learning python from your site and its easy.

eager for new application, please tell us about it.

Well Featured Pys60 Applications are chosen from many Pys60 applications that we have gathered from developers across the world. Many of them are students.

Thanks to them for contributing. Moreover we also have in stock some applications that we prepared specially for this section, and they would be good applications from which developers could learn!

This time we have featured this simple application: Equations , to start with.

All I can say is this time Equations is a simple application, so be ready for a Big one next time !

We are glad that you have started learning Pys60 and our site proved helpful to you.

Also look out for the Pys60 Talks Sessions, you can learn much from such online sessions !

Br,

Pankaj Nathani

thanks so much Pankaj.

Mark Wilcox,

Thanks for the reply.

But when delta is a negative number, the equation is impossible, since you can’t calculate the square of a negative number! =)

BR,

Rafael.

Hi Rafael,

Actually you can determine a solution for the equation using complex numbers.

http://en.wikipedia.org/wiki/Complex_numbers

This is very nice site for new learners,

thanks and please give me your email address for contact for doubts xD

Thanks!

You can find our contact info on http://www.croozeus.com

(Just go to “Contact Me” option)

Yes it’s possible with complex number … but this is for simple second degree equations.

But thanks for the hints! Later I’ll try to implement complex features 🙂

Good one to start with !

Looking forward to the next featured application !

EQUATIONS! What a very useful application! I can see MANY MANY university/highschool students using this.

Is this application along with PyS60 capable of working on my E71-2?!! pls send me an email for quick instructions as I’d LOVE to give this a try along with other contributions here & blog about it!

One more thing to rectify,

The equation for finding roots where delta >=0 was made by Sridhara also known as Sridharacharya Equation

Look at http://mathworld.wolfram.com/QuadraticEquation.html

If the discriminant is negative, there are no real roots. Rather, there are two distinct (non-real) complex roots, which are complex conjugates of each other:

So roots will be

(-b/2a)+i sqrt(4ac-(b*b))/2a

(-b/2a)-i sqrt(4ac-(b*b))/2a

Pankaj….congrats…was just surfing and came by this site…i have got the least idea of the the software is but all i could say is ‘Great Work’