Community Profile

# Andrea La Spina

### Columbia University

Active since 2019

All

#### Content Feed

View by

Submitted

Export figure for LaTeX documents
High-precision tool to export a figure to pdf matching the font size and the text width of a LaTeX document.

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

Submitted

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

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

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

Submitted

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

Submitted

Newton-Raphson method
Easy application of Newton-Raphson algorithm

Submitted

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

Submitted

Dynamic response of a building subject to a seismic input
Dynamic response of a building subject to a seismic input

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

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

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

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

4 years ago

Solved

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

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

4 years ago

Solved

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

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

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

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

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

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

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

4 years ago