Gelöst


Would you win a raffle?

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


Random Problem12- Squaring a number
Square the number

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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.

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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,...

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


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 ...

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


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 ...

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


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 ...

mehr als 3 Jahre vor

Gelöst


Find Logic 9

mehr als 3 Jahre vor

Gelöst


Find Logic 11

mehr als 3 Jahre vor

Gelöst


Find Logic 16

mehr als 3 Jahre vor

Gelöst


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.

mehr als 3 Jahre vor

Gelöst


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...

mehr als 3 Jahre vor

Gelöst


Find Logic 7

mehr als 3 Jahre vor

Gelöst


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.

mehr als 3 Jahre vor

Gelöst


Find Logic 6

mehr als 3 Jahre vor

Gelöst


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 ...

mehr als 3 Jahre vor

Mehr laden