Community Profile

# Sarah Collins

##### Last seen: 4 meses ago
21 total contributions since 2020

View details...

Contributions in
View by

Solved

Best Problem Elections
When I am writing those words, there are 2002 problems on Cody. Many of them are simply wonderful. Do you remember which of them...

4 meses ago

Problem

Guess the logic

5 meses ago | 0 | 12 solvers

Solved

Find Logic 19

5 meses ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

5 meses ago

Solved

Find max
Find the maximum value of a given vector or matrix.

5 meses ago

Solved

y equals x divided by 2
function y = x/2

5 meses ago

Solved

Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

5 meses ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 meses ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 meses ago

Solved

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

5 meses ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 meses ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

5 meses ago

Solved

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

5 meses ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 meses ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

5 meses ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 meses ago

Solved

Return area of square
Side of square=input=a Area=output=b

5 meses ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 meses ago

Solved

Given a and b, return the sum a+b in c.

5 meses ago

Solved