# Using Mathematica, how do you type 1 and 2 in mathematica. exlist[ (2]1 exlist[(7]1 exlistit Length(exList] 1 Note that the

###### Question:

Using Mathematica, how do you type 1 and 2 in mathematica. exlist[ (2]1 exlist[(7]1 exlistit Length(exList] 1 Note that the last command gives us the last element of the list. We can also use extist[l-1]] for this. Negative numbers count backwards from the end of the list: exlist-1] exlisti-2]1 exListlI-3]1 1. Write a command accessing individual list elements to find the sum of the second and fifth element of our list exList. Summing Over a List Another important tool for working with lists is the Sum ] function. If you just want to add up all the elements of a list, you can use Totall ], but for anything more complicated (like Simpson's Rule) we'll need more sophistication. The basic syntax for a sum is Sum[ fUl, li, a, b)] which gives us ie a Thus to add all the elements of our list, we could use: SuntexList [], {1, 1, Length [exlist])) Sum[] is very powerful, and has many more options for more complicated formulas. For example, you can increment i by more than just 1 each time like this: Sum[ fli] , (i,a,bAi] ], where Δί is how much you want to change i each time. So to add only the even-numbered elements in our list, we would use: Sum[exListt[i], (i, 2, Length [exList], 2) 2. Write a Sum[] command to add only the odd-numbered elements of our example list.

#### Similar Solved Questions

##### 10. Combinations In doing problems a - d below, use the combinations formula and calculator to...
10. Combinations In doing problems a - d below, use the combinations formula and calculator to evaluate each combination. SHOW SOME WORK for each problem Remember that each answer should be a WHOLE number. a. CS A bicycle shop owner has 12 mountain bicycles in the showroom. The owner wishes to selec...
##### Cardio World Inc. (CWI) is a sporting goods retailer that specializes in bicycles, running shoes, and...
Cardio World Inc. (CWI) is a sporting goods retailer that specializes in bicycles, running shoes, and related clothing. The firm has become successful by careful attention to trends in cycling, running, and changes in the technology and fashion of sport clothing. In recent years, however, the profit...
#####  A linear combination of vectors is given. Determine the resultant vector using the tip- to-tail...
 A linear combination of vectors is given. Determine the resultant vector using the tip- to-tail method for adding vectors geometrically. (9,-6) + (-12, -1) – (3, -15) + 5(2, -1)...
##### Assign the appropriate ICD-10-CM code(s): Closed dislocation of clavicle (initial encounter)
Assign the appropriate ICD-10-CM code(s): Closed dislocation of clavicle (initial encounter)...
##### Between a 5 year-old child, a 15 year-old teenager, a 35 year-old man and a 75...
Between a 5 year-old child, a 15 year-old teenager, a 35 year-old man and a 75 year-old grandpa, who will experience the most, the toxic effects of a specific dose of a given substance and why? If your answer is more than one, please elaborate....
##### A researcher wished to compare the average amount of time spent in extracurricular activities by high...
A researcher wished to compare the average amount of time spent in extracurricular activities by high school students in a suburban school district with that in a school district of a large city. The researcher obtained a simple random sample of 60 high school students in a large suburban school dis...