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
kirill115 [55]
3 years ago
14

Write Python expressions using s1, s2, and s3 and operators and * that evaluate to: (a) 'ant bat cod'

Engineering
1 answer:
jenyasd209 [6]3 years ago
5 0

Given that the correct question is

Write Python expressions using s1, s2, and s3 and operators + and * that evaluate to: (a) 'ant bat cod'

Answer:

s1 = 'ant'

s2 ='bat'

s3 ='cod'

#using string concatenation

s4 = s1 + ' ' + s2 +  ' ' +s3

print(s4)

You might be interested in
A steam turbine receives 8 kg/s of steam at 9 MPa, 650 C and 60 m/s (pressure, temperature and velocity). It discharges liquid-v
adelina 88 [10]

Answer:

The power produced by the turbine is 23309.1856 kW

Explanation:

h₁ = 3755.39

s₁ = 7.0955

s₂ = sf + x₂sfg  =

Interpolating fot the pressure at 3.25 bar gives;

570.935 +(3.25 - 3.2)/(3.3 - 3.2)*(575.500 - 570.935) = 573.2175

2156.92 +(3.25 - 3.2)/(3.3 - 3.2)*(2153.77- 2156.92) = 2155.345

h₂ = 573.2175 + 0.94*2155.345 = 2599.2418 kJ/kg

Power output of the turbine formula =

Q - \dot{W } = \dot{m}\left [ \left (h_{2}-h_{1}  \right )+\dfrac{v_{2}^{2}- v_{1}^{2}}{2} + g(z_{2}-z_{1})\right ]

Which gives;

560 - \dot{W } = 8\left [ \left (2599.2418-3755.39  \right )+\dfrac{15^{2}- 60^{2}}{2} \right ]

= -8*((2599.2418 - 3755.39)+(15^2 - 60^2)/2 ) = -22749.1856

- \dot{W } = -22749.1856 - 560 = -23309.1856 kJ

\dot{W } = 23309.1856 kJ

Power produced by the turbine = Work done per second = 23309.1856 kW.

5 0
3 years ago
an oven takes 15A at 240V,it required to reduce current to 12V find resistance which must be connected in series​
avanturin [10]

Answer:

Explanation:0

8 0
2 years ago
A pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect of th
Oxana [17]

Answer:

a) For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

b) For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

c) A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

Explanation:

From the info given we know that a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions and 40 s spent executing branch instructions.

Part 1

For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

Part 2

For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

And we can quantify the decrease using the relative change:

\% Change = \frac{5s}{55 s} *100 = 9.09\% of reduction

Part 3

A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

8 0
3 years ago
Guys, can you rate this toolbox, please. It is my DT project, made for car trips, what do you think of the idea/design/usability
Maurinko [17]

Answer:

Honestly overall i think it looks fantastic

Explanation:

It looks like some really nice clean craftsmanship and i love the use of some different colors for some drawers to make it pop. the only con that i can possibly think of is that with it being wood and you moving it from place to place, some rubber feet or something that would prevent it from scratching/damaging anything else if it doesn't already (cant really see under it). other then that one thing i think it looks really good. well done.

3 0
3 years ago
james wants to qualify for icp are and licensure. Which degree would be required in order to qualify for a two year master of ar
ololo11 [35]

Answer:

A degree in architecture with 60 credit hours.

Explanation:

The requirements need for a student to qualify for a two year master of architecture degree are;

  • 60 credit hours in architecture
  • Complete 60 credit hours in related area of profession such as; planning, landscape architecture ,public health and others.
  • 45 credit hours in architecture course at the level of 500/600
4 0
3 years ago
Other questions:
  • 1. What is an op-amp? List the characteristics of an ideal op-amp
    11·1 answer
  • A stainless-steel specimen from the same material characterized up above, was formed into a rectangular cross-section of dimensi
    9·1 answer
  • A 450 MWt combined cycle plant has a Brayton cycle efficiency of 24% and a Rankine cycle efficiency of 29% with no heat augmenta
    6·1 answer
  • The gas-turbine cycle of a combined gas–steam power plant has a pressure ratio of 8. Air enters the compressor at 290 K and the
    15·1 answer
  • A certain metal has a resistivity of 1.68 × 10-8 Ω ∙ m. You have a long spool of wire made from this metal. If this wire has a d
    14·1 answer
  • The purpose of the __________ algorithm is to enable two users to exchange a secret key securely that can then be used for subse
    8·1 answer
  • Which is the maximum length for any opening on the surface of a 2G SMAW guided bend test specimen?
    11·1 answer
  • Describe a gear train that would transform a counterclockwise input rotation to a counterclockwise output rotation where the dri
    13·1 answer
  • Recall the steps of the engineering design process. Compare and contrast the
    9·1 answer
  • When framing a building, a simple way to estimate the total amount of wall studs needed is to allow
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!