Math in Java. What a struggle. Help. Please. Fast.
I am solving complicated mathproblems in an application that solves highly sophisticated geometrical tasks. Now i am struggeling, because I have to solve the following term to get the two x-values for zero. Is there some kind of util I can use to solve this?
4 Replies
⌛
This post has been reserved for your question.
Hey @Roasty! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
You can definitely use package
java.util.Math
it provides many math methods, for example if you want to do power of numbers, you can use Math.pow(a, b)
where b is the power💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
in representing decimal values use BigDecimal. primitive types cause precision and rounding problemsd