Resuelto


Find the Pattern 2

alrededor de 5 años hace

Resuelto


Find the Pattern 1

alrededor de 5 años hace

Resuelto


Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Calculate the area of a circle
Given a circle of diameter x calculate its area

alrededor de 5 años hace

Resuelto


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

alrededor de 5 años hace

Resuelto


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

alrededor de 5 años hace

Resuelto


Median computation (★)
Given a vector of values, compute the median. The median is defined as the middle value in a set of *sorted* data. Thus, if ...

alrededor de 5 años hace

Resuelto


Create a vector of the first n natural numbers (★)
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

alrededor de 5 años hace

Resuelto


Triangle Numbers (★★)
(copy of problem 5) Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3...

alrededor de 5 años hace

Resuelto


Select every other element of a vector (★★)
(copy of prob 6) Write a function which returns every other element of the vector passed in. That is, it returns the all odd-...

alrededor de 5 años hace

Resuelto


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

alrededor de 5 años hace

Resuelto


Percentage
There is x liter water and y gram => z is percentage of salt in water

alrededor de 5 años hace

Resuelto


Perimeter of a Triangle

alrededor de 5 años hace

Resuelto


Sum of elements in a vector (★)
(copy of Prob. 3) Find the sum of all the numbers of the input vector x. Input x = [1 2 3 5] Output y is 11 <> ...

alrededor de 5 años hace

Resuelto


Volume of a sphere

alrededor de 5 años hace

Resuelto


Find the y=(1:x)
Look at the question

alrededor de 5 años hace

Resuelto


Median computation (★★★)
See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

alrededor de 5 años hace

Resuelto


Create a vector of the first n odd numbers (★)
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

alrededor de 5 años hace

Resuelto


Find the Sum of matrix A

más de 5 años hace

Resuelto


Find Logic 9

más de 5 años hace

Resuelto


Create an array from 1 to x in steps of 1.

más de 5 años hace

Resuelto


Find the area of a square

más de 5 años hace

Resuelto


No of squares in a grid
given a m*n grid calculate the no of possible squares & rectangles on that grid. output: y=[no of rectangles , no of sqa...

más de 5 años hace

Resuelto


Leftovers? Again?!
I am thinking of a positive number X. To determine what number I am thinking of, I will give you two 1xN vectors. The first ve...

más de 5 años hace

Resuelto


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

más de 5 años hace

Resuelto


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

más de 5 años hace

Resuelto


Calculator spelling - Numbers to Letters
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

casi 6 años hace

Resuelto


Mo money, mo math #2! (adapted from Prob 9 Cody team)
You have a matrix for which each row is a person and the columns represent the number of quarters, dimes, nickels and pennies th...

casi 6 años hace

Resuelto


Approximate functions 1
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

casi 6 años hace

Cargar más