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
3241004551 [841]
3 years ago
7

Int[][] myvals = {{2, 4, 6, 8}, {20, 40, 60, 80} };​using the above two-dimensional array, what is the value of myvals[1][2]?

Mathematics
1 answer:
RoseWind [281]3 years ago
4 0

Answer:

myvals[1][2] = 4

Step-by-step explanation:

Int[][] myvals = {{2, 4, 6, 8}, {20, 40, 60, 80} }

This command means that we have the following matrix:

\left[\begin{array}{cccc}2&4&6&8\\20&40&60&80\end{array}\right]

using the above two-dimensional array, what is the value of myvals[1][2]?

This is the element at first row, column 2.

First row is {2, 4, 6, 8}

First row, column 2 is 4. So

myvals[1][2] = 4

You might be interested in
A fuel-tanker's tank is 50 feet long and has a diameter of seven feet. Determine the surface area of the fuel tank.
Bezzdna [24]

Answer:

1176.679ft²

Step-by-step explanation:

<u>The question is on surface area of a cylindrical fuel tank</u>

Equation for surface area of a cylinder

S.A = 2\pirh +2\pir²

where r is the radius of cylinder and h is height of cylinder

Diameter=7'⇒r=3.5' and h=50'

Surface Area= 2×3.142×3.5×50 + 2×3.142×3.5×3.5

S.A=1099.7+76.979=1176.679ft²

6 0
3 years ago
Read 2 more answers
WHY is life life r÷eeeeeee​
mr_godi [17]

Answer:

why isn't life reeeeeeeeeeeeeee

Step-by-step explanation:

3 0
3 years ago
In 2002, the Centers for Disease Control and Prevention (CDC) reported that 8% of women married for the first time by their 18th
ehidna [41]

Question:

In 2002, the Centers for Disease Control and Prevention (CDC) reported that 8% of women married for the first time by their 18th birthday, 25% married by their 20th birthday, and 76% married by their 30th birthday. Based on these data, what is the probability that in a family with two daughters, the first and second daughter will be married by the following ages? (Enter your answers to four decimal places.) (a) 18 years of age (b) 20 years of age (c) 30 years of age

Answer:

A.) 0.0064

B.) 0.0625

C.) 0.5776

Step-by-step explanation:

Given the following :

Married by 18th birthday = 8% = 0.08

Married by 20th birthday = 25% = 0.25

Married by 30th birthday = 76% = 0.76

In a family with two(2) daughters :

P(First daughter will be married by 18) = 0.08

P(second daughter will be married by 18) = 0.08

P(1st and 2nd married by 18) = (0.08×0.08) = 0.0064

B.)

P(First daughter will be married by 20) = 0.25

P(second daughter will be married by 20) = 0.25

P(1st and 2nd married by 20) = (0.25×0.25) = 0.0625

C.)

P(First daughter will be married by 30) = 0.76

P(second daughter will be married by 30) = 0.76

P(1st and 2nd married by 30) = (0.76×0.76) = 0.5776

6 0
2 years ago
A professor wants to know how undergraduate students at X University feel about food services on campus, in general. She obtains
hammer [34]

Answer:

15000

Step-by-step explanation:

Given that a professor wants to know how undergraduate students at X University feel about food services on campus, in general. She obtains a list of email addresses of all 15,000 registered undergraduates from the registrar’s office and mails a questionnaire to 300 students selected at random.

Only 150 questionnaires are returned.

So the sample size changed to 150. But population is the number of registered undergraduates which do not change.

Population size = 15000

8 0
3 years ago
4) Which pair of triangles is congruent by Angle - Angle- Side?
andrey2020 [161]

Answer:

1. Not equal

2. Equal but not connected

3. Equal

4. Equal

Step-by-step explanation: Sorry if not correct :(

3 0
3 years ago
Other questions:
  • Can somebody help me please :) i don't understand it
    12·1 answer
  • (30 Points)
    10·1 answer
  • NEED HELP FAST!! PLEASE HELP!! I WILL FAIL MATH IF I DON'T DO GOOD ON THIS TEST.
    11·1 answer
  • What is the value of x?
    5·2 answers
  • What is the reactance of a 25 mF capacitor when the applied frequency is 400 Hz?
    9·1 answer
  • I need help with numbers 7,8
    13·1 answer
  • Write each percent as a fraction in simplest form.
    13·1 answer
  • A class has 15 boys and 16 girls. What is the probability that a boy's name is drawn at random? (5 points)
    13·2 answers
  • Someone talk to me bout anythang
    8·1 answer
  • What is the sum of 5/11 + 1/3 in lowest terms?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!