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
Zanzabum
3 years ago
6

Write a Nested While Loop that will increment the '*' from 1 to 10.

Engineering
1 answer:
andrey2020 [161]3 years ago
8 0

Answer:

The program is as follows:

i = 1

while(i<11):

   j = 1

   while(j<=i):

       print('*', end = '')

       j += 1

   i += 1

   print()

Explanation:

Initialize i to 1

i = 1

The outer loop is repeated as long as i is less than 11

while(i<11):

Initialize j to 1

   j = 1

The inner loop is repeated as long as j is less than or equal i

   while(j<=i):

This prints a *

       print('*', end = '')

This increments j and ends the inner loop

       j += 1

This increments i

   i += 1

This prints a blank and ends the inner loop

   print()

You might be interested in
Your manager has asked you to research and recommend a writing guide that examiners in your digital forensics company can use fo
vivado [14]

Answer:

Kindly Check the explanation

Explanation:

Report

A Report is a way to present the forensic examination result in front of judge. A report contains warrants, all affidavits issued for arrest, expenses occur during forensic test and lists of evidence. Apart from evidence a report also contains expert opinions.  

Guidelines  

These are the set of rules and written statement which are used to present the important information in a structured and clear format. The main motive behind to define the guidelines is to achieve standardization in the reports. It also improves the readability of the report.  

Guidelines for report  

Abstract:  

Each report must contain an abstract of the report which gives the brief review about the report. It came at the starting of the report. The main motive behind to give abstract is to give brief about report to someone in a very less time. The size of abstract must not be more than one page.  

Index:  

Each report must contain an index which display's which content is available at which page of report. The content of index must be appropriate and clear so that the reader will not get confuse.

Format of report:

The formatting of report is also one of the essential parts of the guidelines. It makes the report attractive and also due to this reader not gets bored while reading the report. The guidelines regarding layout of report are as follow:  

1. Use time roman font and 12 font size as a default font to explain anything in the report.  

2. The explanation must be justified

3. As possible divide the long paragraph. if possible explain in points.

4. The page must have border on all sides

5. Each pages must have numbering and footer

Rules for grammar:

1. The language of the report must be simple and clear. So that everyone can understand it easily.

2. Avoid repeating same sentence or word again and again.

3. Use active instead of passive voice, in order to give importance to doer.

4. Write expressions between commas.

5. Avoid spelling mistakes in report which also make wrong impact.

6. As possible give heading or subheading to material or explanation which must be accurate.

7. Explain, new or difficult words used in the report.

8. What ever written in the report must be through the point and accurate on bases of fact.

Body of report:

The body of the report referred to as a content written inside the report. In order to write an impressive report, it must include all these things:

1. Avoid use of hypothetical question, if still hypothetical question arises it must be bases on factual evidence.  

2. Add all the affidavits and warrants in the report issued for search and arrest.

3. The cost money expenses while solving the case.

4. The expert opinion which must be bases on knowledge or previously declare case results.

5. The list of people and evidence which are collected and interrogative during the investigation.

6. If investigation is further going on than write the area in which the investigation further goes on and also mention when the investigation get complete.  

Forensic software used:  

A short must be given about the software used in the investigation. The result generated by the software must also be pasted in that report. It is more good if attach the snap shot of the result. Add any previous case result in which the same software result is taken as evidence, in order to justify that the result generated by the software is true. Some of forensic softwares are FTK, ProDiscover, Hexworkshop. The result of these softwares must be heighted so that everyone can notice it.  

Conclusion:  

The conclusion must be given at the end of report to tell according him what result came after investigation. In conclusion also write on which basis the result concludes. There must be strong behind the conclusion.  

References:  

In Reference write all the cases, thesis, books which an investigator followed to solve the current case. In addition if they referred any internet article. They can also write the website name where  that article lies. In short can say that write everything where they got an idea which is helpful in solving the case.

 

8 0
3 years ago
For the Mohr's circle of a plane-strain element, which of the following changes as a result of shear strain change?
OverLord2011 [107]

Answer:

B

Explanation:

only the radius of the circle as a result of shear strain change.

3 0
3 years ago
The autorotation spin characteristics of a straight-wing aircraft are induced by Group of answer choices
NemiM [27]

Answer:

More Drag on the down going wing and More Lift on the up going wing

Explanation:

The autorotation spins of blades used in airborne wind energy technology sectors help drive and move the winds and water propeller-type turbines or shafts of generators to produce electricity at altitude and transmit the electricity to earth through conductive tethers.

Sometimes autorotation takes place in rotating parachutes, kite tails. Etc.

As a result, more Drag usually induces the autorotation spin characteristics of a straight-wing aircraft on the downgoing wing and More Lift on the up-going wing.

7 0
3 years ago
A gas turbine operates with a regenerator and two stages of reheating and intercooling. Air enters this engine at 14 psia and 60
Rzqust [24]

Answer:

flow(m) = 7.941 lbm/s

Q_in = 90.5184 Btu/lbm

Q_out = 56.01856 Btu/lbm

Explanation:

Given:

- T_1 = 60 F = 520 R

- T_6 = 940 = 1400 R

- Heat ratio for air k = 1.4

- Compression ratio r = 3

- W_net,out = 1000 hp

Find:

mass flow rate of the air

rates of heat addition and rejection

Solution:

- Using ideal gas relation compute T_2, T_4, T_10:

                     T_2 = T_1 * r^(k-1/k)

                     T_2 = T_4 = T_10 = 520*3^(.4/1.4) = 711.744 R

- Using ideal gas relation compute T_7, T_5, T_9:

                     T_7 = T_6 * r^(-k-1/k)

                     T_7 = T_5 = T_9 = 1400*3^(-.4/1.4) = 1022.84 R

- The mass flow rate is obtained by:

                     flow(m) = W_net,out / 2*c_p*(1400-1022.84-711.744+520)

                     flow(m) = 1000*.7068 / 2*0.24*(1400-1022.84-711.744+520)

                     flow(m) = 7.941 lbm/s

- The heat input is as follows:

                     Q_in = c_p*(T_6 - T_5)

                     Q_in = 0.24*(1400 - 1022.84)

                     Q_in = 90.5184 Btu/lbm

- The heat output is as follows:

                     Q_out = c_p*(T_10 - T_1)

                     Q_out = 0.24*(711.744 - 520)

                    Q_out = 56.01856 Btu/lbm

                                           

                     

5 0
3 years ago
A continuous random variable, X, whose probability density function is given by f(x) = ( λe−λx , if x ≥ 0 0, otherwise is said t
Ganezh [65]

Answer:

a) F(x) = \lambda \int_0^{\infty} e^{-\lambda x} dx= -e^{-\lambda x} \Big|_0^{\infty} = 1- e^{-\lambda x} \

b) P(10 < X

Explanation:

Previous concepts

The cumulative distribution function (CDF) F(x),"describes the probability that a random variableX with a given probability distribution will be found at a value less than or equal to x".

The exponential distribution is "the probability distribution of the time between events in a Poisson process (a process in which events occur continuously and independently at a constant average rate). It is a particular case of the gamma distribution".

Part a

Let X the random variable of interest. We know on this case that X\sim Exp(\lambda)

And we know the probability denisty function for x given by:

f(x) = \lambda e^{-\lambda x} , x\geq 0

In order to find the cdf we need to do the following integral:

F(x) = \lambda \int_0^{\infty} e^{-\lambda x} dx= -e^{-\lambda x} \Big|_0^{\infty} = 1- e^{-\lambda x} \

Part b

Assuming that X \sim Exp(\lambda =0.1), then the density function is given by:

f(x) = 0.1 e^{-0.1 x} dx , x\geq 0

And for this case we want this probability:

P(10 < X

And evaluating the integral we got:

P(10 < X

4 0
4 years ago
Other questions:
  • A copper wire of original diameter .80 m exhibits a maximum tensile load/ strength at an engineering stress= 248.2 mpa. its duct
    11·1 answer
  • A fluid flows steadily through a pipe with a uniform cross sectional area. The density of the fluid decreases to half its initia
    6·1 answer
  • The denominator of a fraction is 4 more than the numenator. If 4 is added to the numenator and 7 is added to the denominator, th
    15·1 answer
  • Consider a section of muscle tissue of a cylindrical shape with a radius of 1.5 cm. During highly rigorous exercise, metabolic p
    8·1 answer
  • If my current directory is ‘AR’ write the path for my current directory
    5·1 answer
  • There is a black-box system (i.e we do not know the transfer function of the system). When we fed a step input into the system,
    9·1 answer
  • What document should you have from the engine manufacturer when working on an engine
    8·1 answer
  • ⚠️I mark BRIANLIST ⚠️The same engineering teams are able to design and develop the different subsystems for an airplane.
    5·2 answers
  • A company intends to market a new product and it estimates that there is a 20% chance that it will be first in the market
    7·1 answer
  • An open tank contain oil of specific gravity 0.75 on top of
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!