Resuelto


Converts numbers into characters
Converts numbers into characters

3 meses hace

Resuelto


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3 meses hace

Resuelto


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3 meses hace

Resuelto


Find the max element of the array
Find the max element of the array

3 meses hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

3 meses hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

3 meses hace

Resuelto


Total energy

3 meses hace

Resuelto


Kinetic energy calculation

3 meses hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

3 meses hace

Resuelto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

3 meses hace

Resuelto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

3 meses hace

Resuelto


Laws of motion 2

3 meses hace

Resuelto


Laws of motion 5
Calculate the force is u are given mass and acceleration.

3 meses hace

Resuelto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3 meses hace

Resuelto


Convert radians to degrees
Given input in radians, output to degrees

3 meses hace

Resuelto


Laws of motion 1

3 meses hace

Resuelto


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

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

3 meses hace

Resuelto


Laws of motion 6

3 meses hace

Resuelto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3 meses hace

Resuelto


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

3 meses hace

Resuelto


radius of a spherical planet
You just measured its surface area, that is the input.

3 meses hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

3 meses hace

Resuelto


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

3 meses hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

3 meses hace

Resuelto


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

3 meses hace

Resuelto


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

3 meses hace

Resuelto


Potential energy calculation

3 meses hace

Resuelto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

3 meses hace

Resuelto


Saving MATLAB session to a file
How to save MATLAB session to a file?

3 meses hace

Cargar más