Alternating 1´s and 0´s in a matrix
Given an odd number n, write a function that creates a matrix y with dimension nxn alternating 1's and 0's, and starting with 1 ...
6 years ago
Solved
Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.
6 years ago
Solved
Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x.
f...
6 years ago
Solved
Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...