answersLogoWhite

0

Two reasons: They're often quicker to use and they make for a great filing system.

1) Speed - Suppose I had a set of objects {n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18} that I wanted you to add up, but I wanted you to show your work. Would you rather write this down:

n1 + n2 + n3 + n4 + n5 + n6 + n7 + n8 + n9 + n10 + n11 + n12 + n13 + n14 + n15 + n16 + n17 + n18,

or an equivalent expression, using indexes, like this:

∑(ni, i, 1, 18)?

2) Filing - Suppose I had a 6 X 6 matrix, or array, and I wanted to talk about one specific element in it. If I hadn't done the proper filing, I would be fumbling for words in an effort to describe where it is. "Go two down from the top and 3 over from the left." I'd rather just have them filed and labeled with indexes, like this n3,4.

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: What are the use of index numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp