Feeds
문제를 풀었습니다
Reverse Integer
You are given an integer, reverse its digits. For negative integers, the sign should remain in the front. For instance, 12340 s...
26일 전
문제를 풀었습니다
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 ...
26일 전
문제를 풀었습니다
Lancer de dés
Ecrire une fonction qui imite le lancer d'un dé, i-e qui renvoie de façon aléatoire un entier entre 1 et 6. Attention cette fon...
27일 전
문제를 풀었습니다
findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...
27일 전
문제를 풀었습니다
Square area to triangle area
Given the area, A, of a square with side length, c, if a right angle triangle has the same area A and the hypothenuse length 2c ...
27일 전
문제를 풀었습니다
Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...
27일 전
문제를 풀었습니다
Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...
27일 전
문제를 풀었습니다
Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...
대략 1개월 전
문제를 풀었습니다
Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...
대략 1개월 전
문제를 풀었습니다
Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.
대략 1개월 전
문제를 풀었습니다
¡Busca el extremo!
Crea una función que calcule el extremo de una parábola (máximo o mínimo absoluto) cuyos datos son proporcionados por el usuario...
대략 1개월 전
문제를 풀었습니다
I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0
대략 1개월 전
문제를 풀었습니다
X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.
대략 1개월 전
문제를 풀었습니다
Cody Computer Part 1 - Guess the system font used by uipanel
list = listfonts return the list of available system fonts. Can you guess which font is used for uipanel on the CODY computer...
대략 1개월 전
문제를 풀었습니다
provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to...
대략 1개월 전
문제를 풀었습니다
Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...
대략 1개월 전
문제를 풀었습니다
How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.
대략 1개월 전
문제를 풀었습니다
Find the number of diagonals in a n sided polygon.
Find the number of diagonals in a n sided polygon.
대략 1개월 전
문제를 풀었습니다
Schwarzschild radius
Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...
대략 1개월 전
문제를 풀었습니다
Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...
대략 1개월 전
문제를 풀었습니다
[Mảng 1 Chiều Cơ Bản]. Bài 2. Trung bình cộng nguyên tố
Cho mảng số nguyên A[] gồm N phần tử, nhiệm vụ của bạn là tính trung bình cộng của các số là số nguyên tố trong dãy. Dữ liệu đảm...
대략 1개월 전
문제를 풀었습니다
User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...
대략 1개월 전
문제를 풀었습니다
iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- blank f...
대략 1개월 전
문제를 풀었습니다
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
대략 1개월 전










