Community Profile

# Daniele Certini

### The University of Edinburgh

Last seen: 2日 前 2020 以来アクティブ

PhD student in Engineering.

バッジを表示

#### Content Feed

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

6日 前

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

9ヶ月 前

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

9ヶ月 前

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

9ヶ月 前

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

9ヶ月 前

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

9ヶ月 前

Spherical Volume
Calculate the volume of a sphere.

9ヶ月 前

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

9ヶ月 前

Laws of motion 3

9ヶ月 前

Total energy

9ヶ月 前

Potential energy calculation

9ヶ月 前

Kinetic energy calculation

9ヶ月 前

Laws of motion 1

9ヶ月 前

Laws of motion 2

9ヶ月 前

Laws of motion 4

9ヶ月 前

Laws of motion 5

9ヶ月 前

Laws of motion 6

9ヶ月 前

Laws of motion 7

9ヶ月 前

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

9ヶ月 前

Velocity Conversion

9ヶ月 前

Energy Conversion 2

9ヶ月 前

Energy Conversion 1

9ヶ月 前

Area Conversion 2

9ヶ月 前

Area Conversion 1

9ヶ月 前

Mass Conversion 2

9ヶ月 前

Mass Conversion 1

9ヶ月 前

Temperature Conversion 3

9ヶ月 前

Temperature Conversion 1

9ヶ月 前

Temperature Conversion 2

9ヶ月 前

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

9ヶ月 前