Resuelto


Would you win a raffle?

más de 3 años hace

Resuelto


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

más de 3 años hace

Resuelto


Random Problem12- Squaring a number
Square the number

más de 3 años hace

Resuelto


Convert grams of Carbon to Moles
Stoichiometry...fun!

más de 3 años hace

Resuelto


Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.

más de 3 años hace

Resuelto


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

más de 3 años hace

Resuelto


Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.

más de 3 años hace

Resuelto


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

más de 3 años hace

Resuelto


Create a column vector of n elements between a and b (both included)
Given lower limit a and an upper limit b, create a column vector of n elements inclusive of a and b. For example: a = 1, b = 4,...

más de 3 años hace

Resuelto


determine skid distance of car
Determine the distance a car skids to a stop given initial velocity (v) and time (t).

más de 3 años hace

Resuelto


Find the number of primes leq than input
Given an integer n, determine the number of primes less than or equal to n.

más de 3 años hace

Resuelto


Vector slither sort!
Sort a numeric vector in the following format: [largest value, smallest value, second largest value, second smallest value, etc...

más de 3 años hace

Resuelto


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

más de 3 años hace

Resuelto


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

más de 3 años hace

Resuelto


Sum of 2 numbers in array
Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot h...

más de 3 años hace

Resuelto


Find distance travelled by an object starting from rest in time 't' and linear acceleration 'a' = 3t
Find distance travelled by an object starting from rest in time 't' with linear acceleration a = 3t. You are given time t as an ...

más de 3 años hace

Resuelto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

más de 3 años hace

Resuelto


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

más de 3 años hace

Resuelto


Given a matrix A return a vector of the product of the elements in each column using a loop without using prod.
--------------------- for m: 3 1 3 3 10 1 9 1 9 4 1 4 5 6 5 ...

más de 3 años hace

Resuelto


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

más de 3 años hace

Resuelto


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

más de 3 años hace

Resuelto


Find Logic 9

más de 3 años hace

Resuelto


Find Logic 11

más de 3 años hace

Resuelto


Find Logic 16

más de 3 años hace

Resuelto


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

más de 3 años hace

Resuelto


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

más de 3 años hace

Resuelto


Find Logic 7

más de 3 años hace

Resuelto


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

más de 3 años hace

Resuelto


Find Logic 6

más de 3 años hace

Resuelto


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

más de 3 años hace

Cargar más