Community Profile

# cp

### Università degli Studi di Trento

29 total contributions since 2016

View details...

Contributions in
View by

Solved

Strangest ways to get 0
Propose your non-trivial way to get 0. Look mine's, and try to do your best!

mehr als 3 Jahre ago

Solved

Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

mehr als 3 Jahre ago

Solved

Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

mehr als 3 Jahre ago

Solved

Area of polygon
Given the vertices in vectors X,Y, return the area of the polygon they define.

mehr als 3 Jahre ago

Solved

Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

mehr als 3 Jahre ago

Solved

Geometrical meaning of determinant
Given two vectors x,y, in 2D or three vectors x,y,z in 3D space, compute the area (or volume) of the parallelogram they define. ...

mehr als 3 Jahre ago

Solved

Non trivial identities - differentiation
Return x by differentiating it.

mehr als 3 Jahre ago

Solved

Non trivial identities - summation
Return x by adding a random number to it.

mehr als 3 Jahre ago

Solved

Non trivial identities - flipping
Return x by flipping it.

mehr als 3 Jahre ago

Solved

Non trivial identities - reshape
Return x by reshaping it.

mehr als 3 Jahre ago

Solved

Non trivial identities - absolute value
Return x by computing its absolute value.

mehr als 3 Jahre ago

Solved

Non trivial identities - transpose
Return x by transposing it.

mehr als 3 Jahre ago

Solved

Non trivial identities - open your eyes
Return x by using your eyes.

mehr als 3 Jahre ago

Solved

Non trivial identities - replication
Return x by replicating itself in any dimension.

mehr als 3 Jahre ago

Solved

Non trivial identities - complexification
Return x by complexifying it.

mehr als 3 Jahre ago

Solved

Non trivial identities - roots
Return x after rooting it.

mehr als 3 Jahre ago

Solved

Non trivial identities - power
Return x by by rising it to a power.

mehr als 3 Jahre ago

Solved

Non trivial identities - double negative
Return x after negating it.

mehr als 3 Jahre ago

Solved

Non trivial identities - colon
Return x after treating it with colon.

mehr als 3 Jahre ago

Solved

Non trivial identities - polynomial
Return x as a polynomial of itself.

mehr als 3 Jahre ago

Solved

Non trivial identities - round
Return x after rounding it.

mehr als 3 Jahre ago

Solved

Non trivial identities - identity handle
Return x by handling the identity function.

mehr als 3 Jahre ago

Solved

Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

mehr als 3 Jahre ago

Solved

Non trivial identities - division
Return x after dividing it.

mehr als 3 Jahre ago

Solved

Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

mehr als 3 Jahre ago

Solved

Non trivial identities - multiplication
Return x after multipying it.

mehr als 3 Jahre ago

Solved

Non trivial identities - multiplication
Return x by multiplying it with a random number.

mehr als 3 Jahre ago

Solved

Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

mehr als 3 Jahre ago

Solved

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

mehr als 3 Jahre ago