Risolto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

oltre 4 anni fa

Risolto


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

oltre 4 anni fa

Risolto


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

oltre 4 anni fa

Risolto


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

oltre 4 anni fa

Risolto


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

oltre 4 anni fa

Risolto


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

oltre 4 anni fa

Risolto


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

oltre 4 anni fa

Risolto


Total energy

oltre 4 anni fa

Risolto


Potential energy calculation

oltre 4 anni fa

Risolto


Kinetic energy calculation

oltre 4 anni fa

Risolto


Laws of motion 1

oltre 4 anni fa

Risolto


Laws of motion 2

oltre 4 anni fa

Risolto


Laws of motion 3

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


Laws of motion 5

oltre 4 anni fa

Risolto


Laws of motion 6

oltre 4 anni fa

Risolto


Draw a '4' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '6' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '9' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '7' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '8' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '3' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '2' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '5' in a zero matrix!

oltre 4 anni fa

Risolto


Draw a '1' in a zero matrix!

oltre 4 anni fa

Risolto


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

oltre 4 anni fa

Risolto


Find the Pattern 2

oltre 4 anni fa

Risolto


Find Logic 16

oltre 4 anni fa

Risolto


Find Logic 14

oltre 4 anni fa

Risolto


Find Logic 1

oltre 4 anni fa

Carica altro