Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Energy Conversion 2

oltre 3 anni fa

Risolto


Energy Conversion 1

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Area Conversion 2

oltre 3 anni fa

Risolto


Area Conversion 1

oltre 3 anni fa

Risolto


Mass Conversion 2

oltre 3 anni fa

Risolto


Mass Conversion 1

oltre 3 anni fa

Risolto


Temperature Conversion 3

oltre 3 anni fa

Risolto


Temperature Conversion 2

oltre 3 anni fa

Risolto


Temperature Conversion 1

oltre 3 anni fa

Risolto


Potential energy calculation

oltre 3 anni fa

Risolto


Total energy

oltre 3 anni fa

Risolto


Kinetic energy calculation

oltre 3 anni fa

Risolto


Laws of motion 1

oltre 3 anni fa

Risolto


Laws of motion 2

oltre 3 anni fa

Risolto


Laws of motion 3

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Laws of motion 5

oltre 3 anni fa

Risolto


Laws of motion 6

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Carica altro