Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


prime test
find largest 2 digit prime number

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


cube of number
find cube of number

mehr als 2 Jahre vor

Gelöst


square of a number
find square of a given number

mehr als 2 Jahre vor

Gelöst


Square
square root of x

mehr als 2 Jahre vor

Gelöst


easy problem
Find the last element of the array

mehr als 2 Jahre vor

Gelöst


PIN code III

mehr als 2 Jahre vor

Gelöst


PIN code II

mehr als 2 Jahre vor

Gelöst


square root
Find square root of given number

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


ascii value
let input='a' output=97

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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;

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Perimeter of a Triangle

mehr als 2 Jahre vor

Gelöst


Surface area of a cone

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Mehr laden