Page 1 of 1
Homework 5, due October 14, 2010.
Posted: Fri Oct 08, 2010 1:43 pm
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.
Re: Homework 5, due October 14, 2010.
Posted: Sun Oct 10, 2010 1:14 pm
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.
Re: Homework 5, due October 14, 2010.
Posted: Sun Oct 10, 2010 2:52 pm
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).
Re: Homework 5, due October 14, 2010.
Posted: Mon Oct 11, 2010 8:37 pm
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?
Re: Homework 5, due October 14, 2010.
Posted: Mon Oct 11, 2010 8:41 pm
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.
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 12:17 am
by ryip
Professor:
Do we just upload the code or is there any write-up for the homework?
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 2:13 am
by wandor
Do we need two separate programs or should we incorporate the second part into the first part?
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 6:28 am
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.
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 6:28 am
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.
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 5:02 pm
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.
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 5:14 pm
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.
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 8:21 pm
by joneill5
How do we reopen a program we've already started?
Re: Homework 5, due October 14, 2010.
Posted: Wed Oct 13, 2010 8:35 pm
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.