
David Hill
Carnegie Mellon University (CMU)
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
Python, C++, C, Java, Javascript, R, MATLAB, CSS, Arduino
Spoken Languages:
English, Spanish
Professional Interests:
Robotics and Autonomous Systems, Embedded Systems
통계
All
Content Feed
문제를 풀었습니다
Summing the last column column
Given a matrix, return the sum of the last column of the array.
대략 1시간 전
문제를 풀었습니다
Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...
대략 1시간 전
문제를 풀었습니다
Compute the head for steady 1D flow in a homogeneous aquifer
Problem statement Write a function that computes the head (i.e., piezometric head for a confined aquifer or water table elevat...
6일 전
문제를 풀었습니다
Given a base n, find the y values less or equal than 100(without 1), such that they will never produce a periodic number if we divide any whole number between some of them
A periodic number depends on the base b where we are working. So, for example the number 2/3 in decimal base is periodic(0.666...
6일 전
문제를 풀었습니다
A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...
6일 전
문제를 풀었습니다
Find out the smallest number 9 times greater
What is the smallest natural number where the result of moving the digit on the far right to the front of the number is a number...
7일 전
문제를 풀었습니다
Find the smallest number leading to a maximal product of two numbers that concatenate to another number
Cody Problem 58971 involves the maximal product of numbers that concatenate to a number . For example, if , then the products ar...
7일 전
문제를 풀었습니다
Compute the maximal product of any two numbers whose concatenation is n
Write a function that takes an input and computes the maximal product of numbers that concatenate to . For example, if , then t...
7일 전
문제를 풀었습니다
A Mathematical Problem
Find the kth digit of the inverse of a number 'n'. Assumption: n>1
2개월 전
문제를 풀었습니다
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
2개월 전
문제를 풀었습니다
Getting Maximum Chocolate
John loves Chocolate but he didn't have money. The owner of "Sweet Chocolate" launches a scheme for free chocolate. He divided a...
2개월 전
문제를 풀었습니다
Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...
2개월 전
문제를 풀었습니다
Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...
2개월 전
문제를 풀었습니다
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 ...
2개월 전
문제를 풀었습니다
Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.
2개월 전
문제를 풀었습니다
Fibonacci Sequence
Write a MATLAB function called fibonacci_sequence(n) that takes an integer n as input and returns the first n terms of the Fibon...
2개월 전
문제를 풀었습니다
Add Odd and Subtract Even Numbers in an Array
For an input array, add all the odd values and subtract the even values. The final value is the output. E.g. input = [1 2 3 4 ...
2개월 전
문제를 풀었습니다
Calculate the price
Milk is $15/pound, sugarr is $5/pound, and coffee is $5/cup. Please help the cashier calculate the price for each order.
2개월 전
문제를 풀었습니다
How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.
2개월 전
문제를 풀었습니다
Find collatz series next number
For given x, if x is even, output is (x/2) if x is odd, output is (3x+1)
2개월 전
문제를 풀었습니다
Convert row and column subscripts to linear indices
Convert 2D row and column subscripts to linear indices WITHOUT sub2ind Example: row = [1 2 3 1]; col = [2 2 2 3]; sz = [3 3]...
2개월 전
문제를 풀었습니다
Am I a city or a state
Input will be an array of cities and states. Also, lists of cities and states will be passed. Replace every city name with "cit...
2개월 전
문제를 풀었습니다
掃き出し法を実装して、連立一次方程式を解いてみよう
※本問は、2023/7/24開催の、筑波大学でのセミナーのために作成した問題です。 掃き出し法を使った連立一次方程式の解法を穴埋めで実装してみましょう。 左辺と右辺を、それぞれ以下の行列Aおよび列ベクトルBで表したものが与えられたとします。この時、...
2개월 전
문제를 풀었습니다
Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.
2개월 전
문제를 풀었습니다
Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0
2개월 전
문제를 풀었습니다
How many revolutions around the earth
Calculate how many revolutions you will around the earth till 1/1/2100. Given the birhdate find your age in number of days on 1...
2개월 전
문제를 풀었습니다
Solve the logic
logic(1) = -4 logic(2) = -8 logic(3) = -9 logic(4) = 4 logic(5) = 95 logic(6) = 690
2개월 전