Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

9 years ago

Solved


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

9 years ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

9 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

9 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

9 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

9 years ago

Solved


Roots of a quadratic equation.
Determine the roots of a quadratic equation., if coefficients a,b and c are given.

9 years ago

Problem


Roots of a quadratic equation.
Determine the roots of a quadratic equation., if coefficients a,b and c are given.

9 years ago | 5 | 73 solvers

Problem


Determine the roots of a cubic equation
Given the coefficients a,b,c,d of a cubic equation. Determine the roots of the cubic equation.

9 years ago | 3 | 54 solvers

Solved


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

9 years ago

Solved


Values in Array
How many values are in the array

9 years ago

Solved


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

9 years ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

9 years ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

9 years ago

Solved


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

9 years ago

Solved


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

9 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

9 years ago

Solved


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

9 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

9 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

9 years ago

Solved


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

9 years ago

Solved


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

9 years ago

Solved


Log of a number
Write a script that will give the log of x as output.

9 years ago

Solved


Find the qube of a give number.
You are given a number, find the qube of that number.

9 years ago

Solved


modulus of a number
find the modulus of a given number

9 years ago

Solved


find max
You are given an array number find the maximum

9 years ago

Solved


find minimum
find the minimum from an array

9 years ago

Solved


find sum of the numbers in array
calculate the sum of numbers in a given array

9 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

9 years ago

Load more