문제를 풀었습니다


Temperature Conversion 1

11개월 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

11개월 전

문제를 풀었습니다


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

11개월 전

문제를 풀었습니다


easy problem
Find the last element of the array

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Voltage Divider Calculation
A voltage divider is a simple circuit used to obtain a reduced voltage from a higher voltage source using two resistors in serie...

11개월 전

문제를 풀었습니다


Battery Life Estimation for a Device
A battery-powered device consumes a constant current while operating. The estimated battery life (T) can be calculated using the...

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

11개월 전

문제를 풀었습니다


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

11개월 전

문제를 풀었습니다


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

11개월 전

문제를 풀었습니다


Square root of a number
Write a code that will output the square root of x.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Given length x find the area y of the square
Given length x find the area y of the square

11개월 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

11개월 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

11개월 전

문제를 풀었습니다


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Mass Conversion 1

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개월 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

11개월 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

11개월 전

문제를 풀었습니다


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

11개월 전

문제를 풀었습니다


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

11개월 전

문제를 풀었습니다


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

11개월 전

더 보기