Alfred Larsson
Followers: 0 Following: 0
Statistics
0 Problems
50 Solutions
RANK
N/A
of 289,729
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19,580
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...
7 years ago
Solved
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
7 years ago
Solved
Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.
7 years ago
Solved
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
7 years ago
Solved
If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...
7 years ago
Solved
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
7 years ago
Solved
Find the qube of a give number.
You are given a number, find the qube of that number.
7 years ago
Solved
multiply an array by its position number
You have given an array. Multiply an array by its position number
7 years ago
Solved
find square root of a positive real number
a number given, find the square root of that number
7 years ago
Solved
find the Area of a rectangle
length is x width is y what is the area of the rectangle?
7 years ago
Solved
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
7 years ago
Solved
radius of a spherical planet
you just measured its surface area, that is the input.
7 years ago
Solved
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
7 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];
7 years ago
Solved
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
7 years ago
Solved
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
7 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 ...
7 years ago
Solved
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
7 years ago