Solved


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

10 years ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

10 years ago

Solved


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

10 years ago

Solved


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

10 years ago

Solved


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

10 years ago

Solved


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

10 years ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

10 years ago

Solved


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

10 years ago

Solved


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

10 years ago

Solved


Select every other element of a matrix
Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

10 years ago

Solved


Angles of the hands of a clock
For this problem, consider an analog (or at least continuous digital representation) of a clock. Our clock is a 12 hour clock w...

10 years ago

Solved


Angle difference between Hour Hand and Minute Hand of clock
*Calculate the difference of angles between Hour hand and Minute hand of clock* E.g. 1) At 12:00 Angle Difference = 0 deg...

10 years ago

Solved


Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

10 years ago

Solved


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

10 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

10 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

10 years ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

10 years ago

Solved


Area of rhombus
Calculate the rhombus area

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Want to solve this problem???????????????????
It depends on you whether u want to solve this problem or not....

10 years ago

Solved


Find qube root
Find the quberoot of 27

10 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

10 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

10 years ago

Solved


Divide all elements by 3
Give an array. Divide all the elements by 3.

10 years ago

Solved


what is your name
The result should be my name i.e. Subrata Halder

10 years ago

Solved


find 90-45
find 90-45

10 years ago

Solved


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

10 years ago

Solved


Halder function
Find the halder function value of a number

10 years ago

Load more