Solved


Remainder
Given two number a and b find the remainder when you divide a by b

6 months ago

Solved


Prime Number
Determine if a number is prime

6 months ago

Solved


Subtraction
Given two numbers a and b subtract them

6 months ago

Solved


Find the mean
Find the mean of a given sdet of numbers in a vector x

6 months ago

Solved


Division
Given two numbers a and b divide them a/b

6 months ago

Solved


Multiplication
Given 2 numbers a and b mulitply them

6 months ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

6 months ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-...

6 months ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

6 months ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

6 months ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

6 months ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

6 months ago

Solved


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

6 months ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

6 months ago

Solved


Add two numbers
Given two numbers a and b add them together

6 months ago

Solved


Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...

6 months ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 months ago