Risolto


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

quasi 2 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

quasi 2 anni fa

Risolto


Total energy

quasi 2 anni fa

Risolto


Potential energy calculation

quasi 2 anni fa

Risolto


Kinetic energy calculation

quasi 2 anni fa

Risolto


Laws of motion 5

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Laws of motion 3

quasi 2 anni fa

Risolto


Laws of motion 2

quasi 2 anni fa

Risolto


Laws of motion 1

quasi 2 anni fa

Risolto


Remove duplicated triangles
Input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a correspondi...

quasi 2 anni fa

Risolto


The Goldbach Conjecture
The Goldbach conjecture asserts that every even integer greater than 2 can be expressed as the sum of two primes. Given the eve...

quasi 2 anni fa

Risolto


Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Laws of motion 6

quasi 2 anni fa

Risolto


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

quasi 2 anni fa

Risolto


Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

quasi 2 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 2 anni fa