Resuelto


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

más de 3 años hace

Resuelto


Average of two numbers
Find the average of two numbers x1 and x2. For instance, if x1=7 and x2=19, the answer is 13.

más de 3 años hace

Resuelto


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

más de 3 años hace

Resuelto


Minimum number of children to distribute unequal cookie portions
A cruel parent wants to distribute N cookies such that it is impossible for every child to receive the same number of cookies. W...

más de 3 años hace

Resuelto


Ridge regularized linear regression
Given a predictor data matrix of size , target variable vector of size and a shrinkage factor (scalar) (ridge regularization...

más de 3 años hace

Resuelto


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

más de 3 años hace

Resuelto


Vector slither sort!
Sort a numeric vector in the following format: [largest value, smallest value, second largest value, second smallest value, etc...

más de 3 años hace

Resuelto


Fair Scoring for Cody
The length-based scoring system for Cody has a few well-known loopholes that allow clever programmers to hide complex code insid...

más de 3 años hace

Resuelto


Concatenated Consecutive Prime

más de 3 años hace

Resuelto


Parametric Array
Create a row vector, 1xN (Integer, >1), such that the mean of the vector is M (Real number) and the standard deviation of the ...

más de 3 años hace

Resuelto


Palindromic Primes
A Palindromic Prime is a prime number that is also a palindromic number. (Wiki, OEIS) If given a monotonic series (increment...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

más de 3 años hace

Resuelto


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

más de 3 años hace

Resuelto


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

más de 3 años hace

Resuelto


Determine whether a number is unprimeable
The number 204 is unprimeable because no single digit can be changed to make it prime. In contrast, the number 207 is not unprim...

más de 3 años hace

Resuelto


Find the remainder with the factorial of PRIMES?
* Take a number greater than or equal to 2 and take its primes. e.g. 6 and its primes are 2 3 5 * calculate the factorial of i...

más de 3 años hace

Resuelto


Count the primes in Collatz sequences
Several Cody problems (21, 69, 42937, 44448, 44784, 52422) involve Collatz sequences. These start with a seed . If is odd, the ...

más de 3 años hace

Resuelto


Identify prime words

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.

más de 3 años hace

Resuelto


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

más de 3 años hace

Resuelto


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

más de 3 años hace

Resuelto


Redefine the Array if the Elements in the Array are Repeating
Check if the Array has any repeating elements, if there are repeating elements then choose "n" as a number of times you want tha...

más de 3 años hace

Resuelto


Exponent of IEEE Single
Output the exponent bits as a uint8 of the IEEE representation of the single-typed 32-bit float input.

más de 3 años hace

Resuelto


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

más de 3 años hace

Resuelto


Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number . For example, the th prime after is . NOTE: If itself is pr...

más de 3 años hace

Resuelto


Repopulate the City
For any population p of positive integers between pmin and pmax, we can calculate histogram count n for a list of evenly dividin...

más de 3 años hace

Resuelto


Which Char Array has the greater decimal value
Given to character arrays, determine which array has the greater decimal value. 'Hello' --> 72 + 101 + 108 + 108 + 111 = 500 ...

más de 3 años hace

Cargar más