Community Profile # Augusto Mazzei

Last seen: 6 jours ago Active since 2017

Aerospace engineering

Programming Languages:
Python, Javascript, MATLAB, HTML
Spoken Languages:
English, Italian

#### Statistics

• • • • • • • • • • • • #### Content Feed

View by

Solved

Create array of all Distances between two Sets of Points
This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points. Given Po...

6 jours ago

Solved

Schrödinger dog
Everyone knows that dogs are less unpredictable than cats. But is that proven? Is that measurable at all? YES! NOW IT IS! ...

8 jours ago

Solved

Double Deal
*Description* Given an input vector _v_, return the first element as the first output, the second element as the second outpu...

8 jours ago

Solved

Infernal Recursion
Consider the recursion relation: x_n = (x_(n-1)*x_(n-2))^k Given x_1, x_2, and k, x_n can be found by this definition. Wr...

8 jours ago

Solved

Assign numerical values to a structure with 1 field
The aim is to assign values to a multidimensional structure *without using for-loop or while-loop* Example with a structure ...

8 jours ago

Solved

Project Euler 249: Prime Subset Sums
Inspired by Problem 249 of Project Euler. <https://projecteuler.net/problem=249> Let S = {2, 3, 5, ...} be the set of prime ...

18 jours ago

Solved

Pandigital Multiples of 11 (based on Project Euler 491)
A "Pandigital number of order X" is one that contains all of the numbers from 0 to X, but with no leading zeroes. If X>9, the cy...

19 jours ago

Solved

Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

19 jours ago

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

19 jours ago

Solved

Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

19 jours ago

Solved

Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

19 jours ago

Solved

Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

22 jours ago

Solved

Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

22 jours ago

Solved

Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

22 jours ago

Solved

Mean ignoring NaNs
Define a function that behaves in the same way as mean(x) and mean(x,d) except that it ignores NaNs (unless all of the values be...

22 jours ago

Solved

Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

22 jours ago

Solved

Determine whether one vector is a subset of another
While bumbling through a pair of problems in the Number Theory group, I wrote code to determine whether a vector is a subset of ...

22 jours ago

Solved

Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

environ un mois ago

Solved

Monte-Carlo integration
Write a function that estimates a d-dimensional integral to at least 1% relative precision. Inputs: * d: positive integer....

environ un mois ago

Solved

Numerical Integration
Input * |x0|, a real number greater than 0 Output * |I|, a numerical estimate of the integral x0 / I...

environ un mois ago

Solved

Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

environ un mois ago

Solved

The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

environ un mois ago

Solved

Throwing Dice - Will You Be Eaten By The Dragon?
You and a dragon have agreed to let dice rolls determine whether it eats you or not. The dragon will roll a single die, of x ...

environ un mois ago

Solved

Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

environ un mois ago

Solved

Make a Plot with Functions
Make a plot and test

environ un mois ago

Solved

Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique undirected cycles. For example, the graph represented by adj...

environ un mois ago

Solved

Find Logic 24

environ un mois ago

Solved

Find Logic 32

environ un mois ago