Solved


Calculating the Total Resistance in a Series Circuit
Description: In a series circuit, the total resistance is the sum of the individual resistances. This problem asks you to write ...

21 days ago

Solved


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

21 days ago

Solved


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

21 days ago

Solved


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

21 days ago

Solved


Basic Physics V
Calculate the Weight (w).

21 days ago

Solved


Basic Physics IV
Calculate the Work.

21 days ago

Solved


Basic Physics III
Calculate the Potential Energy (PE).

21 days ago

Solved


Basic Physics II
Get the Kinetic Energy (KE).

21 days ago

Solved


Basic Physics I
Calculate the energy by the famous formula of Albert Einstein.

21 days ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

21 days ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

21 days ago

Solved


Estimating Monthly Electricity Cost for a Household Appliance
You recently bought an electric kettle for your kitchen, and you want to estimate how much it costs to run every month. The kett...

1 month ago

Solved


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

1 month ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

1 month ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

1 month ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

1 month ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

1 month ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 month ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 month ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

1 month ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

1 month ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

1 month ago

Solved


Find max
Find the maximum value of a given vector or matrix.

1 month ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 month ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

1 month ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 month ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 month ago

Solved


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

1 month ago

Solved


Make a Plot with Functions
Make a plot and test

1 month ago

Solved


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

2 months ago

Load more