Philip Butcher
Followers: 0 Following: 0
Model-Based Software Development, DO-178C.
Feeds
已解决
Use a timetable to analyze a train timetable (Part 1)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...
2 years 前
已解决
Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...
2 years 前
已解决
Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...
2 years 前
已解决
Dartboard Average I
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...
2 years 前
已解决
Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...
2 years 前
已解决
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
2 years 前
已解决
Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...
2 years 前
已解决
Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.
2 years 前
已解决
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
2 years 前
已解决
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
2 years 前
已解决
Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?
2 years 前
已解决
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
2 years 前
已解决
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
2 years 前
已解决
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
2 years 前
已解决
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
2 years 前
已解决
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
2 years 前
已解决
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
2 years 前
已解决
Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.
2 years 前