Solved


Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.

2 years ago

Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

2 years ago

Solved


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

2 years ago

Solved


Interior angles
Find the sum of interior angles for polygon of x sides.

2 years ago

Solved


prime test 2
enter the only non prime,non composite number

2 years ago

Solved


prime test
find largest 2 digit prime number

2 years ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

2 years ago

Solved


cube of number
find cube of number

2 years ago

Solved


square of a number
find square of a given number

2 years ago

Solved


Square
square root of x

2 years ago

Solved


easy problem
Find the last element of the array

2 years ago

Solved


PIN code III

2 years ago

Solved


PIN code II

2 years ago

Solved


square root
Find square root of given number

2 years ago

Solved


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

2 years ago

Solved


Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...

2 years ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

2 years ago

Solved


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

2 years ago

Solved


ascii value
let input='a' output=97

2 years ago

Solved


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

2 years ago

Solved


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

2 years ago

Solved


reverse string
input='rama' output='amar'

2 years ago

Solved


angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

2 years ago

Solved


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

2 years ago

Solved


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

2 years ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

2 years ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

2 years ago

Solved


Perimeter of a Triangle

2 years ago

Solved


Surface area of a cone

2 years ago

Solved


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

2 years ago

Load more