Resuelto


Compute steady drawdown in a confined aquifer
A well extracting water from a confined aquifer will lower the piezometric head and create a cone of depression. In steady state...

29 días hace

Resuelto


Compute the Tetris sequence
In the Tetris sequence, which starts with a 1, the next term is the smallest positive integer not already in the sequence that h...

alrededor de 1 mes hace

Resuelto


Determine if input is a Harshad number
In mathematics a harshad number (or Niven number) in a given number base is an integer that is divisible by the sum of its digit...

alrededor de 1 mes hace

Resuelto


Locate image wells
A mathematical model of wells pumping groundwater near a boundary can be constructed using the method of images, which is also u...

alrededor de 1 mes hace

Resuelto


Compute the largest number with a given integer complexity
Cody Problems 42831 and 42834 ask us to compute integer complexity, the smallest number of 1s needed to construct a number with ...

alrededor de 1 mes hace

Resuelto


JannaT is Loved By Me
JannaT was sTarTed loved by me and that time was in 2020. A year when JannaT will starT loving me when the year divided from th...

alrededor de 1 mes hace

Resuelto


Solve an equation involving primes and fractions
Write a function to find pairs of primes and satisfying the equation where is an integer. The function should take a numbe...

alrededor de 1 mes hace

Resuelto


Easy Sequences 81: Fibonacci Radicals
The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...

alrededor de 1 mes hace

Resuelto


Design a well field in an infinite aquifer
A well field provides water for a community. The design of a well field involves a goal to meet a specified service demand (i.e...

alrededor de 1 mes hace

Resuelto


Compute the Lagarias Riemann Hypothesis sequence
Write a function that takes an input number and produces a sequence computed with where is the th harmonic number and is ...

alrededor de 1 mes hace

Resuelto


01-01: 正弦波の生成
「MATLABで学ぶ実践画像・音声処理入門」のプログラム1-1 と同じ正弦波を、サンプリング周波数 10kHz で生成し、返却する関数を作成せよ。

alrededor de 1 mes hace

Resuelto


Compute a nested cube root
Consider the quantity . Write a function to compute without using loops or recursion.

alrededor de 2 meses hace

Resuelto


Easy Sequences 86: The "real" Hyperprimorials
In Easy Sequences 85, we define the hyperprimorial of , as a exponent ladder of primes numbers from the -th prime down to first ...

alrededor de 2 meses hace

Resuelto


Intersection points of a polynomial
Find the intersection points of a polynomial, given by its vector of coefficients with the X-axis and the Y-axis. Input: a poly...

alrededor de 2 meses hace

Resuelto


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

alrededor de 2 meses hace

Resuelto


Find if x is even or odd
given number x, if x is even return 1, if it is odd return 0

alrededor de 2 meses hace

Resuelto


List numbers that are not in the Fibonacci sequence
In the list of 4797 Cody problems, 53 deal with or refer to the Fibonacci sequence.* What about the other numbers? Write a funct...

alrededor de 2 meses hace

Resuelto


Rows number
Find the number of rows in a given matrix.

alrededor de 2 meses hace

Resuelto


Finding the 9th power of a variable
Getting aquainted with finding the 9th power of a variable

alrededor de 2 meses hace

Resuelto


Finding the 8th power of a variable
Getting aquainted with finding the 8th power of an element.

alrededor de 2 meses hace

Resuelto


How to find a 7th power of a variable
Getting aquainted with finding the 7th power of a variable.

alrededor de 2 meses hace

Resuelto


How to find the sixth power of a variable
Getting an aquainatance of finding the sixth power of a variable.

alrededor de 2 meses hace

Resuelto


How to find the 5th power of a variable
Getting an aquaintance of how to find the 5th power of a variable

alrededor de 2 meses hace

Resuelto


How to find the 4th power of a variable
Getting an aquaintance on how to solve for the 4th power of a variable.

alrededor de 2 meses hace

Resuelto


How to cube root something
An aquaintance on how to cube root an element

alrededor de 2 meses hace

Resuelto


How to square root something
A practice problem to get you aquainted with how to square root something.

alrededor de 2 meses hace

Resuelto


How to square something
Looking to see if something could be squared from the code you created from the input of x

alrededor de 2 meses hace

Resuelto


Dyck words
A Dyck word can be considered as a string of n X's and n Y's arranged to have at least as many X's in an initial segment of the ...

2 meses hace

Resuelto


Cluster Partition
Given an array (row or column) of numbers, divide the array into consecutive positive/negative numbers. 0 is to be treated inde...

2 meses hace

Resuelto


Exact Cover
An efficient solution to the exact cover problem can be useful in many situations. In this problem, you are welcome to use Knuth...

2 meses hace

Cargar más