Resuelto


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

casi 10 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 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Resuelto


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

casi 10 años hace

Problema


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

casi 10 años hace | 5 | 74 solvers

Problema


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.

casi 10 años hace | 3 | 55 solvers

Resuelto


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

casi 10 años hace

Resuelto


Values in Array
How many values are in the array

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


modulus of a number
find the modulus of a given number

casi 10 años hace

Resuelto


find max
You are given an array number find the maximum

casi 10 años hace

Resuelto


find minimum
find the minimum from an array

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más