解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


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年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


prime test
find largest 2 digit prime number

2年以上 前

解決済み


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

2年以上 前

解決済み


cube of number
find cube of number

2年以上 前

解決済み


square of a number
find square of a given number

2年以上 前

解決済み


Square
square root of x

2年以上 前

解決済み


easy problem
Find the last element of the array

2年以上 前

解決済み


PIN code III

2年以上 前

解決済み


PIN code II

2年以上 前

解決済み


square root
Find square root of given number

2年以上 前

解決済み


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

2年以上 前

解決済み


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年以上 前

解決済み


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

2年以上 前

解決済み


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年以上 前

解決済み


ascii value
let input='a' output=97

2年以上 前

解決済み


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

2年以上 前

解決済み


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年以上 前

解決済み


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

2年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


Perimeter of a Triangle

2年以上 前

解決済み


Surface area of a cone

2年以上 前

解決済み


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

2年以上 前

さらに読み込む