Risolto


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

oltre un anno fa

Risolto


Positive Infinity
Round the array a towards positive infinity

oltre un anno fa

Risolto


Laws of motion 6

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Laws of motion 3

oltre un anno fa

Risolto


Laws of motion 2

oltre un anno fa

Risolto


Kinetic energy calculation

oltre un anno fa

Risolto


Total energy

oltre un anno fa

Risolto


Potential energy calculation

oltre un anno fa

Risolto


Laws of motion 1

oltre un anno fa

Risolto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

oltre un anno fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

oltre un anno fa

Risolto


length of a vector
Find twice the length of a given vector.

oltre un anno fa

Risolto


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

oltre un anno fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

oltre un anno fa

Risolto


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

quasi 2 anni fa

Risolto


Determine the square root
Determine the square root of the value the user has entered, n.

quasi 2 anni fa

Risolto


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

quasi 2 anni fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

quasi 2 anni fa

Risolto


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

quasi 2 anni fa

Risolto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

quasi 2 anni fa

Risolto


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

quasi 2 anni fa

Risolto


Square a Number
Given an input x, return y, which is equal to the square of x.

quasi 2 anni fa

Risolto


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

quasi 2 anni fa

Risolto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

quasi 2 anni fa

Risolto


square root
Find the square root (y) of an input (x).

quasi 2 anni fa

Risolto


divide by 5

quasi 2 anni fa

Risolto


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

quasi 2 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 2 anni fa

Carica altro