문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

8개월 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

8개월 전

문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

8개월 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

8개월 전

문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


Check Euler's characteristic on regular polyhedra
Problem statement Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its...

8개월 전

문제를 풀었습니다


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...

8개월 전

문제를 풀었습니다


Mesh the pentagon (with the minimum number of triangles)
Problem statement An pentagon is a regular polygon with 5 vertices and 5 edges. Here below is an example of the vertex set V,...

8개월 전

문제를 풀었습니다


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

8개월 전

문제를 풀었습니다


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

8개월 전

문제를 풀었습니다


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

8개월 전

문제를 풀었습니다


Total energy

8개월 전

문제를 풀었습니다


Potential energy calculation

8개월 전

문제를 풀었습니다


Laws of motion 1

8개월 전

문제를 풀었습니다


Laws of motion 3

8개월 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

8개월 전

문제를 풀었습니다


Laws of motion 5
Calculate the force is u are given mass and acceleration.

8개월 전