Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Will there be a new leader?
Simply answer the title.

oltre 3 anni fa

Risolto


Calculate the logarithm of number
Calculate the logarithm of number x

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Add two hex numbers
Add two hex numbers

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


Effective Nuclear Charge

oltre 3 anni fa

Problema


Effective Nuclear Charge

oltre 3 anni fa | 1 | 31 risolutori

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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 ]

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Bruh
Return 'bruh'.

oltre 3 anni fa

Risolto


Nth root
Nth root of a number x

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Carica altro