Community Profile

photo

Seung Ho Yoo


2016 年からアクティブ

統計

  • Solver

バッジを表示

Content Feed

表示方法

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

7年以上 前

解決済み


Area of a circle
Find the value for area of the circle if diameter is given

7年以上 前

解決済み


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

7年以上 前

解決済み


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

7年以上 前

解決済み


Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

7年以上 前

解決済み


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

7年以上 前

解決済み


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

7年以上 前

解決済み


Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

7年以上 前

解決済み


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

7年以上 前

解決済み


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

7年以上 前

解決済み


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

7年以上 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7年以上 前

解決済み


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

7年以上 前

解決済み


determine if
determine if the elements of a matrix is a nan and return true

7年以上 前

解決済み


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

7年以上 前

解決済み


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

7年以上 前

解決済み


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

7年以上 前

解決済み


y=x
y=x

7年以上 前

解決済み


'Price of pizza!'
If you want to check pizza's price, try this! price is proportional to its volume, so you have to multiply 0.1($) to pizza's v...

7年以上 前

解決済み


Joules!
1J = 101.325 L/atm Write a statement that assigns fractionalMultiplier with 101.325 Write a second statement that assigns Jo...

7年以上 前

解決済み


Change input vector
If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

7年以上 前

解決済み


multiply 2 by 2
multiply 2 by 2

7年以上 前

解決済み


add 1
given x, y should be 1 greater than the input.

7年以上 前

解決済み


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

7年以上 前

解決済み


Complex number
For complex number c=a+bi, write code that will add a and b together.

7年以上 前

解決済み


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

7年以上 前

解決済み


cube of number
find cube of number

7年以上 前

解決済み


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

7年以上 前

さらに読み込む