Commit Graph

25 Commits

Author SHA1 Message Date
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