Solved

Speed of car

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

9 mesi ago

Solved

Volume of Cylinder

Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

9 mesi ago

Solved

calculate the tangent of angle in radians

Calculate the tangent of angle in degrees

9 mesi ago

Solved

An Ohm's Law Calculator

*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

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

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

9 mesi ago

Solved

Factorial Numbers

Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

9 mesi ago

Solved

Half-Swap

Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

9 mesi ago

Solved

Sum the real and imaginary parts of a complex number

Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

9 mesi ago

Solved

Eye Squared

For a positive integer |n| create the identity matrix with |n| elements. In case it is not possible to produce an identity ma...

9 mesi ago

Solved

Vertical matrix sort

Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

9 mesi ago

Solved

Find the largest number

Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

9 mesi ago

Solved

Repeat The Components of Matrix

Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

9 mesi ago

Solved

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

9 mesi ago

Solved

Sort the vector with the given index

Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

9 mesi ago

Solved

What is Sum Of all elements of Matrix

Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

9 mesi ago

Solved

Colon operator of two vectors

You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

9 mesi ago

Solved

More Simple String Concatenation

Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

9 mesi ago

Solved

String Delimination and Outputting

In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

9 mesi ago

Solved

Automatic String Editing

In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

9 mesi ago