Resuelto


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

más de 11 años hace

Resuelto


Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

más de 11 años hace

Resuelto


Add 3
Given the variable x as an input, add three to the value, and put the result in y. Example: Input x = 2 Output y is 5...

más de 11 años hace

Resuelto


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

más de 11 años hace

Resuelto


Add 1
Given an input variable x, output a variable y that is 1 greater than x. Example: Input x = 1 Output y is 2 Input ...

más de 11 años hace

Resuelto


Add 2
Given an input variable x, output a variable y that is 2 greater than x. Example: Input x = 1 Output y is 3 Input ...

más de 11 años hace

Resuelto


Add 4
Given an input variable x, output a variable y that is 4 greater than x. Example: Input x = 1 Output y is 5 Input ...

más de 11 años hace

Resuelto


Add 5
Given an input variable x, output a variable y that is 5 greater than x. Example: Input x = 1 Output y is 6 Input ...

más de 11 años hace

Resuelto


Add 6
Given an input variable x, output a variable y that is 6 greater than x. Example: Input x = 1 Output y is 7 Input ...

más de 11 años hace

Resuelto


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

más de 11 años hace

Resuelto


Add 8
Given an input variable x, output a variable y that is 8 greater than x. Example: Input x = 1 Output y is 9 Input ...

más de 11 años hace

Resuelto


Find out phase angle of second order system.
Find out phase angle of second order system. In control system, phase angle is given by inverse of cos.

más de 11 años hace

Resuelto


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

más de 11 años hace

Resuelto


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

más de 11 años hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...

más de 11 años hace

Resuelto


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

más de 11 años hace

Resuelto


Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

más de 11 años hace

Resuelto


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

más de 11 años hace

Resuelto


Write an expression
Assigns finalResult with firstSample plus secondSample, divided by 3. Ex: If firstSample is 18 and secondSample is 12, finalResu...

más de 11 años hace

Resuelto


Compute total cost
A drink costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the num...

más de 11 años hace

Resuelto


Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

más de 11 años hace

Resuelto


Arithmetic array operations
* Add x to each element of array temperatureReadings.

más de 11 años hace

Resuelto


Indexing an array element
* Assign currentStudent with the second element of array testScores.

más de 11 años hace

Resuelto


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

más de 11 años hace

Resuelto


Probability of Choosing a Red Ball
Given two jars of red and blue balls, find the probability of choosing a red ball from Jar 1 after going through the steps. ...

más de 11 años hace

Resuelto


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

más de 11 años hace

Resuelto


Find out output of following expression
Find out output of following expression Q=2log10 x+cos π+√(5yz)+|x^2-y^2 |

más de 11 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function.

más de 11 años hace

Resuelto


Relational operators and row arrays: Run times
* Construct a row array fastRunTimes containing all elements of runTimes equal to or less than 480 seconds.

más de 11 años hace

Resuelto


Comparing floating point values
* Assign matchFound with true if firstSample and secondSample within thresholdValue.

más de 11 años hace

Cargar más