Solved

Shift elements of vector left

Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

3 months ago

Solved

find the relation...

if given input is 1, output is 4. if input is 55, output is 3136.

3 months ago

Solved

Pluralization

Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

3 months ago

Solved

What's the missing interior angle?

I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

3 months ago

Solved

the number of inputs

Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

3 months ago

Solved

Times 5

Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

3 months ago

Solved

find out eigenvector of matrix

find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

3 months ago

Solved

Kelvin to Fahrenheit

You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

3 months ago

Solved

Create tangent function out of cosine only

Please don't use tangent and sine functions

3 months ago

Solved

Add the even numbers

Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

3 months ago

Solved

Add the positive numbers

Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

3 months ago

Solved

Largest territory

Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

3 months ago

Solved

Calculate value of capacitor

Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

3 months ago

Solved

Sum of logarithms

Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

3 months ago

Solved

Calculate sin(x) without sin(x)

Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

3 months ago

Solved

Delete x value in given vector y.

Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

3 months ago

Solved

Remove the middle element from a vector

Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

3 months ago

Solved

Hydrogens in a Saturated Hydrocarbon

Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

3 months ago

Solved

Solve expression I

Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

3 months ago

Solved

Reverse the input

Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

3 months ago

Solved

Calculating selling price

Cost of a Product is $x What should be the selling price if you want to gain 10%?

3 months ago

Solved

Weighted average

Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

3 months ago

Solved

Flipping a Matrix

Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

3 months ago

Solved

Create a constant offset.

Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

3 months ago