Roasty
Roasty
JCHJava Community | Help. Code. Learn.
Created by Roasty on 11/18/2024 in #java-help
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?
0=x^2+-2*x*a+a^2+((R^2-r^2-c^2-d^2+a^2+b^2+-x*(-2*c+2*a))/(-2*d+2*b))^2+-2*b*((R^2-r^2-c^2-d^2+a^2+b^2+-x*(-2*c+2*a))/(-2*d+2*b))+b^2
0=x^2+-2*x*a+a^2+((R^2-r^2-c^2-d^2+a^2+b^2+-x*(-2*c+2*a))/(-2*d+2*b))^2+-2*b*((R^2-r^2-c^2-d^2+a^2+b^2+-x*(-2*c+2*a))/(-2*d+2*b))+b^2
8 replies
JCHJava Community | Help. Code. Learn.
Created by Roasty on 11/19/2023 in #java-help
How to sort a list out of objects by an int property of the objects
Hey! 👋 I am currently writing a path finding program and I need help at sorting a list out of objects by an int property of the objects. Is there anybody who had this problem before and can help? Thanks in advance
28 replies