Cody

Problem 1247. When can one be the Life Member of the IEEE?

Solution 1616724

Submitted on 25 Aug 2018 by HH
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
y = ieee_lm(1940,1965); y_correct = 2005; assert(isequal(y,y_correct))

ans = 2005

2   Pass
y=ieee_lm(1990,2035); y_correct=2063; assert(isequal(y,y_correct))

ans = 2063

3   Pass
y=ieee_lm(1980,2018); y_correct=2049; assert(isequal(y,y_correct))

ans = 2049

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!