Resuelto


Find terms in the Connell sequence

alrededor de 2 años hace

Resuelto


Next Tribonacci Number
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

alrededor de 2 años hace

Resuelto


Generate Tribonacci Sequence
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

alrededor de 2 años hace

Resuelto


Generate Pascal's Triangle Matrix
Pascal's triangle is an arrangement of numbers where each value is the sum of the values adjacent to it in the previous row: ...

alrededor de 2 años hace

Resuelto


Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

alrededor de 2 años hace

Resuelto


Determine if the square root is an integer.
Write code that returns true if perfect square and returns false if square root is not an integer.

alrededor de 2 años hace

Resuelto


Integer Persistence, Product
Let's construct a sequence as follows: is a given natural number, and is the product of the digits of . The persistence of i...

alrededor de 2 años hace

Resuelto


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

alrededor de 2 años hace

Resuelto


Factorions: Numbers that equal the sum of the factorials of their digits
From Wikipedia: _A factorion is a natural number that equals the sum of the factorials of its decimal digits_ For example: ...

alrededor de 2 años hace

Resuelto


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

alrededor de 2 años hace

Resuelto


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

alrededor de 2 años hace

Resuelto


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

alrededor de 2 años hace

Resuelto


Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

alrededor de 2 años hace

Resuelto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

alrededor de 2 años hace

Resuelto


Volume of Cylindrical Shell

alrededor de 2 años hace

Resuelto


Number Power
Raise a number to itself.

alrededor de 2 años hace

Resuelto


print 'Hello W0rld'

alrededor de 2 años hace

Resuelto


Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or o...

alrededor de 2 años hace

Resuelto


means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

alrededor de 2 años hace

Resuelto


Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

alrededor de 2 años hace

Resuelto


Find all the zeros of sinus , cosinus and tangent in a given interval
The aim is to find all the zeros of a function within an interval. *Input* : * fcn : an anonymous function (@sin, @cos......

alrededor de 2 años hace

Resuelto


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

alrededor de 2 años hace

Resuelto


Find all repeated numbers
For a given vector, find all numbers that repeated 2 times or more than 2 times. Example: A=[1 2 3 3 4 5 6 6 7] y=[3 ...

alrededor de 2 años hace

Resuelto


Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

alrededor de 2 años hace

Resuelto


Outlier number!
Find a number which has maximum distance from the mean value of vector A. Example: A=[5 2 1 5 6 2 5 9] y=9

alrededor de 2 años hace

Resuelto


Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]

alrededor de 2 años hace

Resuelto


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

alrededor de 2 años hace

Resuelto


Compute the largest number whose prime factors sum to n
This problem deals with a sequence whose tenth term is 36 because the prime factors of 36 (2, 2, 3, 3) sum to 10. The number 32 ...

alrededor de 2 años hace

Resuelto


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

alrededor de 2 años hace

Cargar más