Commit Graph

38 Commits

Author SHA1 Message Date
wanderer
dab312e0e7 bugs fixed (#623)
* bugs fixed

* bugs fixed

* bugs fixed
2018-12-04 18:32:53 +01:00
ahviplc!~LC
d75bec8a78 absMax.py and absMin.py bugs fixed. (#624) 2018-12-04 18:18:32 +01:00
harshildarji
5729424bdf Merge branch 'maths_algorithm' of git://github.com/shivamarora1/Python into shivamarora1-maths_algorithm 2018-11-23 18:17:00 +01:00
Shivam Arora
768a39d832 Program for finding the HCF,LCM and Palindrome using and recursion and non recursion 2018-11-23 22:21:07 +05:30
Ashwek Swamy
70a6d98e0f
Update absMin.py 2018-11-11 22:57:36 +05:30
gpapadok
265ea0eccb Update FindMin.py (#601)
Fixed indentation error.
2018-11-10 19:02:36 +01:00
Harshil
5db9d2e54a Merge branch 'master' of git://github.com/gerroo/Python into gerroo-master 2018-11-04 16:04:29 +01:00
Harshil
14b5ac625b
Update 3n+1.py
Removed SyntaxError on Line 16!
2018-11-04 15:54:17 +01:00
gerroo
a834326e0e Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
Ashwek Swamy
32db8be93e Update FindMax.py (#588)
Issues in previous code:
`Line 3` math module is not used so we don't have to import it
`Line 5`, `max = 0` will give wrong answer (0) when the list contains only -ve elements, as 0 will always be larger than the elements.
2018-11-01 21:55:28 +08:00
gerroo
261d721b22 name = main
added if  __name__ == '__main__'
2018-10-28 13:36:39 -08:00
gerroo
991abb2402 Added findMin 2018-10-28 13:23:29 -08:00
gerroo
dd8e2afae6 Added 3n+1 2018-10-28 13:23:19 -08:00
Harshil
c7de76deda Resovle conflicts 2018-10-24 20:12:10 +02:00
Harshil
11480295d4 Merge branch 'NguyenU' of git://github.com/NguyenU/Python into NguyenU-NguyenU 2018-10-22 20:52:42 +02:00
Harshil
45a1ab213e
Update FindMax.py 2018-10-22 20:42:08 +02:00
Uyen
67d409b6be Find max function in python 2018-10-22 14:36:08 -04:00
Kiyoto Kai
b63a1115b2 Added a new Algorithm to check if a number is prime or not. (#487)
* Added a new Algorithm to check if a number is prime or not.

Added a new Algorithm to check if a number is prime or not. It takes one + half the amount of iterations of the square root of the number. Returns Boolean value.

* Fixed possibility of being truncated

Changed the 1/2 with a 0.5

* Fixed Major Error

Instead of 3, 5, 7 The Loop as checking 2, 4, 6 which would cause all odd numbers to show prime. Fixed by subtracting one.

* Fixed Minor Formatting issues

Github Merged the 2 previous and current version to make a weird file.

* Fixed possibility of being truncated

Changed the 1/2 with a 0.5
2018-10-19 19:15:53 +02:00
Alex Brown
718b99ae39 increment 1 2018-10-19 07:48:01 -05:00
Parth Shandilya
5d1f72604d
Improved Code and removed Warnings (#483) 2018-10-19 14:00:31 +05:30
Parth Shandilya
07451a6ca4
Improved Code and removed warnings (#482)
Improved Code and removed warnings
2018-10-19 13:28:21 +05:30
Harshil
7418ee7b4e
Merge pull request #447 from rafagarciac/master
Improve and Refactor the fibonnaciSeries.py (Recursion)
2018-10-14 15:37:08 +02:00
Rafael García Cuéllar
a811a0e849
Update FibonacciSequenceRecursion.py 2018-10-13 22:22:32 +02:00
rafagarciac
1a4962a589 Refactor gdc and rename two files GreaterCommonDivisor and FibonnaciSequenceRecursive 2018-10-13 22:17:57 +02:00
Amit Pradhan
54697599f4 Update Maths/BasicMaths.py
Add main method to 'Maths/BasicMaths' module
2018-10-14 00:53:44 +05:30
rafagarciac
e03426b8fd Improve and Refactor the fibonnaciSeries.py (Recursion) 2018-10-12 00:41:57 +02:00
timgiroux
a8a11ccc88
fixed some spelling and added a different print message 2018-10-07 15:52:34 -07:00
Harshil
e09bf504a0
Merge pull request #395 from FarhanKasmani/ExtraAlgortihms
Extra Algorithms added
2018-10-03 21:55:55 +02:00
Farhan
a7948f1863 Extra Algorithms added 2018-10-02 21:02:25 +05:30
Purvesh Makode
8fb4df5367 Add Fibonacci Series Using Recursion 2018-10-02 18:14:53 +05:30
João Marcos
a31d20acf5 Add GCD implementation (#371) 2018-10-02 14:27:19 +05:30
cclauss
4fd777e3b4
Update SimpsonRule.py 2018-03-19 03:28:00 +01:00
cclauss
3615322790
from __future__ import print_function for Python 3
@ltdouthit __print()__ is a function in Python 3
2018-03-19 03:27:22 +01:00
cclauss
0516bde45f
from __future__ import print_function For Python 3
@ltdouthit __print()__ is a function in Python 3
2018-03-19 03:25:29 +01:00
lane
698faa9ca4 Added Simpson Rule to Maths 2018-02-22 08:40:00 -07:00
lane
537909df64 added quadrature trapezoidal rule to Maths 2018-02-20 17:48:22 -07:00
lane
30cf24c846 added quadrature trapezoidal rule to Maths 2018-02-20 17:39:45 -07:00
PiyushPawar17
0330d8896b Added Modular Exponential 2017-12-01 18:57:53 +05:30