Solved

Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

11 months ago

Solved

find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

11 months ago

Solved

Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

11 months ago

Solved

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

11 months ago

Solved

y equals x divided by 2
function y = x/2

11 months ago

Solved

Will there be a new leader?

11 months ago

Solved

Calculate the logarithm of number
Calculate the logarithm of number x

11 months ago

Solved

Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

11 months ago

Solved

Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

11 months ago

Solved

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

11 months ago

Solved

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

11 months ago

Solved

Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

11 months ago

Solved

Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

11 months ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

11 months ago

Solved

11 months ago

Solved

Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

11 months ago

Solved

Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

11 months ago

Solved

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

11 months ago

Solved

Effective Nuclear Charge

11 months ago

Problem

Effective Nuclear Charge

11 months ago | 1 | 18 solvers

Solved

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

11 months ago

Solved

kmph to mph converter
Convert the speed in miles/hour to km/hour.

11 months ago

Solved

Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

11 months ago

Solved

Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

11 months ago

Solved

Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

11 months ago

Solved

give-nth-decimal-place-of-pi up to 100 digits
max 100th place after the decimal point this is upgrade problem of 142

11 months ago

Solved

Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

11 months ago

Solved

Bruh
Return 'bruh'.

11 months ago

Solved

Nth root
Nth root of a number x

11 months ago

Solved

Number of primes
Count the number of primes less than 'n'.

11 months ago