mmatestsoln - Mathematica test Steven Tschantz Questions...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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....
View Full Document

This document was uploaded on 10/28/2011 for the course MATH 256 at Vanderbilt.

Page1 / 5

mmatestsoln - Mathematica test Steven Tschantz Questions...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online