How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
Modify PHP PaidEmail Script + Add VB Components
By rohit123 on Jul 16
Max Bid: $50


ASP Timer Help
By rohit123 on Jul 16
Max Bid: $5


Sage Line 50
By Roger Anderson on Jul 15
Max Bid: Open to fair suggestions


Macro for MS Outlook
By Kanthg on Jul 15
Max Bid: $75


ASP Report Writer
By Limbo Man on Jul 15
Max Bid: Open to fair suggestions


Simple Semantic Analysis
By BPEJMAN on Jul 15
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(140 open)
   Access 
(46 open)
   MySQL 
(87 open)
   Oracle 
(10 open)
   SQL Server 
(50 open)
   Other DB 
(18 open)
Documentation / Tech Writing 
(18 open)
   Language (Human) Translations 
(1 open)
Data Entry 
(26 open)
Game Development 
(24 open)
Graphics / Art / Music 
(49 open)
   Graphics 
(46 open)
     Adobe AfterEffects 
(5 open)
     Adobe Photoshop 
(20 open)
     Adobe Premiere 
(6 open)
     3d Animation 
(16 open)
   Art (Misc.) 
(17 open)
   Music 
(11 open)
   3d Modeling 
(11 open)
Language Specific 
(99 open)
   ASP 
(54 open)
   ASP .NET 
(39 open)
   C# 
(35 open)
   C++ / C 
(106 open)
   Carbon (Mac OS) 
(2 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(9 open)
   Delphi 
(37 open)
   Java 
(57 open)
   JSP 
(11 open)
   Perl 
(42 open)
   PHP 
(89 open)
   XML/XSL 
(32 open)
   Visual Basic 
(140 open)
   Visual Basic .Net 
(59 open)
   Other 
(55 open)
Misc 
(27 open)
   CAD 
(4 open)
MultiMedia 
(36 open)
   Video Editing 
(5 open)
Network 
(32 open)
   Network Design 
(4 open)
   Network Implementation 
(6 open)
Platforms 
(75 open)
   Windows 
(150 open)
     MS Exchange 
(5 open)
     MS Office 
(14 open)
     Other 
(7 open)
   Darwin 
(2 open)
   Internet Browser 
(43 open)
   Linux 
(58 open)
   UNIX 
(25 open)
   Hand Held/PDA Programming 
(10 open)
Requirements 
(14 open)
Security 
(35 open)
Testing / Quality Assurance 
(18 open)
Web 
(150 open)
   Page Design 
(77 open)
   Flash 
(46 open)
   Web Services 
(66 open)
   Web (Other) 
(63 open)
Training 
(11 open)
   Computer Based 
(7 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

project
Bid Request Id: 6142
Bookmark in my 'To Do' list
Posted by: Ycruz12 (2 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Good
Approved on: Dec 6, 2001
8:03:38 PM EDT
Bidding Closes: Dec 10, 2001
8:04:27 PM EDT
Viewed (by coders): 622 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C, UNIX
Enter chat room for this bid request
(0 active users at Jul 16, 2003 2:32:02 AM EDT)

Description:
You may choose to implement your programs eighter in UNIX or Windows (NT/2000) environment.

(30 points) Implement a C or C++ program that takes two command line arguments, double values A and B, computes and outputs
How many iterations of A = sin(A + sin(B)) are required before the value of A converges to within 10-15.
How many iterations of A = cos(A + cos(B)) are required before the value of A converges to within 10-15.
a line stating which of the two equations took fewer iterations to converge.
you are required to invoke two child processes to solve this problem:

one child to calculate (but not print) the number of iterations that the sin formula takes. And then sends that result to the other child process,
the other child to calculate and print the number of iterations that the cos formula takes, and receive the result from the first child process, print it, and compare the two values.
(So the parent process ends up doing very little, other than settings things up, spawning the child processes, and waiting for them to die.)

Use fork to spawn the child processes. You are free to choose the means of communication to pass that value from the first child to the second child.



(30 points) Write a program than does the same as part 1, except that you are required use threads rather than fork'ed processes.
In addition to the main thread, create two additional threads:

one to calculate (but not print) the number of iterations that the sin formula takes. And then make that result available to the other thread,
the other to calculate and print the number of iterations that the cos formula takes, and receive the result from the first thread, print it, and compare the two values.
(So the main thread ends up doing very little, other than settings things up, spawning the two threads, and waiting for them to die.)

Use shared variables as the means of communication between the threads. (Hint: You don't need pipe.) Also, since the two threads are started at the same time, and the second needs to know when the data from the first is available, some form of synchronization is required. You may do this using semaphores. (For example: have the main thread lock the semaphore before it calls the two threads, have the first thread unlock it when the data is ready, and have the second thread lock it as it starts.)



(30 points) Implement a solutions for the bounded-buffer producer/consumer problem.
Your implementation sh

Deliverables:
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.


Special Conditions / Other:
12-9-01


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
Alex K
(60 ratings)
in N-Novgorod, N-Novgorod
Russian Federation
Bid id: 66,062
 
$35 (USD) Dec 7, 2001
5:23:56 AM EDT
 9.83
(Excellent)
   
This is very easy task. I've already done the same problem. I'll do it in a day.
 
 
 
 
  See 3 private reply(ies)
to/from Alex K.
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.97 on 102 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.83 on 81 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.