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
Artyom0805 [142]
4 years ago
7

4. Calculate the square root of potato using the sqrt() function. Print out the value of potato again to verify that the value o

f potato hasn't changed.
Engineering
1 answer:
N76 [4]4 years ago
8 0

Answer:

potato<-100

print(potato)

sqrt(potato)

potato<-potato*2

print(potato)

Explanation:

The complete question is as follows

Create a variable called potato whose value corresponds to the number of potatoes you’ve eaten in the last week. Or something equally ridiculous. Print out the value of potato.

Calculate the square root of potato using the sqrt() function. Print out the value of potato again to verify that the value of potato hasn’t changed.

Reassign the value of potato to potato * 2.

Print out the new value of potato to verify that it has changed

The question was answered using R programming language.

At line 1, I assumed that I ate 100 potatoes in the previous week.

So, potato = 100

At line 2, the value of potato is printed as 100.

At line 3, the square root of potato is calculated using sqrt function: Square for of 100 = 10

At line 4,the initial value of potato is doubled and stored in potato variable. 100 * 2 = 200

At line 5, the new value of potato is printed: 200.

You might be interested in
What do you own that might not be manufactured?
horrorfan [7]

Answer:

A pet

Explanation:

Latin time I checked animals aren't made by people? I honestly don't know if this helps but I'm technically not wrong.

8 0
3 years ago
Given resistance 30ohms Inductance 200mH is connected to a 230v,50hZ supply. Impedance 69.6ohms Calculate current consumed?
Kisachek [45]

Answer:

the current consumed is 3.3 A

Explanation:

Given;

resistance, R = 30 ohms

inductance, L = 200 mH

Voltage supply, V = 230 V

frequency of the coil, f = 50 Hz

impedance, Z = 69.6 Ohms

The current consumed is calculated as;

I = \frac{V}{Z} \\\\I = \frac{230}{69.6} \\\\I = 3.3 \ A

Therefore, the current consumed is 3.3 A

4 0
3 years ago
¿Que piensas respecto al hecho de que María y Efraín rara vez se comunican directamente?
AleksandrR [38]

Answer:

Crean un código usando la naturaleza.

8 0
3 years ago
A rectangular steel bar, with 8" x 0.75" cross-sectional dimensions, has equal and opposite moments applied to its ends.
denpristay [2]

Answer:

Part a: The yield moment is 400 k.in.

Part b: The strain is 8.621 \times 10^{-4} in/in

Part c: The plastic moment is 600 ksi.

Explanation:

Part a:

As per bending equation

\frac{M}{I}=\frac{F}{y}

Here

  • M is the moment which is to be calculated
  • I is the moment of inertia given as

                         I=\frac{bd^3}{12}

Here

  • b is the breath given as 0.75"
  • d is the depth which is given as 8"

                     I=\frac{bd^3}{12}\\I=\frac{0.75\times 8^3}{12}\\I=32 in^4

  • y is given as

                     y=\frac{d}{2}\\y=\frac{8}{2}\\y=4"\\

  • Force is 50 ksi

\frac{M_y}{I}=\frac{F_y}{y}\\M_y=\frac{F_y}{y}{I}\\M_y=\frac{50}{4}{32}\\M_y=400 k. in

The yield moment is 400 k.in.

Part b:

The strain is given as

Strain=\frac{Stress}{Elastic Modulus}

The stress at the station 2" down from the top is estimated by ratio of triangles as

                        F_{2"}=\frac{F_y}{y}\times 2"\\F_{2"}=\frac{50 ksi}{4"}\times 2"\\F_{2"}=25 ksi

Now the steel has the elastic modulus of E=29000 ksi

Strain=\frac{Stress}{Elastic Modulus}\\Strain=\frac{F_{2"}}{E}\\Strain=\frac{25}{29000}\\Strain=8.621 \times 10^{-4} in/in

So the strain is 8.621 \times 10^{-4} in/in

Part c:

For a rectangular shape the shape factor is given as 1.5.

Now the plastic moment is given as

shape\, factor=\frac{Plastic\, Moment}{Yield\, Moment}\\{Plastic\, Moment}=shape\, factor\times {Yield\, Moment}\\{Plastic\, Moment}=1.5\times400 ksi\\{Plastic\, Moment}=600 ksi

The plastic moment is 600 ksi.

3 0
3 years ago
The product life cycle defines the stages that new products move through as they enter, are established in, and ultimately leave
Bas_tet [7]

Answer:

The four marketing mix of every new business are:

1. Product

2. Place

3. Price

4. Promotion

For each of the stages of product life cycle, those 4p should be use appropriately.

Explanation:

The four marketing mix of every new business are:

1. Product

2. Place

3. Price

4. Promotion

the product life cycle are directly proportional to the 4p of marketing. the product life cycle stages are introduction, growth, maturity and decline.

For each of the stages of product life cycle, those 4p should be use appropriately.

Stages of product life cycle and how the 4p fit into it.

The introduction stage:

at this stage, a new product just want to be introduced to the consumers. the product stage has being developed. The place where the product will fit in will also be consider. the location of people who consume this product. Pricing strategy consider a low price at the introduction stage, the business owner may not get any profit at this stage. then, continuous advertisement to create awareness of the product to the environment.

The growth stage:

the product will continuing to be move to different locations. the standard of the product quality will be maintained. the Pricing will start increasing. then, continuous advertisement to create awareness of the product and working on improving the product to suit the consumer.

the Mature stage:

At this stage, the consumer are fully aware of the product. wide range of location are reach. the pricing has reach its peak. Profit have been maximized. And, competitors of the product are in the market. Corporate social responsibility (CSR) will be the promotional value at this stage.

The Declining stage:

The business product have fully grown to its peak, and its only constant promotional values like CSR, advertisement, bonuses, can sustain it in the market. At this stage also, price comparison with other competitor should be carefully look into.

4 0
3 years ago
Other questions:
  • A rod is 2m long at temperature of 10oC. Find the expansion of the rod, when the temperature is raised to 80oC. If this expansio
    7·1 answer
  • A 625 g basketball and a 58.5 g tennis ball are dropped from a height of d = 1.5 m onto the floor. The coefficient of restitutio
    10·1 answer
  • Please help me fast, I don’t have time
    15·1 answer
  • If a particle moving in a circular path of radius 5 m has a velocity function v = 4t2 m/s, what is the magnitude of its total ac
    15·2 answers
  • A ball A is thrown vertically upward from the top of a 30-m-high building with an initial velocity of 5 m&gt;s. At the same inst
    8·1 answer
  • 9. A vehicle is having routine maintenance performed.
    7·1 answer
  • A steady state filtration process is used to separate silicon dioxide (sand) from water. The stream to be treated has a flow rat
    5·1 answer
  • How much thermal energy is needed to raise the temperature of 15kg gold from 45⁰ C up to 80⁰ C​
    10·1 answer
  • Which of these is not a type of socket
    6·1 answer
  • 'Energy' has the potential to:
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!