Resuelto


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

más de 10 años hace

Resuelto


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

más de 10 años hace

Resuelto


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

más de 10 años hace

Resuelto


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

más de 10 años hace

Resuelto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

más de 10 años hace

Resuelto


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

más de 10 años hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

más de 10 años hace

Resuelto


Negative matrix
Change the sign of all elements in given matrix.

más de 10 años hace

Resuelto


Logic variables
* Assign isAvailable with true.

más de 10 años hace

Resuelto


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

más de 10 años hace

Resuelto


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

más de 10 años hace

Resuelto


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

más de 10 años hace

Resuelto


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

más de 10 años hace

Resuelto


Will there be a new leader?
Simply answer the title.

más de 10 años hace

Resuelto


Equal to their cube
Tell me three real numbers that are equal to their cubes?

más de 10 años hace

Resuelto


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

más de 10 años hace

Resuelto


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

más de 10 años hace

Resuelto


Wind Chill Computation
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 10 años hace

Resuelto


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

más de 10 años hace

Resuelto


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

más de 10 años hace

Resuelto


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

más de 10 años hace

Resuelto


surface of a spherical planet
you just discovered its circumference, that is the input.

más de 10 años hace

Resuelto


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

más de 10 años hace

Resuelto


Conversion from hours to mili sec
Convert given input in hours to mili seconds

más de 10 años hace

Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

más de 10 años hace

Resuelto


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

más de 10 años hace

Resuelto


Find relation between x and y.
if 1 = 2 2 = 9 3 = 28 How is x related with y?

más de 10 años hace

Resuelto


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

más de 10 años hace

Cargar más