문제를 풀었습니다


Function definition: Double down.
* Complete the DoubleDown function to return twice the initialValue.

대략 11년 전

문제를 풀었습니다


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

대략 11년 전

문제를 풀었습니다


Variable Assignment
Complete the ? part by assigning myExamScore with 100.

대략 11년 전

문제를 풀었습니다


Construct an array
* Construct an array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.

대략 11년 전

문제를 풀었습니다


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Declaring a character
* Assign middleInitial with the character T.

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The po...

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Logic variables
* Assign isAvailable with true.

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

대략 11년 전

문제를 풀었습니다


Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...

대략 11년 전

문제를 풀었습니다


sum of the first 10 odd numbers
y = sum(first_10_odd_numbers)

대략 11년 전

문제를 풀었습니다


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

대략 11년 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

대략 11년 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

대략 11년 전

문제를 풀었습니다


Times 32
X is given as your variable. Y is your output multiplied by 32 Example x=1 y=1x32=32

대략 11년 전

문제를 풀었습니다


Find the square root of a value
Given the variable x as your input, find the square root and let the result be represented by y Examples: Input x = 4 O...

대략 11년 전

문제를 풀었습니다


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

대략 11년 전

문제를 풀었습니다


Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

대략 11년 전

문제를 풀었습니다


Autocorrelation of Signal
Given a sine function with these characteristics below, give the autocorrelation of this signal. N=51; n=1:N; x= sin(pi...

대략 11년 전

더 보기