Risolto


Temperature Conversion 2

3 mesi fa

Risolto


Temperature Conversion 1

3 mesi fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

3 mesi fa

Risolto


Find the max element of the array
Find the max element of the array

3 mesi fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3 mesi fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

3 mesi fa

Risolto


Draw a '0' in a one matrix!

3 mesi fa

Risolto


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

3 mesi fa

Risolto


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

3 mesi fa

Risolto


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

3 mesi fa

Risolto


Total energy

3 mesi fa

Risolto


Kinetic energy calculation

3 mesi fa

Risolto


Laws of motion 1

3 mesi fa

Risolto


Laws of motion 2

3 mesi fa

Risolto


Laws of motion 3

3 mesi fa

Risolto


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

3 mesi fa

Risolto


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

3 mesi fa

Risolto


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

3 mesi fa

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

3 mesi fa

Risolto


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

3 mesi fa

Risolto


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

3 mesi fa

Risolto


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

3 mesi fa

Risolto


Potential energy calculation

3 mesi fa

Risolto


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

3 mesi fa

Risolto


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

3 mesi fa

Risolto


Laws of motion 6

3 mesi fa

Risolto


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

3 mesi fa

Risolto


Voltage Divider Calculation
A voltage divider is a simple circuit used to obtain a reduced voltage from a higher voltage source using two resistors in serie...

3 mesi fa

Risolto


LED Current Calculation
In an electrical circuit, the current (III) flowing through an LED is determined using Ohm’s Law: ​​ Where: I is the current ...

3 mesi fa

Risolto


Inductor Energy Storage Calculation
The energy (EEE) stored in an inductor is given by the formula: Where: E is the energy in joules (J) L is the inductance in...

3 mesi fa

Carica altro