Help with Java code, need a formula for finding the circumference

Help With Java Code, Need A Formula For Finding The Circumference

Answers

Answer 1

import java.util.Scanner;

public class CodesCracker

{

  public static void main(String[] args)

  {

     float r, circum;

     Scanner s = new Scanner(System.in);

     

     System.out.print("Enter the Radius of Circle: ");

     r = s.nextFloat();

     

     circum = (float)(2*3.14*r);

     System.out.println("\nCircumference = " +circum);

  }

}


Related Questions

technician a says that the parking brake hand lever can turn on the red brake warning lamp. technician b says that a foot-operated parking brake can turn on the red brake warning lamp. which technician is correct?

Answers

Answer:

technician A

Explanation:

Warning light doesnt come on when you press the brakes, only when you pull the e-brake


What type of energy transfers could occur in Biosphere 2?

Answers

Answer: ATP energy

Explanation: this energy is given off by living things such as plants and animals which were in biosphere 2. if you have any questions or need me to elaborate leave a comment on this post. Thanks so much i hope this helped!

3. Federal law regulates the types of questions employers can ask you during an interview.
A) True
B) False

Answers

Answer: False

Explanation:

Measure and record your height in feet and inches and then convert your height to meters and then to centimeters. Feet-inches: ________________ Meters: _________________ Centimeters: ________________

Answers

Answer:

See explanation.

Explanation:

Since I don't want to share identifiable information on the internet, instead of using my real height I will use 5 ft 10 inches.

Step 1: convert ft to inches

[tex]5ft*\frac{12 in}{1ft} =60 in[/tex]

Total height: 60+10 in = 70 in

Step 2: convert in to cm

[tex]70 in\frac{2.54cm}{1 in} =177.8cm[/tex]

Height: 177.8cm

Step 3: convert cm to m

[tex]177.8 cm*\frac{1m}{100 cm} =1.778 m[/tex]

Summary: 5ft 10 in = 70 in = 177.8 cm = 1.778 m

if there are 250 grains per square inch on a photomicrograph of a ceramic material at 200x, what is the astm grain-size number of the material? (15 points)

Answers

The astm grain-size number of the given material is; 10.97

What is the Grain Size number of the material?

Grain size is defined as the dimensions of grains or crystals in a polycrystalline metal that is exclusive of twinned regions and subregions that are present.

The equation for the grain size number is expressed as;

N(M/100)² = 2⁽ⁿ ⁻ ¹⁾

where;

N = number of grains per square inch at magnification M.

M = Magnification

n = ASTM grain size number

We are given;

N = 250  grains per square inch

M = 200

Thus;

250(200/100)² = 2⁽ⁿ ⁻ ¹⁾

250 * 2² = 2⁽ⁿ ⁻ ¹⁾

1000 = 2⁽ⁿ ⁻ ¹⁾

log 1000 = nlog 2 - log 2

n = [(log 1000) + (log 2)]/log 2

n = (3 + 0.301)/0.301

n = 10.97

Read more about Grain Size Number at; https://brainly.com/question/8751133

#SPJ1

QUESTION 1
Why would you consider hibernating an EC2 instance over stopping and
starting it?

Answers

Answer:

Why does stopping and starting an instance (usually) fix a System Status Check error? Stopping and starting an instance causes the instance to be provisioned on different AWS hardware.

Explanation:

Image result for Why would you consider hibernating an EC2 instance over stopping and starting it?

When you stop and start your instance, you lose any data on the instance store volumes on the previous host computer. Your instance retains its private IPv4 address, which means that an Elastic IP address associated with the private IPv4 address or network interface is still associated with your instance.

technician a says at idle, the pcv valve is fully open and flowing vapors into the intake manifold. technician b says the pcv valve is closed under low vacuum conditions. who is correct?

Answers

Option a is correct.

The pcv valve controls the amount of the vacuum on the crankcase by different phenomenon. When the vacuum is high, the valve will automatically close.

You can learn more through the link below:

https://brainly.com/question/11133385#SPJ4

What is this formula used to calculate?
A. Radius
B. Compression ratio
C. Mass ratio
D. Volume

Answers

A. Radius = Diameter/ 2.
B. displacement volume + clearance volume/ clearance volume.
C. dividing the larger value by the smaller value.
D. Rectangular Solid or Cuboid
V = l × w × h l = Length w = Width h = Height
Cube
V = a3 a = Length of edge or side
Cylinder
V = πr2h r = Radius of the circular base h = Height
Prism
V = B × h B = Area of base, (B = side2 or length.breadth) h = Height

for the highest thermal stability, a refrigerator freezer compartment should be fully packed with food. what is the thermochemical basis for this recommendation?

Answers

The thermal stability depends on the heat capacity and the heat capacity depends on the mass. When the food is fully packed the mass increases due to which the heat capacity increases. By increasing heat capacity, the thermal stability increases and hence effective working of freezer takes place.

You can learn more about heat capacity through the link below:

https://brainly.com/question/28302909#SPJ4

Recycled tires are frequently turned into ___________.

Answers

Answer: crumb rubber

Explanation:

What is the main difference between a builder and a general contractor?
OA builder works on large projects only.
O A general contractor pays employees directly.
OA builder does not use subcontractors.
O A general contractor must sign a contract before work begins.

Answers

The answer is C) A builder does not use subcontractors

select one of the of the following areas of technology changed the way people live and work

Answers

Answer:

electrical and Electronic Engineering

Explanation:

cos it's a practical part of technology

Got a wicked problem? First, tell me how you make toast
1. Why is the process of making toast a good exercise for depicting a system? (1pt)
2. How does using sticky notes and working in a group improve the modeling process?
(1pt)
3. What are the key lessons from this exercise? (1pt)
4. How did this process help a company improve profitability? (1pt)

Answers

Answer:

Explanation:

put bread in the toaster then take it out when it is either golden brown or as crispy as desired. this can make your mind depict what the piece of toast will look like once cooked. sticky notes help jot down those quick but helpful ideas your having as well as notes from class or to-do list things. working in a group helps improve social skills and communication. the key lessons are to see from another person's pov because communication is what makes a group 1 mind. a company can use this by working together to make an awesome product.

Describe the construction of a lead acid battery cell

Answers

Answer: Construction / Parts of a Lead Acid battery: A Lead Acid cell is constructed by immersing the two plates of lead plated with Lead Peroxide and Sponge Lead into the electrolyte Dilute Sulfuric Acid of specific gravity of about 1.21. The Lead Peroxide and Sponge Lead has very little mechanical strength.

Explanation:

Lead-Acid Battery Construction The lead-acid battery is the most commonly used type of storage battery and is well-known for its application in automobiles. The battery is made up of several cells, each of which consists of lead plates immersed in an electrolyte of dilute sulfuric acid. The voltage per cell is typically 2 V to 2.2 V.

Lead-Acid Battery Working

When the lead-acid cell is charged, the lead oxide on the positive plates changes to lead peroxide, and that on the negative plates becomes a spongy or porous lead. In this condition, the positive plates are brown in color, and the negative plates are gray.

Lead-Acid Battery Discharging

When the battery is discharging (i.e., supplying a current), atoms from the spongy lead on the negative plates combine with sulfate molecules to form lead sulfate and hydrogen. As always, electrons are left behind on the negative plates so that they maintain a negative potential. The hydrogen released in the electrolyte combines with the lead peroxide on the positive plate, removing electrons from the plate to keep a positive potential. The combination of lead peroxide and hydrogen at the positive electrode produces water and lead sulfate. The water dilutes the electrolyte, making it a weaker solution, and the lead sulfate that is produced at both positive and negative plates tends to fill the pores of the active material. Both these effects (dilution of the electrolyte and formation of lead sulfate) render each cell less efficient and eventually cause the battery output voltage to fall.

Lead-Acid Battery Recharging

When the battery is recharged, a current (conventional direction) is made to flow into the positive electrode of each cell. This current causes the lead sulfate at the negative electrode to recombine with hydrogen ions, thus re-forming sulfuric acid in the electrolyte and Spongy lead on the negative plates. Also, the lead sulfate on the positive electrodes recombines with water to regenerate lead peroxide on the positive plates and sulfuric acid in the electrolyte. The final result of charging the cell is that the electrodes are re-formed and the electrolyte is returned to its original strength. With proper care a lead—acid battery is capable of sustaining a great many cycles of charge and discharge, giving satisfactory service for several years.

Care of Lead-Acid Batteries

The level of the electrolyte in each cell should be checked regularly, and distilled water added as necessary to keep the top of the plates covered by about 1 cm of liquid.

Battery terminals should be kept clean and lightly coated with petroleum jelly to avoid corrosion.

In cold weather, batteries should always be maintained in a nearly fully charged condition to avoid freezing.

Lead-acid batteries should never be allowed to remain for a long period in a discharged state because lead sulfate could harden and permanently clog the pores of the electrodes.

Before storing it for a long time the battery should be completely charged, then the electrolyte should be drained so that the battery is stored dry.

putanginamokagiapakyu

Answers

Answer:

Hi

Explanation:Ask the question.I'll answer it if I can.

what can astronauts take to space that can help them. it has to be an item that they haven't take to space till now

Answers

Answer: Astronauts can take different types of medications and study the effects of the substances in space on the human body versus on Earth- whether they are more effective treatment or not.

Which of the following compounds would the plant require as inputs for photosynthesis and which would be considered outputs? Drag each compound into the correct box.

Answers

Answer: Hope this helps.

Explanation: During photosynthesis, plants take in carbon dioxide (CO2) and water (H2O) from the air and soil. Within the plant cell, the water is oxidized, meaning it loses electrons, while the carbon dioxide is reduced, meaning it gains electrons. This transforms the water into oxygen and the carbon dioxide into glucose.

primitive transportation and storage systems that make local distribution ineffective if not impossible, the lack of clean water, and the lack of effective sewer systems are all examples of what type of barrier?

Answers

Primitive transportation and storage systems that make local distribution ineffective if not impossible, and the lack of clean water and the lack of effective sewer systems are all examples of the barrier called physical & environmental barriers.

What are the problems with having physical & environmental barriers?

Time, Place, Space, Climate, and Noise are the key environmental/physical constraints. Some are simple to change, while others may prove to be difficult.

Physical barriers are essentially defined by three primary factors: environment, distance, and medium unawareness. Environmental barriers, on the other hand, are connected to variables that occur in the current environment.

Learn more about transportation:
https://brainly.com/question/27667264
#SPJ1

To move backward, shift to

Answers

Answer:

Move forward and backward between your locations in the code Use ⌘ [ (macOS), Ctrl+Alt+Left Arrow (Windows/Linux) to navigate backwards

Explanation:

Other Questions
Two numbers are called relatively prime if their greatest common divisor is $1$.Grogg's favorite number is $10!$, the product of the integers from $1$ to $10$. (He pronounces it TEN!)What is the smallest integer greater than $800$ that is relatively prime to Grogg's favorite number? I need help please help me due tomorrow This alkyl halide can be prepared by electrophilic addition of HBr to 2 different alkenes. Draw them The compound interest formula states that if P dollars are invested at an annual interest rate of r, compounded n times per year, then A, the amount of money presentIf $10.500 is invested at 8 % compounded monthly, how much will this investment be worth in 22 years? Round youranswer to two decimal placesafter tyears, is given by A = P(1+2) Question 1] Find the mean for each set of data6,9,2,4,3,6,5 Xiao Mei covers a table with 8 rows of square unit tiles. There are 7 tiles in each row. What is the area that Xiao Mei covers in square units? Solve for x usingcross multiplication.3x + 6 = 4x - 364=35x = [?]Enter Answer the question right and i will give u brainiest Why do third parties form? I need help with this question but no one is helping me! Can someone please help me. HELPPPPP SAT QUESTION Inez is making a model of a sugar crystal she wants her model to show how the sugar molecules move in the crystal she is using plastic foam balls to represent the sugar molecules how should she put the plastic foam balls together to make her model What authority does the FDA and USDA have to prevent outbreaks or recall food? please help me with this calculate the volume of the cone and round it to the nearest hundredth you and your roommate are riding on a large carousel. you are standing near the center. your roommate is standing near the outside edge. who has the greatest angular velocity? how can the private sector better support its workers? How many moles of magnesium is 5.01 x 1022 atoms of magnesium? Mrs. Jenkins is catering a school dance and wants to know how manystudents prefer tacos and how many prefer hot wings.296 students preferred tacos63% of students preferred hot wings.How many students in total were attending the dance? Explain how the British Empire achieved avoided the revolutions of 1848. Would similar tactics have worked to quell rebellion in the early empires which conquered vast expanses of territory? Why or why not? How many blocks would be in the 10th figure? (figure 1 is 1 block) figure 11 figure 15 figure 19 figure 22