Kumar Yashasvi
Followers: 0 Following: 0
Estadística
0 Preguntas
1 Respuesta
0 Problemas
38 Soluciones
CLASIFICACIÓN
22.665
of 295.467
REPUTACIÓN
2
CONTRIBUCIONES
0 Preguntas
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 20.234
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
12.778
of 153.912
CONTRIBUCIONES
0 Problemas
38 Soluciones
PUNTUACIÓN
385
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
casi 4 años hace
Resuelto
sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...
casi 4 años hace
Resuelto
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
casi 4 años hace
Resuelto
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
casi 4 años hace
Resuelto
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 ...
casi 4 años hace
Resuelto
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
casi 4 años hace
Resuelto
First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];
casi 4 años hace
Resuelto
Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...
casi 4 años hace
Resuelto
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
casi 4 años hace
Resuelto
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
casi 4 años hace
Resuelto
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
casi 4 años hace
Resuelto
Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0
casi 4 años hace
Resuelto
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
casi 4 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
casi 4 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
casi 4 años hace
Resuelto
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
casi 4 años hace
Resuelto
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
casi 4 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
casi 4 años hace
Resuelto
Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
casi 4 años hace
Resuelto
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
casi 4 años hace
Resuelto
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
casi 4 años hace
Resuelto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
casi 4 años hace
Resuelto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
casi 4 años hace
Resuelto
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
casi 4 años hace
Resuelto
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
casi 4 años hace