Gelöst


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

etwa 10 Jahre vor

Gelöst


Linear system of equations
Solve the system of equations in three variables.

etwa 10 Jahre vor

Gelöst


this is a test problem
this is a anniversary test problem

etwa 10 Jahre vor

Gelöst


Vector multiplication
Given two row vectors, v1 and v2, each representing an integer, such that the vector elements are the digits from left to right,...

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


Find unique number in input
Find value that occurs in odd number of input elements.

etwa 10 Jahre vor

Gelöst


Pad zero between every adjacent values of the vector.
you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

etwa 10 Jahre vor

Gelöst


Repeat the entries of the vector to their reference times in the vector.
e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]

etwa 10 Jahre vor

Gelöst


S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

etwa 10 Jahre vor

Problem


S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

etwa 10 Jahre vor | 0 | 80 Lösungsvorschläge

Gelöst


find square root of a positive real number
a number given, find the square root of that number

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


Find subtraction
Given a, b. Find a-b

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Mehr laden