Community Profile

# Patrick

### MathWorks

Last seen: 4 mesi fa Attivo dal 2022

#### Content Feed

Visto da

Risolto

Total energy

5 mesi fa

Risolto

Potential energy calculation

5 mesi fa

Risolto

Kinetic energy calculation

5 mesi fa

Risolto

Laws of motion 2

5 mesi fa

Risolto

Laws of motion 3

5 mesi fa

Risolto

Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

5 mesi fa

Risolto

Laws of motion 5

5 mesi fa

Risolto

Laws of motion 6

5 mesi fa

Risolto

Laws of motion 1

5 mesi fa

Risolto

Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

5 mesi fa

Risolto

Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

5 mesi fa

Risolto

Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 ...

5 mesi fa

Risolto

Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

5 mesi fa

Risolto

Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

5 mesi fa

Risolto

Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

5 mesi fa

Risolto

Energy Conversion 2

5 mesi fa

Risolto

Energy Conversion 1

5 mesi fa

Risolto

Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

5 mesi fa

Risolto

Area Conversion 2

5 mesi fa

Risolto

Area Conversion 1

5 mesi fa

Risolto

Mass Conversion 2

5 mesi fa

Risolto

Mass Conversion 1

5 mesi fa

Risolto

Temperature Conversion 3

5 mesi fa

Risolto

Temperature Conversion 2

5 mesi fa

Risolto

Temperature Conversion 1

5 mesi fa

Risolto

Zigzag array
Given an vector of integers, rearrange the array so that the array looks like: [largest value, smallest value, 2nd largest valu...

5 mesi fa

Risolto

Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

5 mesi fa

Risolto

Return longest string in 1-D array of strings
Find the longest string in an array of strings. Return an empty string if the initial array is empty. If there are multiple stri...

5 mesi fa

Risolto

Determine if integer is even
Write a function to determine if an input integer(n) is even. The output should be a boolean (true or false).

5 mesi fa

Risolto

Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

5 mesi fa