Gelöst


Hoax Numbers
A Hoax Number (OEIS A019506) is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct...

etwa 5 Jahre vor

Gelöst


Find numbers in the Popular Computing Z-sequence
Here’s a quick one. In 1977 the magazine Popular Computing sought “problem situations for which the computer is the best (if not...

etwa 5 Jahre vor

Gelöst


Beat the RNG - Passwords

etwa 5 Jahre vor

Gelöst


Draw a x-by-x matrix 'Denmark flag'(Euro(2020)
Draw a x-by-x matrix 'Denmark flag' using '4' and '1'.(x is odd and bigger than 4) Number 4: Caption S.Kjær and number 1: K.S...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


arrayfun bomb

etwa 5 Jahre vor

Gelöst


Gallery function, learning
write a Function, edit something or Add something that give us like the following for random n: n=2 ans= [ 0 1 ...

etwa 5 Jahre vor

Gelöst


Minimum jumps to reach end of the array
Given an array of integers where each element represents the max number of steps that can be made forward from that element. Ste...

etwa 5 Jahre vor

Gelöst


Roman numbers: how old is that building?
The front of old buildings sometimes show the year when they were built in roman numbers. These number are rather confusing and ...

etwa 5 Jahre vor

Gelöst


List the nth prime quartet prefix
Prime numbers larger than 5 can end only in 1, 3, 7, or 9, but of course not all numbers ending in these four digits are prime. ...

etwa 5 Jahre vor

Gelöst


Peg Solitaire - Apply Move
About Peg Solitaire . Previous Problem. Consider inital board; If we move the peg located on (4,6) to the left (4) directio...

etwa 5 Jahre vor

Gelöst


create a function that give us like the following
x=3 y= [1 -1 -1 0 1 -1 0 0 1]; -------------------------------- x=5 y= [ 1 -1 -...

etwa 5 Jahre vor

Gelöst


Peg Solitaire - Get Possible Moves
About Peg Solitaire. Consider following initial board; (1) indicates there is a peg and (0) indicates empty holes. For thi...

etwa 5 Jahre vor

Gelöst


Convert Thermocouple output voltage (in mV) to Temperature (in C)
Convert Thermocouples of types (B,E,J,K,N,R,S,T) output junction voltage (in mV) to temperature (in C) using NIST coefficients r...

etwa 5 Jahre vor

Gelöst


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


Pick the die most likely to win
After discussing Rock, Paper, Scissors, Lizard, Spock in The Simpsons and their Mathematical Secrets, Simon Singh writes that in...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


Radioisotope Thermoelectric Generator (RTG)
Given an isotope's atomic mass (in amu), half-life (in years(a) or days(d)), and average kinetic energy absorbed (of emitted dec...

etwa 5 Jahre vor

Gelöst


Compute a sum involving the totient over divisors of a number
Write a function to compute the following sum: where is the totient function. The sum is computed over the divisors of (inc...

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


Compute the effective conductivity of a heterogeneous aquifer
Slow flow through soil or another porous medium follows Darcy’s law, which relates the flow of water to the gradient in piezome...

etwa 5 Jahre vor

Gelöst


Nuclear Binding Energy
Compute the approximate nuclear binding energy in MeV using the least-squares fit of the semi-emirical mass formula. Round to th...

etwa 5 Jahre vor

Gelöst


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 ...

etwa 5 Jahre vor

Beantwortet
Bitshift cannot work on negative numbers
I believe this is happening for the following reason: The documentation states that "If A is a double array, and ASSUMEDTYPE is...

etwa 5 Jahre vor | 2

Gelöst


Compute a sum of Ramanujan
Srinivasa Ramanujan defined the following function: Write a function to compute for various values of . See also Cody Proble...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Mehr laden