Hilbert Matrix#5307

Hilbert Matrix

1 sekondë
64 megabajt
E vështirë

Solve the system of linear equations given by:

Ax = B

Here, is a square matrix of size N \times N, with elements as shown in the image:

is a vector of length , where each element is equal to one. The vector is the unknown that needs to be determined.

Hyrja

The input consists of a single integer (1 \leq N \leq 20).

Dalja

Output numbers: x_1, x_2, \ldots, x_N. Each number should be within a difference of no more than 1 from the correct value.

Shembuj

Shembulli 1

Loading
Loading