A résolu


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

plus de 10 ans il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

plus de 10 ans il y a

A résolu


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

plus de 10 ans il y a

A résolu


length of a vector
Find twice the length of a given vector.

plus de 10 ans il y a

A résolu


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

plus de 10 ans il y a

A résolu


prime test
find largest 2 digit prime number

plus de 10 ans il y a

A résolu


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

plus de 10 ans il y a

A résolu


Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

plus de 10 ans il y a

A résolu


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

plus de 10 ans il y a

A résolu


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

plus de 10 ans il y a

A résolu


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

plus de 10 ans il y a

A résolu


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

plus de 10 ans il y a

A résolu


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

plus de 10 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

plus de 10 ans il y a

A résolu


Times 3 problem
When you enter the number, it should return the number multiplied by 3

plus de 10 ans il y a

A résolu


Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...

plus de 10 ans il y a

A résolu


check whether it is prime or not
Given a number,check whether it is prime or not. If prime output is true else false

plus de 10 ans il y a

A résolu


Element-wise division
* Assign row array weightKilo with the corresponding weight in kilograms. Use the following conversion: kg = lb / 2.2

plus de 10 ans il y a

A résolu


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

plus de 10 ans il y a

A résolu


Equate
Equate y to x

plus de 10 ans il y a

Problème


Equate
Equate y to x

plus de 10 ans il y a | 0 | 18 solveurs

A résolu


calculate Compound Intrest
Calculate Compound Intrest for given data

plus de 10 ans il y a

Problème


calculate Compound Intrest
Calculate Compound Intrest for given data

plus de 10 ans il y a | 1 | 92 solveurs

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

plus de 10 ans il y a

A résolu


Declaring a character
* Assign middleInitial with the character T.

plus de 10 ans il y a

A résolu


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

plus de 10 ans il y a

A résolu


Tune your guitar
Given an input string with the scientific pitch notation for standard tuning ( <http://en.wikipedia.org/wiki/Guitar_tunings#Stan...

plus de 10 ans il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

plus de 10 ans il y a

A résolu


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

plus de 10 ans il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

plus de 10 ans il y a

Charger plus