How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask R.R. Jha Your Own Question

R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5454
Experience:  B.Tech
20870358
Type Your Homework Question Here...
R.R. Jha is online now
A new question is answered every 9 seconds

Hey, LogicPro! I have a Computer Science question that builds

Resolved Question:

Hey, LogicPro! I have a Computer Science question that builds upon your work in this assignment: http://tinyurl.com/d3arozs

however, i cannot fit the long form of it in this small question box on your personal page, and when I tried to post it on the more general "ask your question" page, it kept giving me another tutor besides you.

where can i post the long form of my question that you can see all of it?
Submitted: 1 year ago.
Category: Homework
Expert:  LogicPro replied 1 year ago.
Hi,
Welcome back
You can ask me anytime using "For LogicPro only" at the start of your questions at my profile page:

http://www.justanswer.com/homework/expert-logicpro/

It will ensure that question is for me.

If you have any file(s). Zip, upload the file to http://ge.tt and post download link here.
Customer: replied 1 year ago.

"For LogicPro Only"

Like the question here http://tinyurl.com/d3arozs , it would be best if your answer used only "first principles," without any built in classes or libraries invoked.

Also, the question below references a "Clock" object. This is the same ClockObject from the ClockSim.java assignment I linked above, if that helps your work at all.

Anyway, your timely help would be greatly, greatly appreciated.

Here is the assignment:

----------------------------------------------------------------------------------------

Make a Java program, PlaygroundSim, that solves the following problem:

-On a flat playground, there are a bunch of stationary flagpoles (of negligible diameter), and a bunch of playground balls (one foot in diameter); for reference, we'll assume the center of the playground is at the point ( x, y ) = ( 0, 0 ). At time ( hours, minutes, seconds) = ( 0, 0, 0.0 ) all the balls are kicked with different velocities. Via discrete simulation of the system, your program should output:

* An initial report showing the locations of all objects, including the velocities of the balls.

* After every time slice, a report showing the location of every ball.

* Either a final report indicating the first ball-ball or ball-flagpole collision, giving the simulated time and the objects involved, or NO COLLISION IS POSSIBLE, giving the simulated time at which the program made that discovery.

-Data about each flagpole will be given to your program via three consecutive args, namely the letter F, followed by x- and y-coordinates, measured in feet.

-Data about each ball will be given to your program via five consecutive args, namely the letter B, followed by x- and y-coordinates for the ball's starting position, measured in feet, followed by the speeds in the x- and y-directions, measured in feet per second.

-The final arg, if present, specifies the time slice in seconds; if missing, your program should default it to sixty seconds.

-As always, your program should verify the validity of the args.

-A typical invocation of your program might look like this:

java PlaygroundSim F 0 0 F -1.5 -2.5 B 300 300 -1 -2 B 5 10 3 6 F 14.3 -15 10.0

which indicates three flagpoles at (0,0), (-1.5,-2.5), and (14.3,-15); one ball starting at (300,300) which moves at the rate of one foot west and two feet south per second; a second ball starting at (5,10) which moves at the rate of three feet east and six feet north per second; with the simulation to be carried out using a ten second time slice.

Expert:  LogicPro replied 1 year ago.
What is the deadline?
Customer: replied 1 year ago.

At the earliest, it can be turned about 20 hours from now. The latest possible deadline is end of the day Thursday.


 


However, if this is too restrictive a deadline, it's possible I can turn this in early on Friday.

Expert:  LogicPro replied 1 year ago.
OK. I will review and reply ASAP
Expert:  LogicPro replied 1 year ago.
My apologies. I tried but lost. I am out of ideas and opting out for other Professionals to answer. Please wait. You will be notified by email as soon as any Professional joins you. I will help you with your other questions though. Thank you for your patience.
Expert:  R.R. Jha replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5454
Experience: B.Tech
R.R. Jha and 4 other Homework Specialists are ready to help you
Customer: replied 1 year ago.

RRJha,


 


wow, this is perfect! it does exactly everything it is supposed to, and extremely elegantly too. i can learn a lot from the way you code, and can't wait to break down your work.


 


thank you so much. this is excellent work.

Expert:  R.R. Jha replied 1 year ago.
Most welcome!

Please don't forget to rate the answer. You may then also add a bonus if you appreciate the effort.

And let me know if you need help with any other projects.

Thanks
Customer: replied 1 year ago.

absolutely. thanks again, so very much!

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience