TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Add some maths' functions

Open Owais28 opened this issue 3 years ago • 12 comments

List of some important functions

  • [x] Absolute number
  • [ ] Aliquot Sum of a number
  • [ ] Area of various shapes
  • [ ] Arithmetic-Geometric Mean
  • [x] Armstrong number
  • [x] Average Mean
  • [x] Average Median
  • [ ] Binary to Decimal conversion
  • [ ] Binary Exponentiation Iterative
  • [x] Decimal to Binary conversion
  • [ ] Binomial Coefficient
  • [ ] Bisection Method
  • [ ] Function to check Co-prime
  • [ ] Decimal Expansion
  • [ ] Decimal Isolation
  • [ ] Degree to Radian Conversion
  • [ ] Euler Method
  • [x] Eulers Totient
  • [x] Factorial
  • [ ] Factors
  • [ ] Fibonacci
  • [ ] Find HCM
  • [x] Find LCM
  • [x] Finding a minimum in a array of numbers
  • [x] Function to check a number is Divisible by another number or not
  • [x] Function to check a number is Even
  • [x] Function to check a number is Odd
  • [x] Function to check a number is Pronic
  • [x] Function to check a number is Square free
  • [ ] Juggler Sequence
  • [x] Leap year
  • [x] Matrix Multiplication
  • [ ] Number of digits in a number
  • [ ] Pascal Triangle
  • [ ] Perfect Cube
  • [ ] Perfect Square
  • [ ] Perfect Numbers
  • [ ] Prime check
  • [x] Radian to Degree Conversion
  • [x] Finding Square root
  • [x] Sum of Digits of a given number

Owais28 avatar Sep 25 '22 07:09 Owais28

Raised a PR to check perfect square - https://github.com/TheAlgorithms/TypeScript/pull/37

Rajat379 avatar Oct 08 '22 08:10 Rajat379

I implemented Factorial in #38

skyfrk avatar Oct 08 '22 08:10 skyfrk

I implemented Sum of Digits of a given number in #39

skyfrk avatar Oct 08 '22 09:10 skyfrk

I implemented IsLeapYear (gregorian calendar) in #40

skyfrk avatar Oct 08 '22 09:10 skyfrk

I implemented IsLeapYear (gregorian calendar) in #40

Just link #40 to #10 then (as you did), no need to add a redundant comment (and trigger a redundant notification here).

appgurueu avatar Oct 08 '22 09:10 appgurueu

@Owais28 Added CalculateMedian feature https://github.com/TheAlgorithms/TypeScript/pull/73

syedjafer avatar Oct 26 '22 14:10 syedjafer

@Owais28 I Added #125 Create binary_to_Decimal_Conversion and prime_check

Preetiraj3697 avatar Apr 14 '23 10:04 Preetiraj3697

Hi @Owais28 I have made a PR for matrix multiplication feature.

R055A avatar Oct 19 '23 18:10 R055A

Hi @Owais28 I have made a PR for matrix multiplication feature.

@appgurueu

Owais28 avatar Oct 20 '23 06:10 Owais28

Hi, I just checked and some of the ticks are missing in the above list.

  • Armstrong number: https://github.com/TheAlgorithms/TypeScript/pull/44
  • Decimal to Binary conversion: https://github.com/TheAlgorithms/TypeScript/pull/23
  • Function to check a number is Divisible by another number or not: https://github.com/TheAlgorithms/TypeScript/pull/43
  • Function to check a number is Pronic: https://github.com/TheAlgorithms/TypeScript/pull/82
  • Function to check a number is Square free: https://github.com/TheAlgorithms/TypeScript/pull/94

marvinbuff avatar Oct 22 '23 07:10 marvinbuff

Hi, I just checked and some of the ticks are missing in the above list.

  • Armstrong number: https://github.com/TheAlgorithms/TypeScript/pull/44
  • Decimal to Binary conversion: https://github.com/TheAlgorithms/TypeScript/pull/23
  • Function to check a number is Divisible by another number or not: https://github.com/TheAlgorithms/TypeScript/pull/43
  • Function to check a number is Pronic: https://github.com/TheAlgorithms/TypeScript/pull/82
  • Function to check a number is Square free: https://github.com/TheAlgorithms/TypeScript/pull/94

Updated. Thank you @marvinbuff 🙂

Owais28 avatar Oct 22 '23 08:10 Owais28

Hi, I just checked and some of the ticks are missing in the above list.

  • Armstrong number: https://github.com/TheAlgorithms/TypeScript/pull/44
  • Decimal to Binary conversion: https://github.com/TheAlgorithms/TypeScript/pull/23
  • Function to check a number is Divisible by another number or not: https://github.com/TheAlgorithms/TypeScript/pull/43
  • Function to check a number is Pronic: https://github.com/TheAlgorithms/TypeScript/pull/82
  • Function to check a number is Square free: https://github.com/TheAlgorithms/TypeScript/pull/94

Updated. Thank you @marvinbuff 🙂 ; And matrix_multiplication is also not ticked, thanks: https://github.com/TheAlgorithms/TypeScript/pull/211

R055A avatar Oct 22 '23 18:10 R055A