Risolto


Laws of motion 2

5 mesi fa

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

5 mesi 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>> ...

5 mesi fa

Risolto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

5 mesi fa

Risolto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

5 mesi fa

Risolto


Product of Array
Given an array of numbers. Get the product of the array.

5 mesi fa

Risolto


Values in Array
How many values are in the array

5 mesi fa

Risolto


Negative Infinity
Round the given array a towards negative infinity.

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

5 mesi fa

Risolto


Multiplication
Given 2 numbers a and b mulitply them

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

5 mesi fa

Risolto


Remainder
Given two number a and b find the remainder when you divide a by b

5 mesi fa

Risolto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

5 mesi fa

Risolto


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

5 mesi fa

Risolto


Mode
Find the mode of a vector x

5 mesi fa

Risolto


Add two numbers
Given two numbers a and b add them together

5 mesi fa

Risolto


Division
Given two numbers a and b divide them a/b

5 mesi fa

Risolto


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

6 mesi fa

Risolto


Max of a Vector
Write a function to return the max of a vector

6 mesi fa

Risolto


Given length x find the area y of the square
Given length x find the area y of the square

6 mesi fa

Risolto


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

7 mesi fa

Risolto


Temperature Conversion 2

7 mesi fa

Risolto


Temperature Conversion 1

7 mesi fa

Carica altro