Community Profile

# Kevin McCormack

66 total contributions since 2016

View details...

Contributions in
View by

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

3 years ago

Solved

Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

3 years ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

3 years ago

Solved

3 years ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

3 years ago

Solved

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

3 years ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...

3 years ago

Solved

Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

3 years ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

3 years ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

3 years ago

Solved

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

3 years ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

3 years ago

Solved

cheating technique1
in these cody problems, there is a way to cheat. find out how people cheat.

3 years ago

Solved

cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

3 years ago

Solved

find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

3 years ago

Solved

MPH to MPS
Given mps, find the speed in miles per hour.

3 years ago

Solved

3 years ago

Solved

3 years ago

Solved

Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

3 years ago

Solved

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

3 years ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

3 years ago

Solved

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

3 years ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

3 years ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

3 years ago

Solved

surface of a spherical planet
you just discovered its circumference, that is the input.

3 years ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

3 years ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

3 years ago

Solved

you just measured its surface area, that is the input.

3 years ago

Solved

The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

3 years ago

Solved

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

3 years ago