Solved

Speed of car

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

8 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

8 mesi ago

Solved

calculate the tangent of angle in radians

Calculate the tangent of angle in degrees

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

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

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

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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

8 mesi ago