문제를 풀었습니다


to the 2 all elements
to the 2 all elements

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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.

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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.

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

문제를 풀었습니다


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

2일 전

더 보기