How to solve an indefinite integral in java?

How to solve problems in Java, are certain people not good at problems?

  • Im learning Java and when i have to do a exercise, i struggle with implementing what they are telling me to do, how to get better at solving problems and how to focus without trying to rush.. please help

  • Answer:

    Hi there, It seems your problem is designing an algorithim for your code: Its best to sit down first and do an analysis and algorithim of the program you want to code and ask yourself "what exactly do i need to do?" This is a step that most programmers skip, including myself, but sometimes i regret it when i find myself having completely gone wrong after an hour of coding. The best method is really to write out steps in english of what you want to do, and how you want your program to do it before ever looking at a computer screen. If that method doesnt work for you there is quite a bit of online help to help with how to design algorithims for our code, just search online for e-books that help with algorithims design. Hope that helps, Matt

Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

In addition to the above suggestions, when writing the code don't write all of it at once and then see if it works, write as little as possible to make it work and see if it runs. It's much easier to figure out why your program is not working after you've added a single line of code, than it is to figure out after adding 100.

Writing code follows a pattern, which is: collect your inputs, run them through a formula, and produce your outputs. Try thinking of the problem in those terms. First identify what you need, then determine what you will do with that information to produce the output.

Right-brained people are great at art, but terrible at logic. Left-brained people see problems as algorithms to solve them, but can't draw a straight line. If you're right-brained, it's like trying to learn to be taller - you can't learn to be left-brained. (That was determined when you were conceived, like your height.) Go with what you're good at - trying to get good at being what you're not doesn't work.

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.