hello guys I need help in this exercise
1 次查看(过去 30 天)
显示 更早的评论
Perform a program that shows the next serie 1! / 2! , 2! / 3! , 3! / 4! , 4! / 5! , .....
6 个评论
Image Analyst
2018-10-26
Well I don't even know what "serie" (not an English word) or "....." means. Why not simply do
function result = MyFunction()
result = factorial(5)/factorial(6);
I doubt that is what is intended but it does return the next term in the limited number of terms in the series you gave.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!