Risolto


first element of matrix
find the first elements of a column matrix

quasi 10 anni fa

Risolto


find lenth of array
you have given an array, find the length of that.

quasi 10 anni fa

Risolto


add each element with 4
You have given a array. Add 4 to each element of that array.

quasi 10 anni fa

Risolto


add two numbers
two numbers given, output should addition of them.

quasi 10 anni fa

Risolto


Square root of 100
Find the square root of 100

quasi 10 anni fa

Risolto


Find remainder when x is divided by 3
Find remainder when x is divided by 3

quasi 10 anni fa

Risolto


Divide all elements by 3
Give an array. Divide all the elements by 3.

quasi 10 anni fa

Risolto


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

quasi 10 anni fa

Risolto


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

quasi 10 anni fa

Risolto


add each element with 4
You have given a array. Add 3 to each element of that array.

quasi 10 anni fa

Risolto


add each element with 3
You have given a array. Add 3 to each element of that array.

quasi 10 anni fa

Risolto


add each element with 10
You have given a array. Add 10 to each element of that array.

quasi 10 anni fa

Risolto


find square root of a positive real number
a number given, find the square root of that number

quasi 10 anni fa

Risolto


find square root of 9
find square root of 9

quasi 10 anni fa

Risolto


find 90-45
find 90-45

quasi 10 anni fa

Risolto


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

quasi 10 anni fa

Risolto


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

quasi 10 anni 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 =...

quasi 10 anni fa

Risolto


add each element with 2
You have given a array. Add 2 to each element of that array.

quasi 10 anni fa

Risolto


Find subtraction
Given a, b. Find a-b

quasi 10 anni fa

Risolto


find square root of 16
find square root of 9

quasi 10 anni fa

Risolto


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

quasi 10 anni fa

Risolto


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

quasi 10 anni fa

Risolto


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

quasi 10 anni fa

Risolto


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

quasi 10 anni fa

Risolto


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

quasi 10 anni fa

Risolto


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

quasi 10 anni fa

Risolto


Double summation
Write two nested for loops to calculate the following double summation: <<https://drive.google.com/uc?id=0B74PAULDIwwsWFhlNTV...

quasi 10 anni fa

Risolto


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

quasi 10 anni fa

Risolto


Compute change
A cashier distributes change using the maximum number of five dollar bills, followed by one dollar bills. Given amountToChange, ...

quasi 10 anni fa

Carica altro