Jul 07
Digg
Stumbleupon
Technorati
Delicious

Featured PyS60 Application #1

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:

  1. Featured PyS60 Application #4 Every 10 days, we would be featuring in the...
  2. Featured PyS60 Application #3 Every 10 days, we would be featuring in the...
  3. Featured PyS60 Application #12 Every 10 days, we feature in the “PyS60 Applications”...
  4. Featured PyS60 Application #13 Every couple of weeks, we feature in the “PyS60...
  5. Featured PyS60 Application #7 Every 10 days, we would be featuring in the...

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


Author: Pankaj Nathani

17 Comments

Joshi237
July 7, 2008

Cool stuff !

How can I have my application nominated here?

Croozeus
July 7, 2008

Just mail it to me.

pankaj dot nathani at croozeus dot com

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

Mark Wilcox
July 8, 2008

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)

Croozeus
July 8, 2008

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

Rushi
July 8, 2008

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.

Croozeus
July 8, 2008

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

Rushi
July 8, 2008

thanks so much Pankaj.

Rafael Tavares
July 8, 2008

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.

bogdan.galiceanu
July 9, 2008

Hi Rafael,

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

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

Novingway
July 9, 2008

This is very nice site for new learners,

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

Croozeus
July 9, 2008

Thanks!

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

(Just go to “Contact Me” option)

Rafael Tavares
July 9, 2008

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 :)

hardy
July 10, 2008

Good one to start with !

Looking forward to the next featured application !

Donny
September 7, 2008

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!

shubhendra
September 8, 2008

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

shubhendra
September 8, 2008

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

Pratik Monpara
February 19, 2009

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’

Comments RSS TrackBack Identifier URI

Leave a comment