A résolu


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

6 mois il y a

A résolu


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

6 mois il y a

A résolu


Compute measurement uncertainty
Suppose a variable depends on independent variables , , . If the independent variables have uncertainty , , etc. and the uncer...

6 mois il y a

A résolu


Measure the hydraulic conductivity with a falling-head permeameter
A falling-head permeameter is another device for measuring the hydraulic conductivity of a soil sample. In this problem the sam...

6 mois il y a

A résolu


PACMAT 05 - Optimized Ghosts, PACMAT increasing speed, 12 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the Yellow Dots while avoiding the wandering ghosts in 12 l...

6 mois il y a

A résolu


PACMAT 04 - Optimized Ghosts, Equal Speed, 10 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing at least 130 Yellow Dots while avoiding the wandering ghost...

6 mois il y a

A résolu


PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the board of Yellow Dots while not bumping into the wanderi...

6 mois il y a

A résolu


GJam 2014 China Rd B: Dragon Maze
This Challenge is derived from <http://code.google.com/codejam/contest/2929486/dashboard#s=p3 GJam 2014 China Dragon Maze>. Smal...

6 mois il y a

A résolu


GJam 2014 China Rd A: Maze with a Left Hand Rule
This Challenge is derived from <http://code.google.com/codejam/contest/2924486/dashboard#s=p3 GJam 2014 China Cross the Maze>. ...

6 mois il y a

A résolu


PONG 003: 3-Ball Rectangle, Interactive Download
Variation of the Original Classic PONG game brought to Cody. PONG 003 is a rectangular board (2000,1000) with reasonable veloci...

6 mois il y a

A résolu


PONG 002: Rectangle, Interactive Download, Easier Play
Variation of the Original Classic PONG game brought to Cody. PONG 002 is a rectangular board (2000,1000) with slower initial ve...

6 mois il y a

A résolu


Check if a directory is on the current MATLAB search path
Given a directory name as a string, return true if the directory is on the current MATLAB search path, and false otherwise.

6 mois il y a

A résolu


Remove collinear points in a set of 2D points defining a polygon
Consider a polygon that is obtained by joining a set of 2D points whose coordinates are stored in matrix P=[x,y]. Write a functi...

6 mois il y a

A résolu


Cellular Automaton | Rule X
Cellular Automata (CA) provide a convenient way to represent many kinds of systems in which the values of cells (either 0 or 1) ...

6 mois il y a

A résolu


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

6 mois il y a

A résolu


Hamming Weight - Fast
The Hamming Weight, <http://en.wikipedia.org/wiki/Hamming_weight wiki Hamming Weight>, in its most simple form is the number of ...

6 mois il y a

A résolu


Easy Sequences 8: Triangles with integer sides and prime perimeters
The triangle below is special. It has integer sides and a prime perimeter. Given an integer "n" we want to know how many t...

6 mois il y a

A résolu


Easy Sequences 7: Easy as Composite Pi
The prime Pi function is defined as the number of prime numbers from 1 to a certain given limit. In MATLAB, it is easy to create...

6 mois il y a

A résolu


Easy Sequences 32: Almost Pythagorean Triples
An Almost Pythagorean Triple (abbreviated as "APT'), is a set of 3 integers in which square of the largest element, which we wil...

6 mois il y a

A résolu


Rotating the plane region bounded by two polynomials
Let p and q be n-degree and m-degree polynomials with n >= m >= 1. Consider clockwise rotate the plane region bounded by these t...

6 mois il y a

A résolu


Easy Sequences 34: Modified Pascal's Triangle
Consider the integer triangle below: It follows the same ...

6 mois il y a

A résolu


Easy Sequences 33: Web Trapped Ant
An ant is trapped on a spider web inside a can with open top. The can has a radius and height . A spider sitting on the outside...

6 mois il y a

A résolu


Easy Sequences 26: Prime-Integer Line Segments
At the first quadrant in the -plane, you are asked to construct a line segment with the following specifications: Select a prim...

6 mois il y a

A résolu


Easy Sequences 15: Pythagorean Area with maximum Hypotenuse
A pythagorean triangle is defined as a right triangle with all three sides having integer lengths. Examples of pythogorean trian...

7 mois il y a

A résolu


Toads and Frogs Puzzle 2
On a two-dimensional board with 2n + 1 rows and 2n + 1 columns, all (2n + 1)^2 positions of the board, except the central one, a...

7 mois il y a

A résolu


Find the longest runs of primes generated by polynomials
Cody Problems 60942, 60943, and 60944 involve polynomials that generate primes. No polynomial can generate only prime numbers, b...

7 mois il y a

A résolu


Find the area between curves (P3)

7 mois il y a

A résolu


Spiral Mandala
Generate a clockwise spiral pattern using 1s in an N×N matrix to create an intricate mandala effect. e.g. N = 5; y_correct...

7 mois il y a

A résolu


Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.

7 mois il y a

A résolu


Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry. e.g. N = 5; 1 1 1 1 1; 0 1 1 1 0; ...

7 mois il y a

Charger plus