Welcome! Log In Create A New Profile

Advanced

Assignment 2

Posted by tstevens 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Assignment 2
April 19, 2006 07:50AM
Have anyone started with the second assignment? My plan is to start today!!
Re: Assignment 2
April 19, 2006 11:10PM
I have almost finished it.

Devesh
Anonymous User
Re: Assignment 2
April 20, 2006 02:24PM
I too have no clue how to start. Let me know whats going on on no.1 maybe I will be enlightened on the next questions.
Re: Assignment 2
April 20, 2006 02:37PM
Devenish please help I also want help
Re: Assignment 2
April 23, 2006 03:48PM
What would u like to know about number 1?
Re: Assignment 2
April 23, 2006 05:48PM
Number 1 is straight forward just study the trace table there a good example on the guide my worry is no2. I failed to do Q4 in the ist assigment thus where i've problem
Re: Assignment 2
April 24, 2006 11:22PM
I was off from work so I did not check the forums. Will have a look and post tomorrow.

Devesh
Re: Assignment 2
April 27, 2006 02:40PM
I am starting today. I think this is going to be a tough one.
Re: Assignment 2
April 27, 2006 11:27PM
Icebabe,,,,, How did you get from lesson 19 to lesson 23 so quickly. I still have lesson 22 and 23 to do before I begin the assignment.

Fuck it,....... Im going to ask for an extension on this one smiling smiley !!!!!
Re: Assignment 2
April 28, 2006 05:11PM
Computergeek,
I mailed one of the lecturers and she explained in detail lesson 19's problem to me. From there on it was not that difficult. But I still have to do the assignment....
Re: Assignment 2 - Question3
April 29, 2006 01:25PM
Hi everyone,
can anyone help with question three. I have written the code up to 99% I think. My question here:
For the function maximum, they expect 2 floating point values. I presume temp1 and temp2. But in the question they say the program should initialize the maximum.... is it the maximum of the temperatures or the maximum of the largest difference between the temperatures?
They also say that the program should then call the function difference to calculate the absolute difference and then (AGAIN) the function maximum to determine the maximum at that point. The function difference call for two parameters, but return one value. How can I have the function maximum (which also expect two values) use the one value from difference and display the overall difference??
Please help anyone...
Re: Assignment 2
April 29, 2006 03:37PM
Hi.

Initialize the maxdiff to zero so whatever diff it is compared to will be assigned to it. If it is not assigned you don't know what value it have and it could be larger than diff.

The func maximum will take 2 values, maxdiff and the diff calculated in each loop. Compare the 2 and assign diff to maxdiff if diff>maxdiff.

Hope this helps.

Devesh.
Re: Assignment 2
April 30, 2006 09:14AM
Thanks Devesh,
I will have another look at it.
Re: Assignment 2
April 30, 2006 03:39PM
Devesh,

Thanks! I managed to get question 3 working.
Re: Assignment 2
April 30, 2006 06:19PM
Great.
Re: Assignment 2
April 30, 2006 07:59PM
Devesh,
I am having a problem with question 5. How can I get my code to you so that you can have a look at it?

Thanks
Icebabe
Re: Assignment 2
April 30, 2006 09:04PM
E-mail it to me at devesh at mahabeer.com. I wrote the address down that way to prevent spammers from harvesting it.

Devesh
Re: Assignment 2
April 30, 2006 09:50PM
Devesh,

I have mailed it to you. Lookout for a mail from;
babyblade at gmail.com

Thanks
Re: Assignment 2
April 30, 2006 10:07PM
Devesh,


I also mailed the code from my work address: rosab at netcare.co.za It looks as if your mail server blocks emails from gmail. If possible could you reply to both addresses.
rosab at netcare.co.za and
babyblade at gmail.com


Thanks
Re: Assignment 2
May 01, 2006 05:38PM
Devesh,

check your mail. smiling smiley
Sorry, only registered users may post in this forum.

Click here to login