Statistica
0 Problemi
88 Soluzioni
RANK
N/A
of 302.373
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
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...
quasi 4 anni fa
Risolto
Area of square
Find the area of a square whose diagonal length is given as x.
quasi 4 anni fa
Risolto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
quasi 4 anni fa
Risolto
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
quasi 4 anni fa
Risolto
Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.
quasi 4 anni fa
Risolto
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
quasi 4 anni fa
Risolto
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: ...
quasi 4 anni fa
Risolto
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...
quasi 4 anni fa
Risolto
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
quasi 4 anni fa
Risolto
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
quasi 4 anni fa
Risolto
surface of a spherical planet
you just discovered its circumference, that is the input.
quasi 4 anni fa
Risolto
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
quasi 4 anni fa
Risolto
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...
quasi 4 anni fa
Risolto
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
quasi 4 anni fa
Risolto
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
quasi 4 anni fa
Risolto
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
quasi 4 anni fa
Risolto
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
quasi 4 anni fa
Risolto
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
quasi 4 anni fa
Risolto
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
quasi 4 anni fa
Risolto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
quasi 4 anni fa
Risolto
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
quasi 4 anni fa
Risolto
Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.
quasi 4 anni fa
Risolto
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
quasi 4 anni fa
Risolto
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
quasi 4 anni fa


