About 12,700,000 results
Open links in new tab
  1. How do math equations work in Java? - Stack Overflow

    Aug 27, 2012 · Java does not look at the destination variable type to determine how to calculate the right hand side. In particular, the subexpression 3 * (4 - 1) / 2 results in 4. To fix this, you …

  2. math - Displaying fancy equations with Java - Stack Overflow

    I'm working on a Java applet that needs to display "fancy" equations. Is there any Java renderer for MathML or LaTeX that's open source? Ideally it would be a pure Java solution that doesn't …

  3. display math equation in java using jlabel - Stack Overflow

    Dec 1, 2014 · For example, if you want to display ax^2+10x=15 on the jbSolution button, you should do like this: int a=5, b=10, c=15; String j = "<html>"+a+"x<sup>2</sup>+"+b+" x = …

  4. How to Display Fancy Equations in Java? - CodingTechRoom

    To display complex mathematical equations in Java, you can utilize libraries designed for rendering LaTeX, such as JLaTeXMath. This approach allows you to convert LaTeX equations …

  5. How to Render Mathematical Equations Elegantly in Java Using …

    Displaying fancy equations in Java can be achieved through various libraries that support LaTeX rendering or using graphics tools. One of the most notable libraries is JLaTeXMath, which …

  6. Java Program to Solve Quadratic Equation - Tpoint Tech

    Mar 27, 2025 · In this section, first will discuss the quadratic equation after that we will create Java programs to solve the quadratic equation by using different approaches. In the equation ax 2 …

  7. Java Program to Find all Roots of a Quadratic Equation

    The formula to find the roots of a quadratic equation is: x = [-b ± sqrt(b^2 - 4ac)] / 2a. Return the roots of a quadratic equation with coefficients a, b, and c as an array. For example, if a = 1, b …

  8. Java Programming for Beginners: Quadratic Formula

    These instructions will teach you how to code and solve for the quadratic formula using Java coding language on a browser platform. You should be able to take these basic coding …

  9. java - How can I get the equation to print in the correct order ...

    Nov 18, 2011 · You can call System.out.println(toString()) in display(). In fact, display() should not return double since its job is to print the expression. –

  10. Quadratic Equation Program in Java

    Develop a Java program for the quadratic equation. It will find the roots of the given quadratic equation. Quadratic equation is ax² + bx + c = 0.

  11. Some results have been removed
Refresh