Community Profile

# Daniele Certini

### The University of Edinburgh

427 total contributions since 2020

PhD student in Engineering.

View details...

Contributions in
View by

Solved

Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

4 Monate ago

Solved

Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4 Monate ago

Solved

Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

4 Monate ago

Solved

Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

4 Monate ago

Solved

Pi Estimate 2
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation2.pdf>

4 Monate ago

Solved

Spherical Volume
Calculate the volume of a sphere.

4 Monate ago

Solved

given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

4 Monate ago

Solved

Laws of motion 3

4 Monate ago

Solved

Total energy

4 Monate ago

Solved

Potential energy calculation

4 Monate ago

Solved

Kinetic energy calculation

4 Monate ago

Solved

Laws of motion 1

4 Monate ago

Solved

Laws of motion 2

4 Monate ago

Solved

Laws of motion 4

4 Monate ago

Solved

Laws of motion 5

4 Monate ago

Solved

Laws of motion 6

4 Monate ago

Solved

Laws of motion 7

4 Monate ago

Solved

Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

4 Monate ago

Solved

Velocity Conversion

4 Monate ago

Solved

Energy Conversion 2

4 Monate ago

Solved

Energy Conversion 1

4 Monate ago

Solved

Area Conversion 2

4 Monate ago

Solved

Area Conversion 1

4 Monate ago

Solved

Mass Conversion 2

4 Monate ago

Solved

Mass Conversion 1

4 Monate ago

Solved

Temperature Conversion 3

4 Monate ago

Solved

Temperature Conversion 1

4 Monate ago

Solved

Temperature Conversion 2

4 Monate ago

Solved

Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

4 Monate ago

Solved

Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

4 Monate ago