Community Profile

photo

Gergely Patay


2 037 total contributions since 2012

R&D physicist, LEGO enthusiast

Contact

Gergely Patay's Badges

  • Scavenger Finisher
  • Cody Problems in Japanese Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Project Euler I
  • Cody Challenge Master
  • Computational Geometry I Master
  • Tiles Challenge Master
  • Speed Demon
  • ASEE Challenge Master
  • Scholar
  • Promoter
  • Commenter
  • Leader
  • CUP Challenge Master

View all

Contributions in
View by

Solved


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

11 jours ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

11 jours ago

Solved


easy problem
Find the last element of the array

11 jours ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

11 jours ago

Solved


Converts numbers into characters
Converts numbers into characters

11 jours ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

11 jours ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

11 jours ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

11 jours ago

Solved


Calculate the square root of a number
Input a Output b = srt(a)

11 jours ago

Solved


Find the max element of the array
Find the max element of the array

11 jours ago

Solved


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

11 jours ago

Solved


calculate the length of matrix
input 1 array, calculate the length

11 jours ago

Solved


Sum sum!!!
Sum the numbers from 1 to n

11 jours ago

Solved


Triangle???
Calculate the circumference of an equilateral triangle with x

11 jours ago

Solved


Perimeter of a square!
Calculate the circumference of the square whose side is n

11 jours ago

Solved


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

11 jours ago

Solved


check whether a number is a pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

29 jours ago

Solved


generate nth pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

29 jours ago

Solved


Determine whether a given point is inside or outside a polygon
A closed polygon may be described by an N x 2 array of nodes, where the last node and the first node are the same. Each row of ...

29 jours ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

29 jours ago

Solved


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

29 jours ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

29 jours ago

Solved


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

29 jours ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

29 jours ago

Solved


Duplicate all elements in the array
Duplicate all elements in the array

environ un mois ago

Solved


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

environ un mois ago

Solved


The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.

environ un mois ago

Solved


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

environ un mois ago

Solved


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

environ un mois ago

Load more