photo

Andriy Kavetsky


Last seen: plus de 3 ans il y a Actif depuis 2016

Followers: 0   Following: 0

Message

I'm student of Applied Mathematics at Ivan Franko National University.

Statistiques

All
  • Cody 5th Anniversary Author
  • Triathlon Participant
  • Knowledgeable Level 2
  • First Answer
  • Likeable
  • Quiz Master
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Scavenger Finisher
  • Famous
  • Promoter

Afficher les badges

Feeds

Afficher par

A résolu


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

presque 6 ans il y a

A résolu


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.

presque 6 ans il y a

A résolu


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

environ 6 ans il y a

A résolu


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

environ 6 ans il y a

A résolu


Get the combinations
Consider p,q = 2 vectors of same or different length. Get a Output Array which has all the possible combinations of Elements o...

environ 6 ans il y a

A résolu


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

environ 6 ans il y a

A résolu


Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

environ 6 ans il y a

A résolu


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

environ 6 ans il y a

A résolu


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

environ 6 ans il y a

A résolu


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

environ 6 ans il y a

A résolu


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

environ 7 ans il y a

Problème


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

environ 7 ans il y a | 3 | 477 solveurs

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

presque 8 ans il y a

A résolu


true or false
if the matrix has a zero, return true. else, return false

presque 8 ans il y a

A résolu


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

presque 8 ans il y a

A résolu


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

presque 8 ans il y a

A résolu


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

presque 8 ans il y a

A résolu


Degrees to Radian
Convert degrees to radians

presque 8 ans il y a

A résolu


Radians to Degrees
Convert radians to degrees.

presque 8 ans il y a

A résolu


if
if value n is larger than or equal to 100, return true, else false.

presque 8 ans il y a

A résolu


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

presque 8 ans il y a

A résolu


Return the length of the longest word in the string.
Example: Input s='A fractal is a natural phenomenon or a mathematical set that exhibits a repeating pattern that display...

environ 8 ans il y a

A résolu


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

environ 8 ans il y a

A résolu


Solve the following boundary value problem
Return the sum of sum(res.y) y"+|y|=0 y(0)=a y(4)=b Tip: use bvp4c

environ 8 ans il y a

A résolu


Return ! if array element starts with a certain letter. Otherwise return ?
Input x=['try' 'once' 'more']; s='t' Output ans='!' Input x=['try' 'once' 'more']; s='O' Output ...

environ 8 ans il y a

A résolu


Check if a string starts with another string
Input s='He was so tired' q='He' Output ans = true

environ 8 ans il y a

A résolu


Small aircraft weight limit
Write an if-else statement that evaluates to true if the sum of passengerWeight and cargoWeight is less than or equal maxWeight....

environ 8 ans il y a

A résolu


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

environ 8 ans il y a

Charger plus