Homework 5, due October 14, 2010.

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

Homework 5, due October 14, 2010.

Post by goodwine »

Individual Problem: Complete the midterm exam from the last time I taught this course. Unlike what the old exam says, both questions are required and are worth the same amount of credit.
Bill Goodwine, 376 Fitzpatrick
alaneve

Re: Homework 5, due October 14, 2010.

Post by alaneve »

Hey Professor,
I've become a fan of the gedit editor and was wondering if there was any way to use it while connected remotely? I know it always opens a new window when you start gedit, but I can't figure out how to tell it not to open a the window. Any help would be great. Thanks.
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

alaneve wrote:Hey Professor,
I've become a fan of the gedit editor and was wondering if there was any way to use it while connected remotely? I know it always opens a new window when you start gedit, but I can't figure out how to tell it not to open a the window. Any help would be great. Thanks.
I don't know, but if you type 'man gedit' that will give the manual page for it, which may give an answer. A much more cumbersome approach, but if you get it working it's great, is to install an X-windows emulator on your computer. Assuming it's Windows, the program is called XWin32 (I think).
Bill Goodwine, 376 Fitzpatrick
phandy

Re: Homework 5, due October 14, 2010.

Post by phandy »

hi professor,
in the problem where it says f (x) = x**3 *cos(x) βˆ’ 1
is the cos(x) supposed to be calculated in degrees or radians?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

phandy wrote:hi professor,
in the problem where it says f (x) = x**3 *cos(x) βˆ’ 1
is the cos(x) supposed to be calculated in degrees or radians?
Either is fine. Radians is easier, I guess.
Bill Goodwine, 376 Fitzpatrick
ryip

Re: Homework 5, due October 14, 2010.

Post by ryip »

Professor:

Do we just upload the code or is there any write-up for the homework?
wandor

Re: Homework 5, due October 14, 2010.

Post by wandor »

Do we need two separate programs or should we incorporate the second part into the first part?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

ryip wrote:Professor:

Do we just upload the code or is there any write-up for the homework?
Print the program and also fill in the box.
Bill Goodwine, 376 Fitzpatrick
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

wandor wrote:Do we need two separate programs or should we incorporate the second part into the first part?
One is fine as long as the grader can easily tell what was added to make the second program.
Bill Goodwine, 376 Fitzpatrick
dstrombe

Re: Homework 5, due October 14, 2010.

Post by dstrombe »

Hi Professor,
Is there a way to use a variable in a format statement, so the number of digits precision can be altered? I tried to incorporate this a few different ways but kept getting errors when trying to compile.
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

dstrombe wrote:Hi Professor,
Is there a way to use a variable in a format statement, so the number of digits precision can be altered? I tried to incorporate this a few different ways but kept getting errors when trying to compile.
Unfortunately there isn't. You need to make several (don't go crazy, just do 3 to 5) different formats and pick the right one based on what the user enters.
Bill Goodwine, 376 Fitzpatrick
joneill5

Re: Homework 5, due October 14, 2010.

Post by joneill5 »

How do we reopen a program we've already started?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Homework 5, due October 14, 2010.

Post by goodwine »

joneill5 wrote:How do we reopen a program we've already started?
You go to the "Useful Link" section under "Course Administration" on the course web page and check out the emacs command reference link.
Bill Goodwine, 376 Fitzpatrick
Post Reply

Return to β€œAME 20214, Homework 5”