Problem 2871. Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it.
(The original psi is passed as a number to the function, your job is to deflate the number by returning a number 2 less than the input.)
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
James
on 23 Jan 2015
You *do* realize that MathWorks is based in Massachusetts, right? :-)
Alfonso Nieto-Castanon
on 23 Jan 2015
somebody's Matlab license is about to mysteriously disappear...
edfleth
on 23 Jan 2015
Oops!
J.R.! Menzinger
on 27 Jan 2015
HAHAHAHAHHA
XDDDDDD
James
on 28 Jan 2015
Behold...the power of MATLAB: http://blogs.mathworks.com/seth/2015/01/27/simuflate/
Solution Comments
Show commentsProblem Recent Solvers180
Suggested Problems
-
Back to basics 12 - Input Arguments
597 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
609 Solvers
-
Saving MATLAB session to a file
183 Solvers
-
172 Solvers
-
554 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!