문제를 풀었습니다


Find the product of the positive elements above the main diagonal.
Example Input A=[1 2; -3 0] Output 2

7년 초과 전

문제를 풀었습니다


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. Example n=5 HilbertMatrix=[1.0000 0.5000 0.3333 0.2500 ...

7년 초과 전

문제를 풀었습니다


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

7년 초과 전

문제를 풀었습니다


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

7년 초과 전

문제를 풀었습니다


Solve the following system of equations.
x-2y+3z=7 2x+y+z=4 -3x+2y-2z=-10

7년 초과 전

문제를 풀었습니다


Solve the system of equations.
_Ax=b_ * _A_ - square coefficient matrix * _b_ - right side column vector Find vecor _x_.

7년 초과 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height to its base.
Find the sides of an isosceles triangle when given its area and height to its base. Example S=12, h=4, result will be [5 5 6]...

7년 초과 전

문제를 풀었습니다


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

7년 초과 전

문제를 풀었습니다


A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

7년 초과 전

문제를 풀었습니다


How to find average of each column ?
How to find average of each column for a given matrix?

7년 초과 전

문제를 풀었습니다


How find maximum element of a column in matrix?
How find maximum element of a column in matrix?

7년 초과 전

문제를 풀었습니다


How find sum of elements of each column in matrix?
How find sum of elements of each column in matrix?

7년 초과 전

문제를 풀었습니다


Create tangent function out of sine function only
Please don't use cosine and tangent functions

7년 초과 전

문제를 풀었습니다


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

7년 초과 전

문제를 풀었습니다


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

7년 초과 전

문제를 풀었습니다


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

7년 초과 전

문제를 풀었습니다


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

7년 초과 전

문제를 풀었습니다


Vectors multiplication.
Multiply two vectors x transposed and y.Example x = [1 2 3 4 5 6 7 8 9 10 ] y = [ 1 2 ...

7년 초과 전

문제를 풀었습니다


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

7년 초과 전

문제를 풀었습니다


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

7년 초과 전

문제를 풀었습니다


Display positive elements of matrix.
Display positive elements of matrix.

7년 초과 전

문제를 풀었습니다


Select primes from the matrix.
Select primes from the matrix.

7년 초과 전

문제를 풀었습니다


Adding each element
Add the each element of the matrix.

7년 초과 전

문제를 풀었습니다


Calculate cross product
Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

7년 초과 전

문제를 풀었습니다


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

7년 초과 전

문제를 풀었습니다


Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

7년 초과 전

문제를 풀었습니다


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

7년 초과 전

문제를 풀었습니다


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

7년 초과 전

문제를 풀었습니다


Slope of the line passing through the point [x1 y1] and [x2 y2]
Determin the slope of Line passing through the points a=[x1 y1] and b=[x2 y2]

7년 초과 전

문제를 풀었습니다


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

7년 초과 전

더 보기