172 total contributions since 2015

Solved

Summation of array

Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

circa 4 anni ago

Solved

Determine if input is divisible by three.

Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

circa 4 anni ago

Solved

Create a square matrix of zeros of even order

Create a square matrix of zeros of even order

circa 4 anni ago

Solved

write an algebraic expression

An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

circa 4 anni ago

Problem

write an algebraic expression

An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

circa 4 anni ago | 0

Solved

Find Factrorial without using built-in function

A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

circa 4 anni ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

circa 4 anni ago

Solved

Is the input divisible by 3?

Return true if the input is divisible by 3 and false if not.

circa 4 anni ago

Solved

Find the hypotenuse

Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

circa 4 anni ago

Solved

Is there a GPU Device?

Return true if there is a supported GPU device available on the Cody computer.

circa 4 anni ago

Problem

write an expression

if 1 = 4; 2 = 30; 3 = 120; 4 = 340 write an expression

circa 4 anni ago | 0

Solved

Find the relation

Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

circa 4 anni ago

Solved

Test of Quiz

Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

circa 4 anni ago

Solved

Arithmetic array operations

* Add x to each element of array temperatureReadings.

circa 4 anni ago

Solved

Help the Patriots get to the Super Bowl

Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

circa 4 anni ago

Solved

Roots

Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

circa 4 anni ago