Community Profile # Nikolaos Nikolaou

Last seen: 2 días ago Active since 2015

Physics , Wholesale auctions , Crypto Mining , Renewable Energy

#### Statistics

• • • • • • • • • • • • #### Content Feed

View by

Solved

Cubic Integer Constrained Solution
Find an integral non-trivial solution (x,y,z ~=0) (x=0 or y=0 or z=0 are trivial) for the cubic equation 987,654,321x + ...

28 días ago

Solved

Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

29 días ago

Solved

Round the chord length!!

alrededor de 1 mes ago

Solved

3n + 1 Problem (a.k.a The Collatz Conjecture)
The 3n + 1 problem (a.k.a The Collatz Conjecture) Consider the following algorithm to generate a sequence of numbers. Start wit...

alrededor de 2 meses ago

Solved

Flow rate in a pipe

alrededor de 2 meses ago

Solved

Squares inside a square!

alrededor de 2 meses ago

Solved

Area of the yellow shaded region

alrededor de 2 meses ago

Solved

Cancel Middle
Write a function called cancel_middle that takes A, an n-by-m matrix, as an input where both n and m are odd numbers an...

alrededor de 2 meses ago

Solved

Double Fibonacci
double_fibonacci takes two integers, each greater than one, as input arguments (it does not have to check the format of the inpu...

alrededor de 2 meses ago

Solved

Sort Except Zeros
Sort the numbers in a vector. But the position of zeros should not be changed. Example: sort_except_zeros( [5 3 0 0 2 4] ) == [...

alrededor de 2 meses ago

Solved

Find the nth composite number.
Everyone heard about the nth prime number. Let's try to find out the nth composite. For example , 1 is the first composite, 10 i...

alrededor de 2 meses ago

Solved

Get to a number faster.
If you start with \$1 and, with each move, you can either double your money or add another \$1, what is the smallest number of mov...

alrededor de 2 meses ago

Solved

Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

alrededor de 2 meses ago

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

alrededor de 2 meses ago

Solved

Determine the average number of rounds for the following game.
Each round a uniformly distributed random number is picked between 0 and 1. The game ends when the sum of the random numbers is ...

alrededor de 2 meses ago

Solved

Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

alrededor de 2 meses ago

Solved

Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

alrededor de 2 meses ago

Solved

Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

alrededor de 2 meses ago

Solved

Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

alrededor de 2 meses ago

Solved

Logarithmically spaced vector creation using linspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

alrededor de 2 meses ago

Solved

Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

alrededor de 2 meses ago

Solved

Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...

alrededor de 2 meses ago

Solved

Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

alrededor de 2 meses ago

Solved

Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

alrededor de 2 meses ago

Solved

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

alrededor de 2 meses ago

Solved

Compute the fractional derivative
Cody Problem 1370 asks us to compute the derivative of a polynomial. This problem extends that idea to fractional derivatives, w...

alrededor de 2 meses ago

Solved

Compute the sum of reciprocals of quadratics
Write a function to compute the following sum: See also Cody Problem 46000.

alrededor de 2 meses ago

Solved

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

alrededor de 2 meses ago