Resuelto


list of prime numbers
n is given find the largest prime number <=n

más de 9 años hace

Resuelto


Find subtraction
Given a, b. Find a-b

más de 9 años hace

Resuelto


find lenth of array
you have given an array, find the length of that.

más de 9 años hace

Resuelto


first element of matrix
find the first elements of a column matrix

más de 9 años hace

Resuelto


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

más de 9 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

más de 9 años hace

Resuelto


Find mean
given an array, find the mean of the number in that array

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 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...

más de 9 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 ...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

más de 9 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...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

más de 9 años hace

Resuelto


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

más de 9 años hace

Resuelto


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

más de 9 años hace

Resuelto


find minimum
find the minimum from an array

más de 9 años hace

Resuelto


find max
You are given an array number find the maximum

más de 9 años hace

Resuelto


Halder function
Find the halder function value of a number

más de 9 años hace

Resuelto


modulus of a number
find the modulus of a given number

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Project Euler: Problem 14, Longest Collatz sequence
The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) U...

más de 9 años hace

Resuelto


Project Euler: Problem 11, Largest product in a grid
What is the greatest product of _k_ adjacent numbers in the same direction (up, down, left, right, or diagonally) in a _n×n_ gri...

más de 9 años hace

Resuelto


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

más de 9 años hace

Resuelto


Project Euler: Problem 18, Maximum path sum I
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bott...

más de 9 años hace

Resuelto


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

más de 9 años hace

Cargar más