A résolu


Energy Conversion 1

plus d'un an il y a

A résolu


Energy Conversion 2

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

plus d'un an il y a

A résolu


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

plus d'un an il y a

A résolu


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus d'un an il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

plus d'un an il y a

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus d'un an il y a

A résolu


Mass Conversion 1

plus d'un an il y a

A résolu


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

plus d'un an il y a

A résolu


Temperature Conversion 2

plus d'un an il y a

A résolu


Temperature Conversion 1

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Laws of motion 6

plus d'un an il y a

A résolu


Total energy

plus d'un an il y a

A résolu


Potential energy calculation

plus d'un an il y a

A résolu


Laws of motion 5

plus d'un an il y a

A résolu


Kinetic energy calculation

plus d'un an il y a

A résolu


Laws of motion 3

plus d'un an il y a

A résolu


Laws of motion 2

plus d'un an il y a

A résolu


Laws of motion 1

plus d'un an il y a

A résolu


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

plus d'un an il y a

A résolu


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

Charger plus