Cookie 2
How many digits of pi?
Goal:
Solve this problem and get a small prize.
Rules:
No outside help (book, friend, Internet, etc). This is just you and your brain.
Problem:
Using
only what you know from Lessons 3 and 4, create a MATLAB program to ask the user
for the number of digits of pi to display and then print that out to the screen
in the manner shown below:
How many digits of pi do you want to see? 9
You wanted to see 9 digits of pi: 3.141592654
Turn-in:
Upload to the course web site before Lesson 5 into the cookie jar (a.k.a. the "DropBox") or email it to me if the link is broken.