CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2020
    Posts
    4

    Exponents in Java

    I am beginner, And before 1 month I dont even know the J of java, But during the lockdown, I have started learning java online actually I am to do exponents in java, I had faced a lot of issues to do that but finally after reading a lot of guides I have done this task. Can you guys suggest what should I have to learn to get a full grip on java.

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Exponents in Java

    Can you explain what you mean by exponents in java?
    Are you talking about math expressions?
    Norm

  3. #3
    Join Date
    Aug 2020
    Posts
    4

    Re: Exponents in Java

    Yeah sure i am talking about these exponents in java.

  4. #4
    Join Date
    Aug 2020
    Posts
    4

    Re: Exponents in Java

    Quote Originally Posted by markophillips View Post
    Yeah sure i am talking about these exponents in java.
    https://www.reviewsed.com/how-to-do-exponents-in-java/

  5. #5
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Exponents in Java

    I've programmed in java for years and have never had to work with exponents.
    What specific questions or problems do you have?
    Norm

  6. #6
    Join Date
    Aug 2020
    Posts
    4

    Re: Exponents in Java

    Can you guide me?

  7. #7
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Exponents in Java

    Can you ask a specific question about the problem you are trying to solve using java?

    Do you have any questions about what was on the web page you posted a link to in post#4?
    Norm

  8. #8
    Join Date
    Oct 2021
    Posts
    2

    Re: Exponents in Java

    There are two ways in which you can use exponents in Java. The first one is by using the Math.pow() method which multiplies a number raised to an exponent with another number raised to the same exponent. The second one is by using the Math.exp() method which raises a number raised to an exponent power with itself and then returns the result of that calculation as a double value.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured