Solved

Java convert a formula

Posted on 2008-10-15
2
228 Views
Last Modified: 2012-05-05
How do your convert this to a Java formula?

r = 3.V  1/3                                a = (36.rr.V2)1/3
       4 rr      

It states rr is Maht.PI and using Math.pow(x,y) method.

Any help would greatly be appreciated.
0
Comment
Question by:ca1358
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
javaexperto earned 500 total points
ID: 22723052
V and V2 are int variables? in the first  double r = ((3*V) * (1/3)) / (Math.PI * 4) I guess is a multiplication and then a divison right?
the second: double a = Math.pow((36 * Math.PI) * V2, 1/3);
in the second i suppose u want to raise to the power 1/3 the multiplication of 36rr and V2
0
 

Author Closing Comment

by:ca1358
ID: 31506307
Thank you!
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question