Community Profile

photo

Alan


200 total contributions since 2018

Alan's Badges

  • Speed Demon
  • Cody Problems in Japanese Master
  • Project Euler I
  • Commenter
  • CUP Challenge Master
  • Leader
  • Solver

View details...

Contributions in
View by

Solved


Chào các bạn.
Cho 3 số. Tính tổng của chúng

3 giorni ago

Solved


Square root of number
Square root of given number.

21 giorni ago

Solved


Find square of given number
Find Square of any number

circa un mese ago

Solved


anshil's problem
Only anshil should solve ans = ''

4 mesi ago

Solved


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

6 mesi ago

Solved


Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

6 mesi ago

Solved


Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

6 mesi ago

Solved


Ratio between sum of primer numbers and non-prime numbers
Write a function that calculates the ratio between the sum of the prime numbers lower or equal than x, and the sum of the non-pr...

7 mesi ago

Solved


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

7 mesi ago

Solved


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

7 mesi ago

Solved


Easy problem
This is an easy problem. Just click on submit.

7 mesi ago

Solved


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

7 mesi ago

Solved


Mean number of letters per word (Easy)
Given a character array, s, representing a sentence, return a, the arithmetic mean of the number of letters per word in the give...

7 mesi ago

Solved


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

7 mesi ago

Solved


Just another sum (JAS)
*Task:* Write a function that takes a vector X and returns the alternating sum of X: X(1)-X(2)+X(3)-X(4)+... *Example...

7 mesi ago

Solved


Nth Order Polynomial Regression
Inputs: -two vectors x and y (row or column) -order of polynomial, p Outputs: -vector of coefficients [b0 b...

7 mesi ago

Solved


Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

8 mesi ago

Solved


Determine if input is odd or even
Determine if input is odd or even, sample problem

8 mesi ago

Solved


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

8 mesi ago

Solved


Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

8 mesi ago

Solved


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

9 mesi ago

Solved


Optimization of cylinder surface area
Optimization of a cylinder surface area. What are the best parameters (radius and height) to get the minimum cylinder surface a...

9 mesi ago

Solved


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

10 mesi ago

Solved


Number Power
Raise a number to itself.

10 mesi ago

Solved


Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. f...

10 mesi ago

Solved


Test Problem
Let y = x.

10 mesi ago

Solved


Cannibal eating odd and even numbered men
There are N men in a queue. A cannibal eats either all odd-numbered or all even-numbered men in the queue at a time. In the fi...

10 mesi ago

Solved


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

10 mesi ago

Solved


Testing Problem Creation
This is where MATLAB based question will be

10 mesi ago

Solved


solid of revolution
Given an real polynomial P and two real numbers a,b with 0<=a<=b. Calculate the volume of the solid of revolution made by rota...

10 mesi ago

Load more