Risolto


Would you win a raffle?

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Random Problem12- Squaring a number
Square the number

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find Logic 9

oltre 3 anni fa

Risolto


Find Logic 11

oltre 3 anni fa

Risolto


Find Logic 16

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find Logic 7

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


Find Logic 6

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Carica altro