문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


How do you make seven even?
Take away the s.

5년 초과 전

문제를 풀었습니다


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

5년 초과 전

문제를 풀었습니다


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

5년 초과 전

문제를 풀었습니다


Narcissistic number ?
Inspired by Problem 2056 created by Ted. In recreational number theory, a narcissistic number is a number that is the sum of ...

5년 초과 전

문제를 풀었습니다


Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?

5년 초과 전

문제를 풀었습니다


weekday and month
Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find. Ex...

5년 초과 전

문제를 풀었습니다


Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

5년 초과 전

문제를 풀었습니다


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

5년 초과 전

문제를 풀었습니다


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

5년 초과 전

문제를 풀었습니다


Determine the factorial of a number

5년 초과 전

문제를 풀었습니다


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

5년 초과 전

문제를 풀었습니다


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

5년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

5년 초과 전

문제를 풀었습니다


UICBioE240 2.8
Convert x number of hours into seconds.

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

5년 초과 전

문제를 풀었습니다


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

5년 초과 전

문제를 풀었습니다


string comparision
compare two strings if both are same return 1 else return 0

5년 초과 전

문제를 풀었습니다


modulus of a number
find the modulus of a given number

5년 초과 전

문제를 풀었습니다


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

5년 초과 전

문제를 풀었습니다


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

5년 초과 전

문제를 풀었습니다


Product of Array
Given an array of numbers. Get the product of the array.

5년 초과 전

문제를 풀었습니다


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

5년 초과 전

문제를 풀었습니다


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

5년 초과 전

더 보기