A résolu


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

6 mois il y a

A résolu


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

6 mois il y a

A résolu


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

6 mois il y a

A résolu


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

6 mois il y a

A résolu


Total energy

6 mois il y a

A résolu


Potential energy calculation

6 mois il y a

A résolu


Kinetic energy calculation

6 mois il y a

A résolu


Laws of motion 1

6 mois il y a

A résolu


Laws of motion 2

6 mois il y a

A résolu


Laws of motion 3

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

6 mois il y a

A résolu


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

6 mois il y a

A résolu


Laws of motion 6

6 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;...

6 mois il y a

A résolu


Converts numbers into characters
Converts numbers into characters

6 mois il y a

A résolu


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

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

6 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

6 mois il y a

A résolu


to the 2 all elements
to the 2 all elements

6 mois il y a

A résolu


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

6 mois il y a

A résolu


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

6 mois il y a

A résolu


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

6 mois il y a

A résolu


Draw a '0' in a one matrix!

6 mois il y a

A résolu


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

6 mois il y a

A résolu


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

6 mois il y a

A résolu


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

6 mois il y a

A résolu


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

6 mois il y a

A résolu


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

6 mois il y a

A résolu


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

6 mois il y a

A résolu


Sum of series VIII

6 mois il y a

Charger plus