문제를 풀었습니다


Check if number exists in vector
Return 1 if number a exists in vector b otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,2,3]; Returns 1.

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

4개월 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

4개월 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4개월 전

문제를 풀었습니다


Laws of motion 1

4개월 전

문제를 풀었습니다


Laws of motion 5
Calculate the force is u are given mass and acceleration.

4개월 전

문제를 풀었습니다


Kinetic energy calculation

4개월 전

문제를 풀었습니다


Total energy

4개월 전

문제를 풀었습니다


Potential energy calculation

4개월 전

문제를 풀었습니다


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

4개월 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


PIN code

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

4개월 전

문제를 풀었습니다


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

5개월 전

문제를 풀었습니다


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

5개월 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

5개월 전

문제를 풀었습니다


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

5개월 전

문제를 풀었습니다


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

5개월 전

문제를 풀었습니다


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

5개월 전

문제를 풀었습니다


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

5개월 전

문제를 풀었습니다


Multiplication
Given 2 numbers a and b mulitply them

5개월 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

5개월 전

더 보기