Community Profile

# Andrea La Spina

### Technical University of Munich

29 total contributions since 2015

View details...

Contributions in
View by

Submitted

Easy definition of arbitrarily sized functions and effective computation of gradient and divergence operators.

Submitted

Solution of 2D Navier-Stokes equations

Submitted

Solution of 2D Navier-Stokes equations

Submitted

2D scalar equation of a convection-diffusion-reaction problem

Submitted

2D scalar equation of a convection-diffusion problem

Solved

Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

6 months ago

Solved

Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

6 months ago

Solved

Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...

6 months ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

6 months ago

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

6 months ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

6 months ago

Solved

Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

6 months ago

Solved

The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 months ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

6 months ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

6 months ago

Solved

Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

6 months ago

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

6 months ago

Solved

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

6 months ago

Submitted

1D scalar equation of convective-diffusion transport with piecewise linear approximation

Submitted

1-D WAVE PROPAGATION IN MICROSTRUCTURED MATERIALS
This script performs a numerical simulation of the wave propagation in microstructured materials.

Submitted

1D scalar equation of a convection-diffusion-reaction problem with piecewise linear approximation

Submitted

Quadrangular Lagrangian Element with 9 Nodes
Quadrangular Lagrangian Element with 9 Nodes

Submitted

Euler-Bernoulli VS Timoshenko beam
Construction of the stiffness and the mass matrix for the Euler-Bernoulli and the Timoshenko beam

Submitted

Lagrangian polynomial interpolation
Lagrangian polynomial interpolation

Submitted

NURBS
Nonuniform Rational B-Splines

Submitted

Armstrong-Frederick cyclic hardening plasticity
This is an easy and interactive example of Armstrong-Frederick cyclic hardening plasticity model

Submitted

SDOF subjected to a seismic input
This is the study of a SDOF subjected to a seismic input

Submitted

Newton-Raphson method
Easy application of Newton-Raphson algorithm