Solved

Java convert a formula

Posted on 2008-10-15
2
224 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
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
changePi Challenge 15 76
network + 7 73
where is session ID cache stored 1 39
JDeveloper 12c for 32 bit 4 35
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now