Gelöst


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

fast 2 Jahre vor

Gelöst


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

fast 2 Jahre vor

Gelöst


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

fast 2 Jahre vor

Gelöst


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

fast 2 Jahre vor

Gelöst


Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...

fast 2 Jahre vor

Gelöst


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

fast 2 Jahre vor

Gelöst


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

fast 2 Jahre vor

Gelöst


wipe out!
make all the elements in given x zero.

fast 2 Jahre vor

Gelöst


find the 'M'
for an input x, return 1 at the location of the letter 'M'

fast 2 Jahre vor

Gelöst


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

fast 2 Jahre vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

fast 2 Jahre vor

Gelöst


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

fast 2 Jahre vor

Gelöst


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

fast 2 Jahre vor

Gelöst


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

fast 2 Jahre vor

Gelöst


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

fast 2 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

fast 2 Jahre vor

Gelöst


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

fast 2 Jahre vor

Gelöst


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

fast 2 Jahre vor

Gelöst


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

fast 2 Jahre vor

Gelöst


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

fast 2 Jahre vor

Gelöst


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

fast 2 Jahre vor

Gelöst


Volume of a Parallelepiped
Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

fast 2 Jahre vor

Gelöst


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

fast 2 Jahre vor

Gelöst


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

fast 2 Jahre vor

Gelöst


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

fast 2 Jahre vor

Gelöst


Find square of given number
Find Square of any number

fast 2 Jahre vor

Gelöst


Find Logic 5

fast 2 Jahre vor

Gelöst


Dot Product

fast 2 Jahre vor

Gelöst


10% Discount

fast 2 Jahre vor

Gelöst


Calculate the Area of the Ring
You have Ring which consist of inner and outer Circles with Radius r and R which are not given but you'll be given Hprizontal ...

fast 2 Jahre vor

Mehr laden