Solved


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

5 maanden ago

Solved


Temperature Conversion 2

5 maanden ago

Solved


Temperature Conversion 1

5 maanden ago

Solved


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

5 maanden ago

Solved


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

5 maanden ago

Solved


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

5 maanden ago

Solved


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

5 maanden ago

Solved


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

5 maanden ago

Solved


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

5 maanden ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

5 maanden ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

5 maanden ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

5 maanden ago

Solved


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

5 maanden ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

5 maanden ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 maanden ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 maanden ago

Solved


Linear system of equations
Solve the system of equations in three variables.

5 maanden ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

5 maanden ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

5 maanden ago

Solved


Nth root
Nth root of a number x

5 maanden ago

Solved


divide by 5

5 maanden ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

5 maanden ago

Solved


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

5 maanden ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

5 maanden ago

Solved


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 maanden ago

Solved


Negative Infinity
Round the given array a towards negative infinity.

5 maanden ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

5 maanden ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 maanden ago

Solved


y equals x divided by 2
function y = x/2

5 maanden ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

5 maanden ago

Load more