mmatestsoln

# mmatestsoln - Mathematica test Steven Tschantz Questions...

This preview shows pages 1–2. Sign up to view the full content.

Mathematica test Steven Tschantz 2/15/11 Questions This is an open book, open computer test. Complete the following questions. You are to work individually in class for approximately one hour. Honor code provisions apply. Email your final version to [email protected] 1. Edit this file to put your name below the title above. Done 2. Define the symbol pilist to be a list of 4 numbers approximating the number Π : an integer, an exact rational number not an integer, a floating point decimal number, and the Mathematica symbol representing the exact value. Evaluate Sin[pilist] and explain the result you get. Evaluate pilist numerically to display decimal values for your numbers. In[1]:= pilist = 8 3,22 7,3.14,Pi < Out[1]= : 3, 22 7 ,3.14, Π > In[2]:= Sin @ pilist D Out[2]= : Sin @ 3 D ,Sin B 22 7 F ,0.00159265,0 > Mathematica evaluates formulas involving exact numbers exactly. While sin(3) and sin(22/7) cannot be expressed exactly in any simpler way, sin( Π ) is exactly 0. On the other hand, Mathematica will evaluate formulas involving approximate numbers so sin(3.14) evaluates to about 0.00159265.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern