A résolu


Laws of motion 2

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Values in Array
How many values are in the array

11 mois il y a

A résolu


Negative Infinity
Round the given array a towards negative infinity.

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Multiplication
Given 2 numbers a and b mulitply them

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


Mode
Find the mode of a vector x

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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

11 mois il y a

A résolu


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.

environ un an il y a

A résolu


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

environ un an il y a

A résolu


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

environ un an il y a

A résolu


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

environ un an il y a

A résolu


Temperature Conversion 2

environ un an il y a

A résolu


Temperature Conversion 1

environ un an il y a

Charger plus