Resuelto


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

casi 4 años hace

Resuelto


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

casi 4 años hace

Resuelto


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

casi 4 años hace

Resuelto


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

casi 4 años hace

Resuelto


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

casi 4 años hace

Resuelto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

casi 4 años hace

Resuelto


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

casi 4 años hace

Resuelto


Energy Conversion 2

casi 4 años hace

Resuelto


Energy Conversion 1

casi 4 años hace

Resuelto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

casi 4 años hace

Resuelto


Area Conversion 2

casi 4 años hace

Resuelto


Area Conversion 1

casi 4 años hace

Resuelto


Mass Conversion 2

casi 4 años hace

Resuelto


Mass Conversion 1

casi 4 años hace

Resuelto


Temperature Conversion 3

casi 4 años hace

Resuelto


Temperature Conversion 2

casi 4 años hace

Resuelto


Temperature Conversion 1

casi 4 años hace

Resuelto


Potential energy calculation

casi 4 años hace

Resuelto


Total energy

casi 4 años hace

Resuelto


Kinetic energy calculation

casi 4 años hace

Resuelto


Laws of motion 1

casi 4 años hace

Resuelto


Laws of motion 2

casi 4 años hace

Resuelto


Laws of motion 3

casi 4 años hace

Resuelto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

casi 4 años hace

Resuelto


Laws of motion 5

casi 4 años hace

Resuelto


Laws of motion 6

casi 4 años hace

Resuelto


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

casi 4 años hace

Resuelto


Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

casi 4 años hace

Resuelto


Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

casi 4 años hace

Resuelto


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

casi 4 años hace

Cargar más