Risolto


List Proth primes

circa 3 anni fa

Risolto


Median computation (★★★)
See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

circa 3 anni fa

Risolto


Eliminate redundant numbers in text
Occasionally someone might write text such as Briefly explain one (1) common problem that can result from the constant use of ...

circa 3 anni fa

Risolto


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

circa 3 anni fa

Risolto


Uranium–Lead Dating

circa 3 anni fa

Risolto


Solve an ODE: equation C
Write a function to solve the following ordinary differential equation: with and . The parameter is a constant. The functi...

circa 3 anni fa

Risolto


Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

circa 3 anni fa

Risolto


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

circa 3 anni fa

Risolto


Compute the harmonic numbers
The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

circa 3 anni fa

Risolto


Find the smallest integer m such that n divides m!
Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

circa 3 anni fa

Risolto


Reverse Boggle
*Description* In the classic Parker Brothers game <http://en.wikipedia.org/wiki/Boggle Boggle>, players find words from a 4x4...

oltre 3 anni fa

Risolto


Determine when snow started
R.P. Agnew posed the following problem: It starts snowing in the morning and continues steadily throughout the day. A snowplow t...

oltre 3 anni fa

Risolto


Code breaker, Part II: Operation Orthos
You have been tasked with decoding several batches of coded messages that have been intercepted. Based on previous intellig...

oltre 3 anni fa

Risolto


Code breaker, Part I: Operation Phoenix
You have been tasked with decoding a set of coded messages that have been intercepted. Based on previous intelligence that ...

oltre 3 anni fa

Risolto


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

oltre 3 anni fa

Risolto


Scrabble Scores - 2
An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

oltre 3 anni fa

Risolto


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

oltre 3 anni fa

Risolto


Order of things - 2
This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

oltre 3 anni fa

Risolto


Write out numbers in words
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; * 1 > one * 56 > fifty-six * 100 >...

oltre 3 anni fa

Risolto


Order of things - 1
Let's assume you have a number of calculations to perform, that depend on each other. E.g. 'A' can be calculated, once the outco...

oltre 3 anni fa

Risolto


Similar triangles

oltre 3 anni fa

Risolto


List the titles of Cody problems

oltre 3 anni fa

Risolto


Solve an ODE: equation B

oltre 3 anni fa

Risolto


Set the Euler-Mascheroni constant with an identity using available MATLAB functions
Cody Problem <https://www.mathworks.com/matlabcentral/cody/problems/42826 42826> asked us to estimate the <https://en.wikipedia....

oltre 3 anni fa

Risolto


Solve an ODE: diffusion problem 2

oltre 3 anni fa

Risolto


Solve an ODE: separable equation

oltre 3 anni fa

Risolto


Solve an ODE: equation A

oltre 3 anni fa

Carica altro