A résolu


Find the quantization index of an analog value using a 6-bit quantizer.
Given a sinusoidal waveform x(t)=4.5*sin(2*pi*100*t) is sampled at 8000 sample per second. Assume that signal range is between -...

environ 2 mois il y a

A résolu


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

environ 2 mois il y a

A résolu


Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

environ 2 mois il y a

A résolu


Speed of light:Experiment
in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

environ 2 mois il y a

A résolu


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

environ 2 mois il y a

A résolu


Logic 7

environ 2 mois il y a

A résolu


Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...

environ 2 mois il y a

Problème


Compute a sequence with the whyphi sieve
A few problems on Cody involve sieving. For example, Cody Problem 45367 involves the famous Sieve of Eratosthenes. CP 50811uses ...

environ 2 mois il y a | 0 | 3 solveurs

A résolu


USC Fall 2012 ACM : Code Word Minimum Flipped Bits
This Challenge is to solve Question A of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012 Contest>. Given ...

environ 2 mois il y a

A résolu


Easy Sequences 40: Quadratic Congruence
Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

environ 2 mois il y a

A résolu


Alternate Arrangement
Determine the ways of arranging 'm' men and 'w' women alternatively in a row of 's' seats. Assumptions : s<m and s<w

environ 2 mois il y a

A résolu


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

environ 2 mois il y a

A résolu


Opposite point of the earth, what is the antipodal of a point ?
Given two strings(lat and long) that represent the geographic coordinates of a point in the earth, you have to find out what is ...

environ 2 mois il y a

Problème


Alert a city about a spill
Problem statement Cody Problem 54750 involved determining the length of a stream affected by a spill. Any municipalities within...

environ 2 mois il y a | 2 | 4 solveurs

Problème


Find primes and integers that solve an equation
Write a function to find all primes and non-negative integers that solve the equation where is an integer. If there are no...

environ 2 mois il y a | 1 | 6 solveurs

A résolu


Find the triplet
Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...

environ 2 mois il y a

A résolu


Cos x
Retorne o cosseno de x, onde x está em radianos

2 mois il y a

A résolu


Número de elementos do array
Retorne o número de elementos de um array

2 mois il y a

A résolu


Valor absoluto de x
Dado uma entrada x, retornar o seu valor absoluto

2 mois il y a

A résolu


Seno de x
Calcule o seno de x, onde x está em radianos

2 mois il y a

A résolu


Eleve ao cubo!
dado uma entrada x, encontre o seu cubo

2 mois il y a

A résolu


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

2 mois il y a

A résolu


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

2 mois il y a

Problème


List the smallest numbers with n distinct prime factors
The author of a book I am reading asked a mathematician what it feels like to be sixty. He wrote He replied, “Sixty, sandwiched...

2 mois il y a | 1 | 4 solveurs

Problème


Classify numbers as abundant, deficient, or perfect
A number is perfect if the sum of its proper divisors (i.e., divisors excluding the number itself) is equal to itself. For examp...

2 mois il y a | 0 | 5 solveurs

A résolu


Family Savings Analysis
Given the bank accounts of individuals defined by a list of tuples containing the last name, first name, and savings: accounts ...

2 mois il y a

Problème


Determine whether a property description closes
The arrival of summer makes think back to the summers I spent working for my father’s engineering firm. For the first several s...

2 mois il y a | 1 | 4 solveurs

Problème


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

2 mois il y a | 0 | 6 solveurs

A résolu


Determine the potential energy in a springrope which hangs over from a bridge
The task is to figure out the energy a person with mass has when hung on a rope over a bridge when given the length from the sus...

2 mois il y a

A résolu


Area of right triangle
Given a hypotenuse and a leg , calculate the area of right triangle.

2 mois il y a

Charger plus