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
Marta_Voda [28]
3 years ago
7

Create a Python program that will produce the following output:

Engineering
1 answer:
Aloiza [94]3 years ago
6 0

Answer:

def main ():

   sentence = input("Please enter a sentence:")

   print("Original Sentence:",sentence)

   # start at the third character

   for i in range(2,  len(sentence), 3):

       # access the string by index  

       print("Every third letter:", sentence[i])

Explanation:

def helps define the sentence ( input)

in order to start printing from third letter we start the range from 2 and keep the step 3 . The range i is in square parenthesis to show the range and access string.

You might be interested in
A strain gauge with a 5 mm gauge length gives a displacement reading of 1.25 um. Calculate the stress value given by this displa
KengaRu [80]

Answer:

stress  = 50MPa

Explanation:

given data:

Length of strain guage is 5mm

displacement\delta = 1.25 \mu m =\frac{1.25}{1000} =  0.00125 mm

stress due to displacement in structural steel can be determined by using following relation

E =\frac{stress}{strain}

stress = E \times strain

where E is young's modulus of elasticity

E for steel is 200 GPa

stress = 200\times 10^3 *\frac{1.25*10^{-3}}{5}

stress  = 50MPa

7 0
3 years ago
Which of the following is a possible unit of ultimate tensile strength?
levacccp [35]

Answer:

Newton per square meter (N/m2)

Explanation:

Required

Unit of ultimate tensile strength

Ultimate tensile strength (U) is calculated using:

U = \frac{Ultimate\ Force}{Area}

The units of force is N (Newton) and the unit of Area is m^2

So, we have:

U = \frac{N}{m^2}

or

U = N/m^2

<em>Hence: (c) is correct</em>

4 0
3 years ago
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of poun
Alex17521 [72]

Answer:

Answer is explained in the explanation section below.

Explanation:

Solution:

Note: This question is incomplete and lacks necessary data to solve. But I have found the similar question on the internet. So, I will be using the data from that question to solve this question for the sack of concept and understanding.

Data Given:

x = 27 , 44 , 32 , 47, 23 , 40, 34, 52

y = 30, 19,  24,  13 , 29,  19,  21,  14

It is given that,

∑x = 299

∑y = 167

∑x^{2} = 11887

∑y^{2} = 3773

We are asked to verify the above values manually in this question.

So,

1. ∑x = 299

Let's verify it:

∑x = 27 + 44 + 32 + 47 + 23 + 40 + 34 + 52

∑x = 299

Yes, it is equal to the given value. Hence, verified.

2. ∑y = 167

Let's verify it:

∑y = 30 + 19 +  24 + 13 + 29 + 19 +  21 +  14

∑y = 169

No, it is not equal to the given value.

3. ∑x^{2} = 11887

Let's verify it:

For this to find,  first we need to square all the value of x individually and then add them together to verify.

∑x^{2} = 27^{2} + 44^{2} + 32^{2} + 47^{2} + 23^{2} + 40^{2} + 34^{2} + 52^{2}

∑x^{2} = 11,887

Yes, it is equal to the given value. Hence, verified.

4. ∑y^{2} = 3773

Let's verify it:

Again, for this we need to find the squares of all the y values and then add them together to verify it.

∑y^{2} = 30^{2} + 19^{2} +  24^{2} + 13^{2} + 29^{2} + 19^{2} +  21^{2} +  14^{2}

∑y^{2}  = 3,845

No, it is not equal to the given value.

4 0
3 years ago
A charge of +2.00 μC is at the origin and a charge of –3.00 μC is on the y axis at y = 40.0 cm . (a) What is the potential at po
Nimfa-mama [501]

a) Potential in A: -2700 V

b) Potential difference: -26,800 V

c) Work: 4.3\cdot 10^{-15} J

Explanation:

a)

The electric potential at a distance r from a single-point charge is given by:

V(r)=\frac{kq}{r}

where

k=8.99\cdot 10^9 Nm^{-2}C^{-2} is the Coulomb's constant

q is the charge

r is the distance from the charge

In this problem, we have a system of two charges, so the total potential at a certain point will be given by the algebraic sum of the two potentials.

Charge 1 is

q_1=+2.00\mu C=+2.00\cdot 10^{-6}C

and is located at the origin (x=0, y=0)

Charge 2 is

q_2=-3.00 \mu C=-3.00\cdot 10^{-6}C

and is located at (x=0, y = 0.40 m)

Point A is located at (x = 0.40 m, y = 0)

The distance of point A from charge 1 is

r_{1A}=0.40 m

So the potential due to charge 2 is

V_1=\frac{(8.99\cdot 10^9)(+2.00\cdot 10^{-6})}{0.40}=+4.50\cdot 10^4 V

The distance of point A from charge 2 is

r_{2A}=\sqrt{0.40^2+0.40^2}=0.566 m

So the potential due to charge 1 is

V_2=\frac{(8.99\cdot 10^9)(-3.00\cdot 10^{-6})}{0.566}=-4.77\cdot 10^4 V

Therefore, the net potential at point A is

V_A=V_1+V_2=+4.50\cdot 10^4 - 4.77\cdot 10^4=-2700 V

b)

Here we have to calculate the net potential at point B, located at

(x = 0.40 m, y = 0.30 m)

The distance of charge 1 from point B is

r_{1B}=\sqrt{(0.40)^2+(0.30)^2}=0.50 m

So the potential due to charge 1 at point B is

V_1=\frac{(8.99\cdot 10^9)(+2.00\cdot 10^{-6})}{0.50}=+3.60\cdot 10^4 V

The distance of charge 2 from point B is

r_{2B}=\sqrt{(0.40)^2+(0.40-0.30)^2}=0.412 m

So the potential due to charge 2 at point B is

V_2=\frac{(8.99\cdot 10^9)(-3.00\cdot 10^{-6})}{0.412}=-6.55\cdot 10^4 V

Therefore, the net potential at point B is

V_B=V_1+V_2=+3.60\cdot 10^4 -6.55\cdot 10^4 = -29,500 V

So the potential difference is

V_B-V_A=-29,500 V-(-2700 V)=-26,800 V

c)

The work required to move a charged particle across a potential difference is equal to its change of electric potential energy, and it is given by

W=q\Delta V

where

q is the charge of the particle

\Delta V is the potential difference

In this problem, we have:

q=-1.6\cdot 10^{-19}C is the charge of the electron

\Delta V=-26,800 V is the potential difference

Therefore, the work required on the electron is

W=(-1.6\cdot 10^{-19})(-26,800)=4.3\cdot 10^{-15} J

4 0
3 years ago
Line(s) indicates passing is allowed if there are no oncoming cars.
anygoal [31]
Broken yellow b/c you can’t pass on a double solid yellow
5 0
3 years ago
Other questions:
  • The boiler pressure is 38bar and the condenser pressure 0.032 bar.The saturated steam is superheated to 420 oC before entering t
    8·1 answer
  • A tank contains 350 liters of fluid in which 50 grams of salt is dissolved. Pure water is then pumped into the tank at a rate of
    8·1 answer
  • Q1. In electronic circuits it is not unusual to encounter currents in the microampere range. Assume a 35 μA current, due to the
    13·1 answer
  • What does it mean to wire solar cells in parallel vs. wiring them in series? I always get these switched around.​
    10·1 answer
  • First person to tell me what this car is gets 10 points
    10·2 answers
  • For an AC machine, what percentage of power is at the negative terminal?
    14·1 answer
  • Steam enters an adiabatic turbine at 6 MPa, 600°C, and 80 m/s and leaves at 50 kPa, 100°C, and 140 m/s. If the power output of t
    14·1 answer
  • Determine the resistance of 100m of copper cable whose cross-sectional area is 1.5mm2​
    6·1 answer
  • A 1/20 scale model of a wing is used to determine forces on the actual airplane. the 1/20 scale refers to the:_____
    10·2 answers
  • Which statement is true about the future of space travel?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!