Popular Python recipes tagged "calculator"http://code.activestate.com/recipes/langs/python/tags/calculator/2015-07-31T02:37:19-07:00ActiveState Code RecipesPython Gpa and Cgpa Calculator for Anna university : A forked python recepie (Python)
2015-07-31T02:37:19-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579089-python-gpa-and-cgpa-calculator-for-anna-university/
<p style="color: grey">
Python
recipe 579089
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/cgpa/">cgpa</a>, <a href="/recipes/tags/gpa/">gpa</a>, <a href="/recipes/tags/python/">python</a>).
Revision 2.
</p>
<p>Actually this python script is a forked one from activestate code by abhijeeth vaidya.A slightly edited version of the script to calculate Gpa and Cgpa for Anna university Students.</p>
<p>Gpa and Cgpa Calculator</p>
<p>Gpa is Grade point average, which is use to determine the student academic pointer based on the value of the grade he/she acquired in single semester, where as cgpa is cumlative grade point average is to calculate the total credits and total grade acquired in his/her entire academics. Here i have determined to use grade scale of two values 5.0 and 10.0, many other academics may have different grading system.For a different grades and their grade values, You can change the value in method called getGradeData.For any bug report </p>
python EMI calculator (Python)
2015-07-29T18:20:36-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579086-python-emi-calculator/
<p style="color: grey">
Python
recipe 579086
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/emi/">emi</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>EMI Calculator is used to calculate Equated Monthly Installment(EMI) for Home Loans/Housing Loans,Car Loans & Personal
Advantages: What all this EMI Calculator does?</p>
<p>. The Instant calculation of Loan EMI , Total Interest Payable and Total Payments to be done.
. This can be used as EMI Calculator for Banks like HDFC, ICICI, SBI, AXIS etc.
. This can be also used for calculating Home loans, Personal Loan, car loans , credit card, LIC loan</p>
<p>How to calculate the EMI?</p>
<p>The well known formula for calculating EMI is:</p>
<p>Formula for EMI calculation</p>
<p>[Formula]
EMI = [(p*r/12) (1+r/12)^n]/[(1+r/12)^n – 1 ]
where p = principal amount(primary loan amount)
r = rate of interest per year
n = Total number of Years</p>
<p>output:</p>
<p><a href="https://emilgeorgejames.wordpress.com/2015/07/29/python-emi-equated-monthly-installment-calculator/" rel="nofollow">https://emilgeorgejames.wordpress.com/2015/07/29/python-emi-equated-monthly-installment-calculator/</a></p>
<p>for more python recepies visit :https://emilgeorgejames.wordpress.com/</p>
Garden Requirements Calculator (Python)
2014-09-17T22:04:36-07:00Ethan Hannhttp://code.activestate.com/recipes/users/4190746/http://code.activestate.com/recipes/578935-garden-requirements-calculator/
<p style="color: grey">
Python
recipe 578935
by <a href="/recipes/users/4190746/">Ethan Hann</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/garden/">garden</a>, <a href="/recipes/tags/math/">math</a>).
</p>
<p>This program takes input from the user and determines the amount of gardening materials needed for a garden. The garden is a perfect square. The four outer flowerbeds are congruent semicircles and the central flowerbed is a perfect circle. Everything else inside the garden is considered fill: stone, mulch, or other fill material.</p>
All in one Area Calculator (Python)
2014-07-03T09:16:14-07:00karimhttp://code.activestate.com/recipes/users/4190244/http://code.activestate.com/recipes/578901-all-in-one-area-calculator/
<p style="color: grey">
Python
recipe 578901
by <a href="/recipes/users/4190244/">karim</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/circlearea/">circlearea</a>, <a href="/recipes/tags/gui/">gui</a>, <a href="/recipes/tags/python3/">python3</a>, <a href="/recipes/tags/tkinter/">tkinter</a>, <a href="/recipes/tags/tranglearea/">tranglearea</a>, <a href="/recipes/tags/trianglearea/">trianglearea</a>).
Revision 2.
</p>
<p>Its a python 3 based All in one Area Calculator.you can calculate Area of Rectangle,Area of Triangle and Area of Circle</p>
Simple derivative solver in python (Python)
2014-03-08T12:58:26-08:00Johnhttp://code.activestate.com/recipes/users/4189390/http://code.activestate.com/recipes/578847-simple-derivative-solver-in-python/
<p style="color: grey">
Python
recipe 578847
by <a href="/recipes/users/4189390/">John</a>
(<a href="/recipes/tags/basic/">basic</a>, <a href="/recipes/tags/beginner/">beginner</a>, <a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/calculus/">calculus</a>, <a href="/recipes/tags/derivative/">derivative</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>Solves monomials, might try to make one that solves polynomials in the future.</p>
Python Gpa and Cgpa Calculator (Python)
2011-07-20T19:28:27-07:00abhijeet vaidyahttp://code.activestate.com/recipes/users/4178141/http://code.activestate.com/recipes/577800-python-gpa-and-cgpa-calculator/
<p style="color: grey">
Python
recipe 577800
by <a href="/recipes/users/4178141/">abhijeet vaidya</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/cgpa/">cgpa</a>, <a href="/recipes/tags/gpa/">gpa</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>This is a python code to calculate the gpa and cgpa by abhijeet vaidya</p>
Wasted Money Calculator (Python)
2012-01-26T02:27:25-08:00userendhttp://code.activestate.com/recipes/users/4179007/http://code.activestate.com/recipes/578026-wasted-money-calculator/
<p style="color: grey">
Python
recipe 578026
by <a href="/recipes/users/4179007/">userend</a>
(<a href="/recipes/tags/calculate/">calculate</a>, <a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/money/">money</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/save/">save</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 2.
</p>
<p>Calculate the amount of money you waste on the unnecessary items you buy everyday. </p>
Temperature Calculator (Python)
2011-12-19T19:06:17-08:00Sabbib Chowdhuryhttp://code.activestate.com/recipes/users/4180311/http://code.activestate.com/recipes/577991-temperature-calculator/
<p style="color: grey">
Python
recipe 577991
by <a href="/recipes/users/4180311/">Sabbib Chowdhury</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/python3_1/">python3_1</a>).
</p>
<p>A little tool that calculates temperature with a little user-friendly(ness) added to it.</p>
BMI calculator (Python)
2011-10-14T16:20:29-07:00Alexander Thomas Cruzhttp://code.activestate.com/recipes/users/4179528/http://code.activestate.com/recipes/577897-bmi-calculator/
<p style="color: grey">
Python
recipe 577897
by <a href="/recipes/users/4179528/">Alexander Thomas Cruz</a>
(<a href="/recipes/tags/bmi/">bmi</a>, <a href="/recipes/tags/calculator/">calculator</a>).
Revision 2.
</p>
<p>This code helps you figure out your BMI! Can perform three calculations. Also has a built in quit function. NEW! now can figure up to 10 calculations! I also have a metric version here: <a href="http://code.activestate.com/recipes/577907-bmi-calculator-metric/" rel="nofollow">http://code.activestate.com/recipes/577907-bmi-calculator-metric/</a></p>
BMI calculator Metric (Python)
2011-10-14T16:20:04-07:00Alexander Thomas Cruzhttp://code.activestate.com/recipes/users/4179528/http://code.activestate.com/recipes/577907-bmi-calculator-metric/
<p style="color: grey">
Python
recipe 577907
by <a href="/recipes/users/4179528/">Alexander Thomas Cruz</a>
(<a href="/recipes/tags/bmi/">bmi</a>, <a href="/recipes/tags/calculator/">calculator</a>).
</p>
<p>This code helps you figure out your BMI! Can perform three calculations. Also has a built in quit function. NEW! now can figure up to 10 calculations! I also have a version with metric calculations.</p>
Simple polynomial class (Python)
2014-02-13T20:55:55-08:00Sam Dentonhttp://code.activestate.com/recipes/users/4172262/http://code.activestate.com/recipes/576953-simple-polynomial-class/
<p style="color: grey">
Python
recipe 576953
by <a href="/recipes/users/4172262/">Sam Denton</a>
(<a href="/recipes/tags/arithmetic/">arithmetic</a>, <a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/polynomial/">polynomial</a>).
Revision 7.
</p>
<p>This implements polynomial functions over a single variable in Python. It represents the polynomial as a list of numbers and allows most arithmetic operations, using conventional Python syntax. It does not do symbolic manipulations. Instead, you can do things like this:</p>
<pre class="prettyprint"><code>x = SimplePolynomial()
eq = (x-1)*(x*1)
print eq # prints 'X**2 - 1'
print eq(4) # prints 15
</code></pre>
simple pygtk Calculator (Python)
2009-01-20T21:07:35-08:00mohsen javidhttp://code.activestate.com/recipes/users/4168857/http://code.activestate.com/recipes/576623-simple-pygtk-calculator/
<p style="color: grey">
Python
recipe 576623
by <a href="/recipes/users/4168857/">mohsen javid</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/pygtk/">pygtk</a>).
</p>
<p>this is a simple calculator maked whith python and gtk.</p>