Resuelto


to the 2 all elements
to the 2 all elements

27 días hace

Resuelto


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

27 días hace

Resuelto


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

27 días hace

Resuelto


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

27 días hace

Resuelto


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

27 días hace

Resuelto


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

27 días hace

Resuelto


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

27 días hace

Resuelto


NOT
If a not equal to zero, b = true, else, b = false.

27 días hace

Resuelto


OR
If a greater than zero or c less than 10, b = true, else, b = false.

27 días hace

Resuelto


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

27 días hace

Resuelto


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

27 días hace

Resuelto


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

27 días hace

Resuelto


If-Else
If a more than zero, b = true, else, b = false.

27 días hace

Resuelto


If
If a more than zero, then b = true.

27 días hace

Resuelto


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

27 días hace

Resuelto


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

27 días hace

Resuelto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

27 días hace

Resuelto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

27 días hace

Resuelto


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

27 días hace

Resuelto


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

27 días hace

Resuelto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

27 días hace

Resuelto


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

27 días hace

Resuelto


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

27 días hace

Resuelto


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

27 días hace

Resuelto


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

27 días hace

Resuelto


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

27 días hace

Resuelto


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-...

27 días hace

Resuelto


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

27 días hace

Resuelto


MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...

27 días hace

Resuelto


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

27 días hace

Cargar más