A résolu


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

23 jours il y a

A résolu


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

23 jours il y a

A résolu


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

23 jours il y a

A résolu


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

23 jours il y a

A résolu


Basic Physics V
Calculate the Weight (w).

23 jours il y a

A résolu


Basic Physics IV
Calculate the Work.

23 jours il y a

A résolu


Basic Physics III
Calculate the Potential Energy (PE).

23 jours il y a

A résolu


Basic Physics II
Get the Kinetic Energy (KE).

23 jours il y a

A résolu


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

23 jours il y a

A résolu


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

24 jours il y a

A résolu


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.

24 jours il y a

A résolu


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

environ un mois il y a

A résolu


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)

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


Make a Plot with Functions
Make a plot and test

environ un mois il y a

A résolu


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

environ 2 mois il y a

Charger plus