문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

11개월 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

11개월 전

문제를 풀었습니다


Create a vector
Create a vector from 0 to n by intervals of 2.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

11개월 전

문제를 풀었습니다


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

11개월 전

문제를 풀었습니다


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

11개월 전

문제를 풀었습니다


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

11개월 전

문제를 풀었습니다


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

11개월 전

문제를 풀었습니다


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Add 2 to any number.
Add 2 to any number.

11개월 전

문제를 풀었습니다


Total energy

11개월 전

문제를 풀었습니다


Potential energy calculation

11개월 전

문제를 풀었습니다


Kinetic energy calculation

11개월 전

문제를 풀었습니다


Laws of motion 1

11개월 전

문제를 풀었습니다


Laws of motion 2

11개월 전

문제를 풀었습니다


Laws of motion 3

11개월 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Laws of motion 6

11개월 전

문제를 풀었습니다


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]

11개월 전

문제를 풀었습니다


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

11개월 전

더 보기