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: 5471
Experience:  B.Tech
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

This answer was rated:

Hey, LogicPro! I have a Computer Science question that builds upon your work in this assignment:

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?
Welcome back
You can ask me anytime using "For LogicPro only" at the start of your questions at my profile page:

It will ensure that question is for me.

If you have any file(s). Zip, upload the file to and post download link here.
Customer: replied 3 years ago.

"For LogicPro Only"

Like the question here , 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 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.

What is the deadline?
Customer: replied 3 years 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.

OK. I will review and reply ASAP
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.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience: B.Tech
R.R. Jha and other Homework Specialists are ready to help you
Customer: replied 3 years ago.



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.

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.

Customer: replied 3 years 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... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...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
< Previous | 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:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work

Related Homework Questions