Homework 4, due October 7, 2010

Due Thursday, October 7, 2010.
Post Reply
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Homework 4, due October 7, 2010

Post by goodwine »

Reading: chapter 4 from the course text.

Collaborative Problem:
Write a program that computes an approximation for the cosine function by computing a Taylor series about 0 that does the following:
  1. prompts the user to enter an angle between -90 and+90 degrees;
  2. checks that what the user entered is in the right range, and if not, tells the user that what they entered was invalid and then prompts them again to enter an angle again;
  3. computes the series up to the first nonzero term that has a magnitude that is less than 10E-6 times the magnitude of the sum of all the preceding terms;
  4. compares the computed value to the value returned by the COS() function (which presumably is pretty accurate).
Notes:
  1. hopefully it's clear to everyone that the angle must be converted to radians;
  2. use the proper logical operator in the IF statement when checking that the user entered a proper value; and,
  3. the ABS() function will probably be useful.
Individual Problem:
Write a computer program that prompts the user to enter:
  1. the percentage grade the user has in the class;
  2. the average percentage grade for the class; and,
  3. the standard deviation for the class;
and using the "guaranteed grade" system on the course syllabus, print the minimum letter grade the student will receive.

The program should be "user friendly" in that it properly prompts the user to enter the data (e.g., do you enter ".85" for 85%, or do you enter "85") and checks that what the user is entering makes sense. If it does not make sense, then the user should be instructed what is the right form for the data and prompted to enter the data again.
Bill Goodwine, 376 Fitzpatrick
ashen

Re: Homework 4, due October 7, 2010

Post by ashen »

What would be the guaranteed minimum letter grade if the overall grade is exactly equal to the mean minus two standard deviations? (eg. grade=50%, mean=70%, standard deviation=10%)
sgreen7

Re: Homework 4, due October 7, 2010

Post by sgreen7 »

Homework Set 4
You do not have the required permissions to view the files attached to this post.
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 4, due October 7, 2010

Post by goodwine »

ashen wrote:What would be the guaranteed minimum letter grade if the overall grade is exactly equal to the mean minus two standard deviations? (eg. grade=50%, mean=70%, standard deviation=10%)
Sorry, one of those should not be a strict inequality. Pick either way.
Bill Goodwine, 376 Fitzpatrick
Post Reply

Return to “AME 20214, Homework 4”