1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Naddik [55]
3 years ago
12

Write a java program which will produce the following output. No variables are needed but the program must use numbers and math

operators for all the results. In other words, you cannot simply include all the answers inside the quotes. The calculations must be done by the computer
Engineering
1 answer:
Sav [38]3 years ago
8 0

The question did not include the output to be produced. However, below are the outputs.

My age is 21

Twice my age is 42

Three times my age is 63

ANSWER:

public class NewClasss{

   public static void main(String[] args) {

   int x,y,z;

   x = 21;

   y = 2*x;

   z=3*x;

   System.out.println("My age is " + x);

   System.out.println("twice my age is " + y);

   System.out.println("three times my age is " + z);

   

   }

  }

You might be interested in
A microwave transmitter has an output of 0.1W at 2 GHz. Assume that this transmitter is used in a microwave communication system
Len [333]

Answer:

gain = 353.3616

P_r = 1.742*10^-8 W

Explanation:

Given:

- The output Power P_o = 0.1 W

- The diameter of the antennas d = 1.2 m

- The frequency of signal f = 2 GHz

Find:

a. What is the gain of each antenna?

b. If the receiving antenna is located 24 km from the transmitting antenna over a free space path, find the available signal power out of the receiving antenna.

Solution:

- The gain of the parabolic antenna is given by the following formula:

                            gain = 0.56 * 4 * pi^2 * r^2 / λ^2

Where, λ : The wavelength of signal

            r: Radius of antenna = d / 2 = 1.2 / 2 = 0.6 m

- The wavelength can be determined by:

                            λ = c / f

                            λ = (3*10^8) / (2*10^9)

                            λ = 0.15 m

- Plug in the values in the gain formula:

                            gain = 0.56 * 4 * pi^2 * 0.6^2 / 0.15^2

                            gain = 353.3616

- The available signal power out from the receiving antenna is:

                            P_r = (gain^2 * λ^2 * W) / (16*pi^2 * 10^2 * 10^6)

                            P_r = (353.36^2 * 0.15^2 * 0.1) / (16*pi^2 * 10^2 * 10^6)

                            P_r = 1.742*10^-8 W

4 0
3 years ago
Hogden is conducting an experiment to determine how much force it takes for a nail to puncture a tire, causing a flat. He uses f
SashulF [63]

Answer:

B

Explanation:

8 0
3 years ago
Read 2 more answers
soccer is also called association football" A soccer ball is a sphere, with circumference of 70 centimeters. in developing a new
timama [110]

Answer: Weight on Mars = 0.02593N

Explanation:

Given; Circumference C of Sphere = 70cm = 0.7m,

Specific Gravity S. G. of material = 1.21,

acceleration due to gravity in the Mars gm = 3.7m/s^2

We know that Weight W = mass m × acceleration due to gravity.

Let the Weight in on the Mars be Wm.

Wm = m × gm

Since we are given gm, we need to calculate for m. (Note that mass m is the same everywhere)

But mass = specific gravity × volume

Since we know the specific gravity, let's go ahead to calculate for the volume of the ball.

We know that Volume of a Sphere V = (4/3)πr^3

To get r, we know that C = 2πr

Therefore, r = C/(2π) = 0.7/(2π) = (7/10)/2π = 7/20π (in meters)

V = (4/3)*π×(7/20π)^3 = 343/6000π^2 (in meter^3)

m = 343/6000π^2 × 1.21 = 7.01×10^(-3)kg

Wm = 7.01×10^(-3) × 3.7 = 0.02593N

8 0
3 years ago
When you apply for your driver license, you consent to take a ____ test when asked to do so by a law enforcement officer. memory
n200080 [17]

Answer:

Driving test

Explanation:

Usually according to laws in countries worldwide, to be licenced to drive, one is required to go through a driving school to learn the ethics and rules of driving.

4 0
2 years ago
3.Which of the following drawings are matched with the project specifications to form the bulk of the contract document?
Ivan
Can you show us the drawings
4 0
3 years ago
Other questions:
  • Water vapor at 6 MPa, 500°C enters a turbine operating at steady state and expands to 20 kPa. The mass flow rate is 3 kg/s, and
    8·1 answer
  • Design a PI controller to improve the steady-state error. The system should operate with a damping ratio of 0.8. Compute the ove
    10·1 answer
  • . In one stroke of a reciprocating compressor, helium is isothermally and reversibly compressed in a piston + cylinder from 298
    6·1 answer
  • Select the correct answer
    8·1 answer
  • A beam spans 40 feet and carries a uniformly distributed dead load equal to 2.2 klf (not including beam self-weight) and a live
    15·1 answer
  • Worth 20 points! Please help ASAP!
    5·1 answer
  • What can be used to relieve stress in a weld.
    12·2 answers
  • 6) Describe the differences between the troposphere and stratosphere.
    14·1 answer
  • 3. Determine the most unfavorable arrangement of the crane loads and
    6·1 answer
  • Cat is stuck in 10 foot hole how do i get it unstuck
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!