• 100% Satisfaction Guarantee

R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience:  B.Tech
20870358
R.R. Jha is online now

# 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: 3 years ago.
Category: Homework
Expert:  LogicPro replied 3 years ago.
Hi,
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.

Customer: replied 3 years 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 3 years ago.
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.

Expert:  LogicPro replied 3 years ago.
OK. I will review and reply ASAP
Expert:  LogicPro replied 3 years 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 3 years ago.

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
Customer: replied 3 years 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 3 years 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 3 years ago.

absolutely. thanks again, so very much!

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.
...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

• ### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

### Manal Elkhoshkhany

#### Satisfied Customers:

4538
More than 5000 online tutoring sessions.

### Linda_us

#### Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

### Chris M.

#### Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

### F. Naz

#### Satisfied Customers:

2126
Experience with chartered accountancy

### Bizhelp

#### Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience