A résolu


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

plus d'un an il y a

A résolu


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

plus d'un an il y a

A résolu


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

plus d'un an il y a

A résolu


Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

plus d'un an il y a

A résolu


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

plus d'un an il y a

A résolu


Find the Pattern 10

plus d'un an il y a

A résolu


sum numbers to some value n
sum of numbers up to a value n

plus d'un an il y a

A résolu


Calculate load on arm 1
A robot is designed with a motor directly attached at the pivot point of the lifting arm. The L inch arm has a weight of W1 lbs...

plus d'un an il y a

A résolu


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

plus d'un an il y a

A résolu


nam2
nam

plus d'un an il y a

A résolu


num3
nam

plus d'un an il y a

A résolu


num6
num

plus d'un an il y a

A résolu


num7
num

plus d'un an il y a

A résolu


num5
num

plus d'un an il y a

A résolu


num10
123456

plus d'un an il y a

A résolu


num4
nmjhg

plus d'un an il y a

A résolu


num9
num

plus d'un an il y a

A résolu


num8
num

plus d'un an il y a

A résolu


num
num

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Divisible by 11
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 8
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 7
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus d'un an il y a

A résolu


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

plus d'un an il y a

Charger plus