A résolu


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

11 jours il y a

A résolu


Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I​ where: V is the voltage (in volts) I is the current (in ampere...

11 jours il y a

A résolu


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

11 jours il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

11 jours il y a

A résolu


Mesh the pentagon (with the minimum number of triangles)
Problem statement An pentagon is a regular polygon with 5 vertices and 5 edges. Here below is an example of the vertex set V,...

11 jours il y a

A résolu


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

11 jours il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

11 jours il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

11 jours il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

11 jours il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

11 jours il y a

A résolu


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

11 jours il y a

A résolu


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

11 jours il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

11 jours il y a

A résolu


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

11 jours il y a

A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

11 jours il y a

A résolu


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

11 jours il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

11 jours il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

11 jours il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

11 jours il y a

A résolu


Energy Conversion 1

11 jours il y a

A résolu


Area Conversion 2

11 jours il y a

A résolu


Mass Conversion 2

11 jours il y a

A résolu


Area Conversion 1

11 jours il y a

A résolu


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

11 jours il y a

A résolu


Mass Conversion 1

11 jours il y a

A résolu


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

11 jours il y a

A résolu


Temperature Conversion 2

11 jours il y a

A résolu


Temperature Conversion 1

11 jours il y a

A résolu


Total energy

11 jours il y a

A résolu


Kinetic energy calculation

11 jours il y a

Charger plus