Community Profile

David Hill

Carnegie Mellon University (CMU)

Last seen: 2 giorni fa Attivo dal 2017

Master's Student in Robotic Systems Development (MRSD), BS Electrical Engineering with minors in Computer Science and Mathematics.

Programming Languages:
Python, C++, C, Java, Javascript, R, MATLAB, CSS, Arduino
Spoken Languages:
English, Spanish
Professional Interests:
Robotics and Autonomous Systems, Embedded Systems

All

Content Feed

Visto da

Risolto

Easy Sequences 58: Curious Prime-Rational Functions
For some prime numbers and where , a rational function , is defined as follows: . Using the output , another rational functi...

2 giorni fa

Risolto

Easy Sequences 111: Repnums as Hypotenuse of Pythagorean Triangles
The number belongs to a class of numbers called Repunit Numbers, in which all digits are . For this problem, we'll define a s...

3 giorni fa

Risolto

Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

4 giorni fa

Risolto

Classify water surface profiles
Problem statement Write a function to classify the water surface profile starting at depth in a channel with longitudinal slop...

4 giorni fa

Risolto

Create an empty array
Suppose you need an empty array. e = [] will give you one, but it's a double array, which may not help if you need a differen...

4 giorni fa

Risolto

Find the circle inscribed in a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the cente...

5 giorni fa

Risolto

Suma de Gauss
¿Cuál es la suma de los primeros enteros positivos?

6 giorni fa

Risolto

List numbers that cannot be expressed as the sum of fewer than four squares
Lagrange proved that all positive integers can be expressed as the sum of four squares. For example, 27 = 16 + 9 + 1 + 1. Howeve...

6 giorni fa

Risolto

Continuous NaNs - I
Remove any continuous NaNs that appear in the array - %Example 1 input = [1 NaN 2 NaN NaN 3 NaN NaN NaN] output = [1 NaN 2 ...

9 giorni fa

Risolto

Compute the critical depth of a channel
Problem statement Write a function to compute the critical depth of a channel with discharge . The unit system will be specifie...

9 giorni fa

Risolto

Compute flow in a partially full pipe
Problem statement When does the maximum flow occur in a pipe? Intuition might suggest that it occurs when the pipe is flowing f...

9 giorni fa

Risolto

Find gradient of a numeric data which has same size as the existing vector.
**** Refer matlab documentation about finding gradient **** Convert the entire gradient vector to least integer form. (Probably...

9 giorni fa

Risolto

Decode a message encrypted with the square root of 2
Cody Problem 58299 asks you to encrypt a message by changing all letters to uppercase and randomly choosing a position of the AS...

9 giorni fa

Risolto

Encrypt a message with the square root of 2
Suppose you want to encrypt the word ‘TWIN’. The ASCII codes for the four letters are 84, 87, 73, and 78. If you consider the fr...

9 giorni fa

Risolto

Easy Sequences 117: Fractional Part of Cube Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the floor of . Thus, , and . ...

9 giorni fa

Risolto

Easy Sequences 115: Integral involving square root, floor, and round functions
Given a postive real number , we are asked to evaluate the following integral: ...

9 giorni fa

Risolto

Compute the normal depth of a channel
For steady uniform flow in a channel of constant cross section and slope, the depth does not change with distance or time. In th...

10 giorni fa

Risolto

Calculate the Voltage Through a Step-Up Transformer
Given a step-up transformer has a primary coil with A number loops, a secondary coil with B number loops, and a primary voltage ...

10 giorni fa

Risolto

Easy Sequences 65: Fractional Part of Square Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the 'floor' of . Thus, , and ...

10 giorni fa

Risolto

Easy Sequences 116: Summation involving nthroot, floor, and ceiling functions
Given a postive integers and , we are asked to evaluate the following summation: ...

11 giorni fa

Risolto

Given the mass and stiffness of an undamped SDOF system, find the natural frequency and the natural period of vibration
Problem Statement Given the mass and stiffness of an undamped SDOF system, find the system's natural frequency in both Hz and...

12 giorni fa

Risolto

Find circular arc length, sector area and segment area
Given a circular arc passing through the points P = [ x1 y1 ] and Q = [ x2 y2 ] such that the center angle of the arc (in degree...

12 giorni fa

Risolto

Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

12 giorni fa

Risolto

Zero finder
Write a function named 'zero_finder' that takes a matrix as input and returns the row index of the last zero for each for each c...

12 giorni fa

Risolto

Factor a number into Fermi-Dirac primes
Cody Problem 58018 asked you to list the Fermi-Dirac primes, which are prime powers with exponents that are powers of 2. As note...

12 giorni fa

Risolto

List the Fermi-Dirac primes
The Fermi-Dirac “primes” are prime powers with exponents that are powers of 2. The first nine terms of the sequence are 2, 3, 4,...

12 giorni fa

Risolto

Create Function
Use the equation below to earn some points! function y = fcn_of_your_choice(x) y = x^2; end

13 giorni fa

Risolto

Function(3)
Use this function to earn some points on your cody journey! function y = your_fcn_name(x) y = x^2 - 12; end

13 giorni fa

Risolto

Utilize this function
Press submit for some points function y = your_fcn_name(x) y = x^2 - 2; end

13 giorni fa

Risolto

Easy Function
Use this function to earn some points (hit submit): function y = your_fcn_name(x) y = x^2 + 10; end

13 giorni fa