Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

12 månader ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

12 månader ago

Solved


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

12 månader ago

Solved


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

12 månader ago

Solved


Potential energy calculation

12 månader ago

Solved


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

12 månader ago

Solved


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

12 månader ago

Solved


Laws of motion 6

12 månader ago

Solved


Laws of motion 3

12 månader ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

12 månader ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

12 månader ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

12 månader ago

Solved


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

12 månader ago

Solved


Converts numbers into characters
Converts numbers into characters

12 månader ago

Solved


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

12 månader ago

Solved


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

12 månader ago

Solved


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

12 månader ago

Solved


to the 2 all elements
to the 2 all elements

12 månader ago

Solved


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

12 månader ago

Solved


Double all elements in the array
Duplicate all elements in the array

12 månader ago

Solved


calculate the length of matrix
input 1 array, calculate the length

12 månader ago

Solved


Draw a '0' in a one matrix!

12 månader ago

Solved


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

12 månader ago

Solved


Draw a '4' in a zero matrix!

12 månader ago

Solved


Draw a '6' in a zero matrix!

12 månader ago

Solved


Draw a '9' in a zero matrix!

12 månader ago

Solved


Draw a '7' in a zero matrix!

12 månader ago

Solved


Draw a '8' in a zero matrix!

12 månader ago

Solved


Draw a '3' in a zero matrix!

12 månader ago

Solved


Draw a '2' in a zero matrix!

12 månader ago

Load more