Siddhant Kumar
Followers: 0 Following: 0
Statistiche
0 Problemi
64 Soluzioni
RANK
N/A
of 290.080
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).
oltre 7 anni fa
Risolto
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
oltre 7 anni fa
Risolto
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
oltre 7 anni fa
Risolto
Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...
oltre 7 anni fa
Risolto
Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...
oltre 7 anni fa
Risolto
Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...
oltre 7 anni fa
Risolto
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
oltre 7 anni fa
Risolto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
oltre 7 anni fa
Risolto
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
oltre 7 anni fa
Risolto
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
oltre 7 anni fa
Risolto
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
oltre 7 anni fa
Risolto
Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.
oltre 7 anni fa
Risolto
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
oltre 7 anni fa
Risolto
Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5
oltre 7 anni fa
Risolto
Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...
oltre 7 anni fa
Risolto
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
oltre 7 anni fa
Risolto
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...
oltre 7 anni fa
Risolto
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
oltre 7 anni fa
Risolto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
oltre 7 anni fa
Risolto
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
oltre 7 anni fa
Risolto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
oltre 7 anni fa
Risolto
Function definition: Volume of a pyramid
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolum...
oltre 7 anni fa
Risolto
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
oltre 7 anni fa
Risolto
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
oltre 7 anni fa
Risolto
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!
oltre 7 anni fa
Risolto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
oltre 7 anni fa
Risolto
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
oltre 7 anni fa