Risolto


Temperature Conversion 2

11 mesi fa

Risolto


Temperature Conversion 1

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

11 mesi fa

Risolto


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

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

11 mesi fa

Risolto


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

11 mesi fa

Risolto


Draw a '0' in a one matrix!

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

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

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

11 mesi fa

Risolto


Total energy

11 mesi fa

Risolto


Kinetic energy calculation

11 mesi fa

Risolto


Laws of motion 1

11 mesi fa

Risolto


Laws of motion 2

11 mesi fa

Risolto


Laws of motion 3

11 mesi fa

Risolto


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

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

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

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

11 mesi fa

Risolto


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

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

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

11 mesi fa

Risolto


Potential energy calculation

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

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

11 mesi fa

Risolto


Laws of motion 6

11 mesi fa

Risolto


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

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

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

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

11 mesi fa

Carica altro