Community Profile

# Anne Jeanette Ardito

##### Last seen: 1 month ago
77 total contributions since 2021

View details...

Contributions in
View by

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

1 month ago

Solved

Converts numbers into characters
Converts numbers into characters

1 month ago

Solved

Find the max element of the array
Find the max element of the array

1 month ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

1 month ago

Solved

to the 2 all elements
to the 2 all elements

1 month ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

1 month ago

Solved

Double all elements in the array
Duplicate all elements in the array

1 month ago

Solved

calculate the length of matrix
input 1 array, calculate the length

1 month ago

Solved

Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

1 month ago

Solved

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

1 month ago

Solved

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

1 month ago

Solved

Given input in radians, output to degrees

1 month ago

Solved

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

1 month ago

Solved

Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

1 month ago

Solved

You just measured its surface area, that is the input.

1 month ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

1 month ago

Solved

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

1 month ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

1 month ago

Solved

Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

1 month ago

Solved

Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

1 month ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

1 month ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 month ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 month ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

1 month ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 month ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

1 month ago

Solved

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

1 month ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 month ago

Solved

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

1 month ago

Solved

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

1 month ago