Solved


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

2 years ago

Solved


Method of Common Differences part-2
This is the inverse problem to <http://www.mathworks.com/matlabcentral/cody/problems/1485 Problem 1485>. Problem 1485 illustra...

2 years ago

Problem


Compute the bubble popper fidget spinner sequence
A fidget spinner is a toy made of multiple lobes that pivot on a ball bearing. In some, the lobes hold bubble poppers, or rubber...

2 years ago | 1 | 7 solvers

Solved


Google Drive file download
This Challenge is to download a file from GoogleDrive given its "copylink" provided URL and a file name. GoogleDrive links fail...

2 years ago

Solved


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

2 years ago

Problem


Check a scheme to dewater a construction area
In addition to supplying water and capturing contaminants, wells can be used to lower the water table in a construction area. In...

2 years ago | 0 | 3 solvers

Problem


Design a capture zone
One approach to remediating a contaminated site is to pump and treat the contaminated groundwater. If the site has background fl...

2 years ago | 1 | 4 solvers

Solved


Find stiffness of all beams for single floor in building
Create a function that finds this stiffness k of all the beams (also known as 'stanchions') for one floor of a three storey buil...

2 years ago

Solved


Find mass of single floor in building
A model building has three floors are highlighted in different colours here: Assu...

2 years ago

Solved


Count integers in randomized vector that are multiples of a given number.
The mod() function We might all remember the days when we were taught to divide and then set the remainder aside if the numbers...

2 years ago

Solved


Lancer de dés
Ecrire une fonction qui imite le lancer d'un dé, i-e qui renvoie de façon aléatoire un entier entre 1 et 6. Attention cette fon...

2 years ago

Solved


Sum the prime numbers from 1-100
Write a function to sum up the prime numbers from 1-100.

2 years ago

Problem


Determine whether a number is a Higgs prime
If the sequence lists the Higgs primes, then is the smallest prime greater than such that divides the product . The first fo...

2 years ago | 0 | 5 solvers

Problem


Compute the maximum length of a contaminant plume in groundwater
Problem statement Write a function to compute the maximum length of a contaminant plume for steady, one-dimensional transport ...

2 years ago | 1 | 3 solvers

Problem


Compute the water table in a layered unconfined aquifer
Write a function to compute the flow per unit width and the elevation of the water table above the bottom of unconfined aquifer ...

2 years ago | 1 | 2 solvers

Solved


Sum of numbers from 1-100
Sum up every whole number from 1 to 100. Include 1 and 100 in your calculation.

2 years ago

Solved


Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

2 years ago

Solved


Summing the last column column
Given a matrix, return the sum of the last column of the array.

2 years ago

Solved


Laguerre Polynomials
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

2 years ago

Problem


Compute head profiles for steady 1D flow through soils in series
Cody Problem 58966 involves compute the head profile for steady, one-dimensional flow in a homogeneous aquifer (i.e., one with u...

2 years ago | 1 | 2 solvers

Solved


Make a "better" checkerboard matrix
This problem seeks to expand the task in Cody Problem 4 by allowing for the creation of checkerboard matrices that can be rectan...

2 years ago

Problem


Compute piezometric head in a leaky confined aquifer
Problem statement Write a function to compute the piezometric head in a leaky confined aquifer and the position of a groundwat...

2 years ago | 2 | 4 solvers

Problem


Compute the water table elevation in an unconfined aquifer with recharge
Problem statement Write a function to compute the water table elevation above the bottom of the aquifer and the position of a ...

2 years ago | 2 | 5 solvers

Solved


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

2 years ago

Problem


Find the smallest number leading to a maximal product of two numbers that concatenate to another number
Cody Problem 58971 involves the maximal product of numbers that concatenate to a number . For example, if , then the products ar...

2 years ago | 1 | 5 solvers

Solved


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

2 years ago

Problem


Compute the maximal product of any two numbers whose concatenation is n
Write a function that takes an input and computes the maximal product of numbers that concatenate to . For example, if , then t...

2 years ago | 0 | 9 solvers

Problem


Compute the head for steady 1D flow in a homogeneous aquifer
Problem statement Write a function that computes the head (i.e., piezometric head for a confined aquifer or water table elevat...

2 years ago | 3 | 7 solvers

Problem


Find the nine-point circle of a triangle
Cody Problem 1336 asks us to find the circle that circumscribes a triangle, and Cody Problem 58354 asks us to find the circle th...

2 years ago | 0 | 3 solvers

Problem


Count block fountains
A block fountain consists of rows of circles in which each row is a continuous block of circles (i.e., adjacent circles are tang...

2 years ago | 1 | 8 solvers

Load more