A résolu


PEMDAS

4 mois il y a

A résolu


Multiplication
Multiply a and b.

4 mois il y a

A résolu


Addition II
find a+b+c+d

4 mois il y a

A résolu


Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...

4 mois il y a

A résolu


Squares
Find the square of x.

4 mois il y a

A résolu


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

4 mois il y a

A résolu


Total energy

4 mois il y a

A résolu


Potential energy calculation

4 mois il y a

A résolu


Kinetic energy calculation

4 mois il y a

A résolu


Laws of motion 1

4 mois il y a

A résolu


Laws of motion 2

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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


Laws of motion 3

4 mois il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

4 mois il y a

A résolu


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

4 mois il y a

A résolu


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

4 mois il y a

A résolu


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

4 mois il y a

A résolu


A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.

4 mois il y a

A résolu


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

4 mois il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

4 mois il y a

A résolu


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

4 mois il y a

A résolu


Converts numbers into characters
Converts numbers into characters

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


to the 2 all elements
to the 2 all elements

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


Draw a '0' in a one matrix!

4 mois il y a

Charger plus