Problem 48050. Find the Pattern 7
Find the pattern for the following sequence:
pat(1) = 1
pat(5) = 25
pat(7) = 49
pat(9) = 0.0111
pat(3) = 0.0833
Create a function which satisfies the pattern shown above.
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 30 Oct 2022
In this question, you did a good job providing the tip on how the data is shown, but you should also say that the precision is 4 decimal places.
Rafael S.T. Vieira
on 30 Oct 2022
When we know the answers, it seems that any tip shown is giving away the answer, but trust me, it is not (an exam filled with tips may still have Fs and no As). Pointing people in the right direction will only allow them not to lose time with dead ends.
Solution Comments
Show commentsProblem Recent Solvers158
Suggested Problems
-
Return a list sorted by number of occurrences
2776 Solvers
-
2924 Solvers
-
2182 Solvers
-
Back to basics 22 - Rotate a matrix
903 Solvers
-
Height of a right-angled triangle
1816 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!