How can I create this code this in Python?

Use the random module to generate a random number, prompt the user for a guess at the number until the user guesses the number. When the guess is too high, let the user know, when too low let them know, and when they guess it let them know it was correct and in how many guesses.

Answers

Answer 1

The program in Phyton that meets the above requirements is:

# import the random module

import random

# generate a random number between 1 and 10

number = random.randint(1, 10)

# initialize the number of guesses to 0

guesses = 0

# prompt the user for a guess and keep track of the number of guesses

while True:

   guess = int(input('Guess a number between 1 and 10: '))

   guesses += 1

   # if the guess is too low, let the user know

   if guess < number:

       print('Your guess is too low.')

   # if the guess is too high, let the user know

   elif guess > number:

       print('Your guess is too high.')

   # if the guess is correct, let the user know and exit the loop

   else:

       print('You guessed the number in', guesses, 'guesses!')

       break

What is the explanation?

This software creates a random number between 1 and 10, prompts the user for a guess, and keeps track of how many guesses are made. If the user's guess is too low, it produces an error message. If the user's guess is too high, it produces an error notice.

If the user successfully guesses the number, it publishes a message informing them of their success and the number of guesses required and then exits the loop.

Learn more about the program:
https://brainly.com/question/11023419
#SPJ1


Related Questions

just below 723 c, a hypereutectoid plain carbon steel contains 11 wt % eutectoid fe3c. what is its average carbon content in weight percent? (12 points)

Answers

The average carbon content in weight percent is 0.090%. To calculate the average of carbon is shown below.

High-carbon steel, of course, has the highest ratio of carbon to iron. It includes of more than 0.60% carbon, thereby changing its physical properties. Also called as carbon tool steel, it has around 0.61% to 1.5% carbon. The carbon percentage refers to a high percentage of carbon gives hardness and strength to the metal. It is primary used to tools like chisels, hammers, dies, punches, broaches, reamers, drills, taps, etc.

To determine the average carbon content in weight percent, the equation will be:

0.11 = ((6.67-x)/(6.67-0.02)). x

0.11 = (6.67 - x )/6.65x

73.15x = 6.67 - x

74.15 x = 6.67

x = 0.090%

Learn more about the average carbon, here https://brainly.com/question/8746255

#SPJ4

Let’s say you are setting up your ANOVA one-way analysis of variance graph. How many residual plots can you view at one time?

Select an answer:
two plots
one plot
five plots
three plots

Answers

The number of residual plots that you can view at one time is A. two plots.

What is analysis of variance?

Analysis of variance is a collection of statistical models and the estimation procedures that go with them that are used to analyze the differences between means. Ronald Fisher, a statistician, invented ANOVA.

ANOVA, which stands for Analysis of Variance, is a statistical test used to compare the means of multiple groups. ANOVA ("analysis of variance") compares the means of two or more independent groups to see if there is statistical evidence that the associated population means differ significantly.

In conclusion, the correct option is A.

Learn more about ANOVA on:

https://brainly.com/question/25800044

#SPJ1

Oil companies benefit from capturing ____ ____ and then injecting it back into aquifers because the increased pressure enhances oil recovery. they also save money from less taxes on emissions

Answers

Capturing carbon dioxide is advantageous for oil corporations.

What part does the oil industry play in global warming?

When fossil fuels are burned, a greenhouse gas called carbon dioxide is massively released into the atmosphere. Greenhouse gases, which trap heat in our atmosphere, are to blame for global warming.

How is the environment benefited by carbon capture and storage?

Before carbon dioxide (CO2) is released into the atmosphere, it is captured and stored through the process of carbon capture and storage (CCS). The technique can absorb up to 90% of the CO2 produced while burning fossil fuels to produce power and for industrial purposes like making cement.

To know more about oil visit:-

https://brainly.com/question/29530758

#SPJ4

In the following function prototype, how many parameter variables does this function have?
int myFunction(double, double, double);
a. 1
b. 2
c. 3
d. cannot tell from the prototype

Answers

The function prototype you provided has 3 parameter variables.

Explanation in Detail:

In a function prototype, the variables listed in the parentheses after the function name are the parameter variables for the function. These variables represent the values that will be passed to the function when it is called. In this case, the function has 3 parameter variables, all of which are of type double.

Therefore, the correct answer is C) 3.

It is important to note that a function prototype only provides information about the number, type, and order of the parameters that a function expects to receive, but it does not provide any information about the function's implementation or behavior. For example, the function prototype does not tell us what the function does with the parameter variables or what it returns.

To know more about parameter variables, visit: https://brainly.com/question/28557876

#SPJ4

joe is an exceptional systems engineer who hopes to work at the techtonic group. he is handicapped and uses a wheelchair. techtonic does not have wheelchair ramps and some doorways are not wide enough for a wheelchair. the hr department should

Answers

The HR department should install wheelchair ramps and widen the doorways as they don't want to loose an exceptional systems engineer who hopes to work at the techtonic group.

What is a wheelchair ramps?

A wheelchair ramp is an inclined plane that can be installed in addition to or instead of stairs. Ramps make it easier for wheelchair users, as well as people pushing strollers, carts, or other wheeled objects, to enter a building.

The Americans with Disabilities Act requires wheelchair ramps (or other ways for wheelchair users to access a building, such as a wheelchair lift) in new construction for public accommodations in the United States.

A wheelchair ramp can be fixed, semi-fixed, or portable. Permanent ramps are intended to be bolted or otherwise attached to the ground. Semi-permanent ramps are commonly used in the short term and rest on top of the ground or concrete pad.

To know more about wheelchair ramps, visit: https://brainly.com/question/17395685

#SPJ4

can a fiber reinforced composite behave like a particle reinforced composite? explain why or why not.

Answers

No, a fiber-reinforced composite cannot behave like a particle-reinforced composite.

This is because fiber reinforcement is typically achieved by adding fibers made of glass, carbon, or other materials to a polymer matrix. Particle reinforcement, on the other hand, is achieved by adding particles of ceramic or metal to a polymer matrix. The two components have different properties and behave differently in different applications.

Fiber-reinforced composites are materials made of a matrix and a reinforcing fiber. The matrix is usually a polymer, a metal, or a ceramic, while the reinforcing fibers are typically glass, carbon, or aramid fibers.

For more questions like Fiber click the link below:

https://brainly.com/question/14266265

#SPJ4

please help me
How urban planning can improve public health​?

Answers

Answer:

search it bro

Explanation:

use it, it will give precise answer

Before Segway manufactured its two-wheeled people movers, it built a prototype and had staff engineers test it for performance and stability. At this stage, Segway was involved inalpha testing.product launch.test marketing.beta testing.concept testing.alpha testing

Answers

At this stage, Segway was involved in "alpha testing", when Segway manufactured its two-wheeled people movers, it built a prototype and had staff engineers test it for performance and stability.

What exactly is a Protoype?

Prototyping is an important step in the creation of any product, digital or physical. The process transforms the concept into a physical structure. This concept can be presented to stakeholders or an audience to validate assumptions and test its viability.

In simple terms, a prototype is not just a component of product design; it is one of the most important components of -

Determine whether the proposed product is viable for mass production.Before the actual product is developed, provide stakeholders and investors with an overview of the product.

Prototyping is an essential step in the startup process without which all subsequent steps are pointless.

To know more about Protoype, visit: https://brainly.com/question/17205672

#SPJ4

say there is a b -tree primary index on a relation r. since an insert or a delete into r changes the index as well, we must take locks on the index during updates. briefly explain what kind of locks you would take on the index pages when doing an insert or a delete into the relation. remember a page split or merge may involve the ancestors and the siblings of a node.

Answers

Any subnode of a given node is called a child node, and the given node, in turn, is the child's parent.

What is ancestor node?Beginning with the parent node and continuing through to the root node, the ancestor axis displays all of the context node's ancestors. Exactly like Following-Siblings, this idea is a notion. Functionality-wise, the only change is what came before. In this case, as opposed to Following-Sibling, you receive information on all the nodes that are siblings or on the same level as your present node but are located earlier in the tree. We must use xpath's following-sibling idea in order to navigate to the subsequent sibling. Through the current sibling of the same parent, we can then move on to the following sibling.

To learn more about ancestor node refer to:

https://brainly.com/question/29749643

#SPJ4

Minitab: Suppose you own two pottery stores in your city. You want to find the number of two particular vase colors (color) sold in both stores (location) each week (for each week). You are not interested in the sum total. Which bar graph should you select to compare the data between both stores?

Select an answer:
Stacked Bar Chart
Cluster Bar Chart
Simple Bar Chart
Boxplot Chart

Answers

Where you own two pottery stores in your city and you want to find the number of two particular vase colors (color) sold in both stores (location) each week (for each week). If are not interested in the sum total, note that the bar graph you should select to compare the data between both stores is: the "Stacked Bar Chart" (Option A)

What is the advantage of the Stacked Bar Chart?

When comparing data points, a stacked bar chart is generally simpler to notice the comparison than a combined chart.

When data points are stacked on top of each other, it is easier to discern the percentage of each data point relative to the total value.

Learn more about Stacked Bar Chart:
https://brainly.com/question/28903290
#SPJ1

A horizontal load P = 62 kN is applied at A of the assembly as shown. Determine (a) the internal force in bar BD, (b) the reaction at the pinned support C.

Answers

Internal force is 75 kN and reaction is 82.9 kN, according to the question.

What in science is a force?

The word "force" has a specific meaning in science. At this level, calling a force a pushing or a pull is entirely appropriate. A power is not something an object "has in it" or that it "contains." One thing experiences a force from another. There are both living things and non-living objects in the concept of a force.

Who made the force?

Issac Newton's third laws of motion, which are outlined in his Principia Mathematica, are frequently used to illustrate the concept of force (1687).

To know more about  force visit:

https://brainly.com/question/13191643

#SPJ1

the bellman-ford shortest path algorithm works ____O on graphs with negative edge weights, but not negative edge weight cycles O only on graphs without cycles O on any graph O only on graphs with non-negative edge weights

Answers

The bellman-ford shortest path algorithm works on graphs with negative edge weights, but not negative edge weight cycles.

Define an algorithm.

A finite sequence of exact instructions is known as an algorithm in mathematics and computer science. Algorithms are frequently used to solve a class of particular problems or to carry out computations. For carrying out calculations and data processing, algorithms are used as specifications.

A method used to solve a problem or carry out a command is known as an algorithm. Algorithms are precise lists of instructions that, in either software or hardware-based routines, carry out predetermined actions step by step.

To learn more about an algorithm, use the link given
https://brainly.com/question/15217393
#SPJ4

Multiple Choice question. Selected the correct answer.
10. Which of the following is NOT a metal used for producing exhaust manifolds?
A. Cast iron.
B. Aluminium.
C. Heavy-gauge sheet metal.
D. Stainless steel.

Answers

Answer:

C. Heavy-gauge sheet metal.

Explanation:

Exhaust manifolds are typically made from cast iron, aluminum, or stainless steel, which are strong and durable materials that can withstand the high temperatures and pressures found in vehicle exhaust systems.

Heavy-gauge sheet metal is a type of metal, but it is not typically used for this application because it may not have the necessary strength and durability.

in a linkage-operated clutch system, technician a says the need for free play adjustment may be due to a worn clutch plate. technician b says the free play should be adjusted at the pedal pushrod which is usually under the dash. who is correct?

Answers

Answer: Technician B is correct.

In a linkage-operated clutch system, the free play should be adjusted at the pedal pushrod which is usually under the dash.

Clutch slip will occur if there is insufficient free play (or clearance), as the pressure plate won't be able to fully press against the friction plate. If this problem isn't fixed right away, a burned-out friction plate and potentially a damaged pressure plate will result.

What is Clutch Operated Linkage?

A stiff component of the flywheel and consequently the crankshaft assembly is the clutch unit.

As a result, it experiences vibrations from the engine and transmission as rocking, shaking, and pitching.

On the other hand, the clutch foot-pedal assembly is fastened to the body framework. As a result, the body may experience minor bumps and rebound motions.

To know more about Clutch, visit: https://brainly.com/question/13507668

#SPJ4

given that an arraylist named a with elements of type integer has been declared, assign 3 to its first element.

Answers

Assign the value 3 to the first element of the arraylist a, which has been declared to contain items of the type integer.

Integers include the number zero (0), a positive natural number, and a negative integer represented by a minus sign. The negative numbers are the inverse additions of the comparable positive numbers. In mathematical notation, the boldface Z or blackboard bold displaystyle mathbb Z mathbb Z is widely used to denote the set of numbers. The displaystyle "mathbb" is used to show the set of all natural numbers, the set of all rational numbers, the set of real numbers, and the set of all rational numbers. The set of all natural numbers, the set of all rational numbers, and the set of all real numbers are also shown.   Z is countably infinite, much like the natural numbers, according to Displaystyle Mathbb.

Learn more about integer from

brainly.com/question/929808

#SPJ4

two technicians are discussing clogged egr passages. technician a says that clogged egr passages can cause excessive nox exhaust emission. technician b says that clogged egr passages can cause the engine to ping (spark knock or detonation). which technician is correct?

Answers

Where two technicians are discussing clogged EGR passages and Technician A says clogged EGR passages can cause excessive NOx exhaust emission and Technician B says that clogged EGR passages can cause the engine to ping (spark knock or detonation), note that BOTH technicians are correct. (Option C)

What is a Clogged Exhaust Gas Recirculation (EGR) Passage?

These systems' passageways can get blocked, obstructing the flow and resulting in inadequate EGR flow, explosion, and excessive NOx emissions. If the solenoid, circuits, and EGR valve are all functioning properly and the route is clogged, cleaning the passageways with a wire brush will restore normalcy to the system.

When the EGR valve becomes clogged, the engine suffers a considerable loss of power, hauls, or difficulty of cold starts, as well as increased smoke emissions. If the EGR valve remains closed, it will not be able to reduce pollutants.

Learn more about NOx Exhaust Emission:
https://brainly.com/question/27245596
#SPJ1

Full Question;

Two technicians are discussing clogged EGR passages. Technician A says clogged EGR passages can cause excessive NOx exhaust emission. Technician B says that clogged EGR passages can cause the engine to ping (spark knock or detonation). Which technician is correct?

Technician A only

Technician B only

Both Technicians A and B

Neither Technician A nor B

110-v rms, 60-hz source is applied to a load impedance z. the apparent power entering the load is 120 va at a power factor of 0.607 lagging. note: this is a multi-part question. once an answer is submitted, you will be unable to return to this part. calculate the complex power. the complex power is j va.

Answers

The term "complex power" refers to the mathematical representation of electrical power. It has both real and fictitious parts, just like a complex number.

The active power is represented by the real part, while the reactive power is represented by the imaginary part. The letter S is frequently used to represent it.

What does complex power entail?

The complex conjugate of the rms current phasor and the rms voltage phasor make up the complex power (in VA). As a complex quantity, its real and imaginary parts are real power P and reactive power Q, respectively.

Since the magnitude of the complex power is the apparent power, we could write it as:

S=S∠θ v−θ i

​However, mathrm pf = cos(theta_v-theta_i) pf = cos(v i)

v i = cos 1 pf = 45 In this case, the value of the ta_v-theta_i v i is positive due to the exercise's knowledge that current lags voltage. The value of the complex power is:

Boxed mathbf S=120, angle 45, circle mathrm VA S=120, 45, VA

a) "mathbf S=120 angle 45 circle" "mathrm VA S=120 45"

To learn more about complex power here:

https://brainly.com/question/2355649

#SPJ1

Complete Question = A 110-V rms, 60-Hz source is applied to a load impedance Z. The apparent power entering the load is 120 VA at a power factor of 0.707 lagging. (a) Calculate the complex power. (b) Find the rms current supplied to the load. (c) Determine Z. (d) Assuming that Z = R + jωL, find the values of R and L.

data mining uses the following techniques (select all that applies) group of answer choices hypothesis testing statistical modeling search algorithms machine learning etl technology

Answers

knowledge extraction from data It is one of the processes in the procedure for discovering new knowledge. It is a computational process that combines techniques from machine learning, statistics, and database architecture to find patterns in massive data sets.

What four tasks does data mining perform?

Data mining mostly serves the following four purposes: prediction capability. the method of extracting patterns from data utilizing a number of variables to forecast other variables with unknown types or values. The process of searching a database for a crucial feature of data.

What methods of data mining are there?

Some data mining techniques include classification, clustering, association, data cleaning, and data visualization.

To know more about data mining visit :-

https://brainly.com/question/28561952

#SPJ4

I have
V(tension) =12W
Vr2=7,2W
Vr1=4,8W
R(resitance)2=1800 ohm
How much is
I1 and R2

Answers

The current on resistor 1 is given by: 0.004A = 4mA.The resistance on resistor 1 is given by: 1200 ohms.

How to obtain the current and the resistance?

The current and the resistance are obtained according to Ohm's First Law, which states that the voltage is obtained by the multiplication of the resistance and of the current, as follows:

V = R x I.

The variables are:

V is the voltage.R is the resistance.I is the current.

At resistor R2, we have that:

The current is I1, as it is the same for the entire loop.The resistance is of 1800 ohms.The voltage is of 7.2 volts.

Hence the current I1 is obtained as follows:

1800 x I1 = 7.2

I1 = 7.2/1800

I1 = 0.004A = 4mA.

Then for resistor R1, we have that:

The voltage is of 12 - 7.2 = 4.8 V, as the voltage for the entire loop is of zero.The current is of 0.004A.

Hence the resistance R1 is obtained as follows:

0.004R1 = 4.8

R1 = 4.8/0.004

R1 = 1200 ohms.

More can be learned about Ohm's First Law at https://brainly.com/question/231741

#SPJ1

Create a class called Car that includes three instance variables—a model (type
String), a year (type String), and a price (double). Provide a constructor that initializes the three
instance variables. Provide a set and a get method for each instance variable. If the price is not positive,
do not set its value. Write a test application named CarApplication that demonstrates class Car’s capabilities. Create two Car objects and display each object’s price. Then apply a 5% discount on the
price of the first car and a 7% discount on the price of the second. Display each Car’s price again.

Answers

Answer:

Here is the implementation of the Car class:

class Car {

 private String model;

 private String year;

 private double price;

 public Car(String model, String year, double price) {

   this.model = model;

   this.year = year;

   if (price > 0) {

     this.price = price;

   }

 }

 public String getModel() {

   return model;

 }

 public void setModel(String model) {

   this.model = model;

 }

 public String getYear() {

   return year;

 }

 public void setYear(String year) {

   this.year = year;

 }

 public double getPrice() {

   return price;

 }

 public void setPrice(double price) {

   if (price > 0) {

     this.price = price;

   }

 }

}

Here is the test application that demonstrates the capabilities of the Car class:

class CarApplication {

 public static void main(String[] args) {

   Car car1 = new Car("Toyota", "2020", 20000);

   Car car2 = new Car("Honda", "2019", 25000);

   System.out.println("Original price of car1: $" + car1.getPrice());

   System.out.println("Original price of car2: $" + car2.getPrice());

   car1.setPrice(car1.getPrice() * 0.95);

   car2.setPrice(car2.getPrice() * 0.93);

   System.out.println("Discounted price of car1: $" + car1.getPrice());

   System.out.println("Discounted price of car2: $" + car2.getPrice());

 }

}

Suppose that your car will not start. To determine whether the battery is faulty, you turn
on the light switch and find that the lights are very dim, indicating a weak battery. You
borrow a friend’s car and a set of jumper cables. However, how do you connect his
car’s battery to yours? What do you want his battery to do?

Answers

Note that to connect your car's battery to your friend's car using jumper cables, you should follow these steps:

Allow the two automobiles to be near to each other but not to touch.Check that both automobiles are switched off and that the keys are not in the ignition. Open the hoods of both vehicles.Find the batteries in both vehicles. The positive terminal (generally denoted by a "+") is usually bigger than the negative terminal.Connect the positive terminal of your friend's battery to one end of the red jumper cable. Connect the other end of the red jumper cable to the positive connector of your vehicle's battery.Connect the negative terminal of your friend's battery to one end of the black jumper cable.Attach the other end of the black jumper cable to an unpainted metal surface on your automobile, such as an engine block bolt. This will assist in grounding the circuit and preventing sparks.

What are the signs of a faulty battery?

If your engine cranks slowly, like it's tougher to start on chilly mornings, start inconsistently, or there's no sound or interior lights when you try to start, consider a failing battery, a loose or corroded connection, or an electrical draw.

To make sure your battery lasts:

Short travels should be avoided. Short automobile journeys restrict your car's battery from fully charging.Keep your battery securely attached.When you exit the car, turn off all lights.Maintain corrosion control.Check your battery frequently.When the engine is turned off, do not utilize electronics.

Learn more about Battery:
https://brainly.com/question/23716491
#SPJ1

If you are creating an artificial cell and you want this cell to be capable of the greatest sensitivity to an applied signal, which would be the most useful?.

Answers

Artificial cells have received a lot of attention as potential replacements for natural cells. There are numerous types of artificial cells, each with its own definition.

What is an Artificial cells?

Artificial cells are materials that have been engineered to mimic some of the properties of cells, such as surface characteristics, shapes, morphology, or a few specific functions.

These artificial cells have applications ranging from medicine to the environment, and they may be useful in developing theories about the origin of life. However, even the most basic unicellular organisms are extremely complex, and the synthesis of living artificial cells from inanimate components appears to be extremely difficult.

Nonetheless, recent progress in the creation of artificial cells ranging from simple protocells and synthetic cells to cell-mimic particles suggests that the creation of living life is no longer an impossible goal.

To know more about synthesis, visit: https://brainly.com/question/27606150

https://brainly.com/question/29706208

A torage tank for concentrated nitric acid will be contructed from aluminum to reit corroion. The tank i to have an inide diameter of 6 m and a height of 17 m. The maximum liquid level in the tank will be 16 m. Etimate the plate thickne required at the bae of the tank. Take the allowable deign tre for aluminum a 90 N/mm2

Answers

Taking  the allowable design stress for aluminium as 90 N/mm². The estimated plate thickness required at base of tank is 0.1612m.

What is stress?

Stress is a force per unit area that occurs in materials as a result of external forces, uneven heating, or permanent deformation. It is used in physical sciences and engineering to accurately describe and predict the behavior of elastic, plastic, and fluid materials. A stress is defined as the product of a force divided by an area.

There are numerous types of stress. Shear stress is caused by forces that are parallel to and lie in the plane of a cross-sectional area of the material, as opposed to normal stress, which is caused by forces that are perpendicular to the area.

Learn more about stress

https://brainly.com/question/26108464

#SPJ1

an amount p is deposited now so that an equal annual amount of a1=2000 per year for the first five years,starting one year after the deposit. and a different annual withdrawal of a2=3000 per year for the following three years ,draw the cash flow diagram if i=8.5% per year

Answers

The cash flow diagram is shown below:

Year Deposit Withdrawal Balance

0 P - P

1 - - P

2 - 2,000 P + 1,708.50

3 - 2,000 P + 3,571.51

4 - 2,000 P + 5,539.52

5 - 2,000 P + 7,614.45

6 - 3,000 P + 5,978.7

7 - 3,000 P + 4,037.48

8 - 3,000 P + 2,068.83

What  is deposit ?

Placing cash  with an organization, most frequently a financial institution like a bank, is known as making a deposit. The deposit is a credit again for person that made it, and it may be withdrawn in line with the terms agreed upon at the time of deposit, passed to some other party, or applied to a purchase at a later time.

To know more about deposit
https://brainly.com/question/2507231
#SPJ1

Analyse and determine the drag on a small circular disk of 0.01 ft diameter moving 0.01 ft/s through oil with a specific gravity of 0.87 and a viscosity 10,000 times that of water. The disk is oriented normal to the upstream velocity.

Answers

The drag of the disk is 3.38 X 10^4.

What is drag?

Drag is a force that opposes any object's relative motion with respect to a surrounding fluid in fluid dynamics. This might be present between two liquid layers or between a liquid and a solid surface.

The resistance to motion of a body through a fluid, such as water or air, is known as a drag force. The direction of the incoming flow velocity is opposed by a drag force. This is the relative speed of the fluid and the body.

Solution Explained:

Given,

Specific gravity(sg) = 0.87

Diameter = 0.01ft

Density of Oil (P) = [tex]sg_{ph20} = 0.87 X 1.94 = 1.6878 \frac{sl}{ft^3}[/tex]

Since the viscosity is 10000 times that of water, the Reynold number is

[tex]R_{E} = \frac{PvD}{meu} = \frac{1.6878 X 0.01 X 0.01}{0.234} = 7.21 X 10^-4[/tex]

Since RE < 1, the drag coefficient for normal flow is given as:

[tex]CD = \frac{24.4}{R_{E}} = \frac{24.4}{7.21 X 10^-4} = 3.38 X 10^4[/tex]

To learn more about drag, use the link given
https://brainly.com/question/28764812
#SPJ4

A coal barge is 1000-ft-long, 100-ft-wide, and is submerged in 12 feet of 60°F water. If it is being towed at 12 mph, estimate the friction drag.

Answers

friction drag = 54546 lbf

A coal barge is 1000-ft-long, 100-ft-wide, and is submerged in 12 feet of 60°F water. If it is being towed at 12 mph, the friction drag would be 54546 lbf.

What is a Friction drag?

Friction is the resistance that occurs when two objects rub together, such as air against an airplane. Friction contributes to drag.

Because the barge is rectangular, the flow over the submerged sides and bottom is assumed to behave like B.L. over a flat plate.

Effects at the corners and leading/trailing edges are not taken into account, which could lead to deviations from the analysis. Given the size of the barge, we expect these effects to be minor.

To know more about friction, visit: https://brainly.com/question/29355763

#SPJ4

figure below shows a rudder mechanism used to steer ships. at the instant shown, the actuator is being extended at a constant rate of 0.1 m/s. determine the rotational velocity and acceleration of the rudder assembly.

Answers

The rotational velocity of the rudder mechanism to steer the ship is .1247 rad/sec.

What does rotational motion?

Translational motion is when an object moves in a straight line, whereas rotational motion occurs when the same object moves in a circular route along an axis.

Briefing:

1)here rotational velocity and acceleration of the rudder can be found by relative velocity and acceleration method with Coriolis component of acceleration

2)here let's draw a velocity diagram as follow with the scale of

2 cm=.1 m/s

velocity triangle is given by AB'B, where AB' shows slider velocity along horizontal, AB along the tangent to link 2 or guide, and velocity of pin  BB' inside the guide along the length of the guide, here we know the velocity of AB' but don't know velocity AB and BB' hence draw them along given direction point of intersection is B point, so from the diagram, I get that

Vab'=2 cm=.1 m.s

Vbb'=.9 cm=.045 m/s

Vab=1.9 cm=.095 m/s

where rotational velocity is given by

Vab=Rab*wab

Rab=(.362+.7^2)^.5=.7615 m

wab=0.095/.7615=.1247 rad/s

To know more about rotational motion visit:

https://brainly.com/question/12995374

#SPJ4

Matrix Keypad Scan (5 points). Explain why we have to use external pull-up on the column pins in the keypad lab, instead of internal pull-up provided by each GPIO pin. 3.3V +3.3V +3.3v R2 Output Port (Output from rocsso R3 R4 C1 C2 C3 Input Port (Input to the processor)

Answers

The Raspberry Pi may interact with electronic circuits via the GPIO pins to monitor and control the environment

What are the uses of GPIO pins?The Raspberry Pi may interact with electronic circuits via the GPIO pins to monitor and control the environment. The Pi can operate motors, drive LEDs to turn on or off, and communicate with a variety of other devices.An uncommitted digital signal pin on an electronic circuit (such as an MCU or MPU board) that can be used as an input, output, or both is known as a general-purpose input/output (GPIO). GPIOs are by default unused and serve no known use.A GPIO (general purpose input/output) pin enables you to either deliver output to the user or receive input for your programme from sources other than the CPU.

To learn more about GPIO  refer,

https://brainly.com/question/29240962

#SPJ4

Can you find thevenin equivalent for this example?

Answers

With the load impedance open-circuited, the Thevenin voltage is calculated. Find the voltage at the load terminals that is open-circuit.

Explaining Thevenin's Theorem

Thevenin's Theorem: What is it? According to Thevenin's Theorem, any linear circuit can be made simpler by using a single dc voltage and a series resistance, regardless of how complex it is.

What are Thevenin's theorem's benefits?

It makes the less crucial section of the circuit simpler and makes it possible for us to see the output part's operation in real time. It simplifies a complicated circuit by putting one emf source in series with one resistance.

To know more about Thevenin's Theorem visit:

https://brainly.com/question/28007778

#SPJ1

Two doubles are read as the power and the distance of a SoundWave object. Declare and assign pointer mySoundWave with a new SoundWave object using the power and the distance as arguments in that order. Ex: If the input is 2.5 1.5, then the output is:SoundWave's power: 2.5SoundWave's distance: 1.5Code:#include #include using namespace std;class SoundWave {public:SoundWave(double powerValue, double distanceValue);void Print();private:double power;double distance;};SoundWave::SoundWave(double powerValue, double distanceValue) {power = powerValue;distance = distanceValue;}void SoundWave::Print() {cout << "SoundWave's power: " << fixed << setprecision(1) << power << endl;cout << "SoundWave's distance: " << fixed << setprecision(1) << distance << endl;}int main() {SoundWave* mySoundWave = nullptr;double powerValue;double distanceValue;cin >> powerValue;cin >> distanceValue;/* Your code goes here */mySoundWave->Print();return 0;}

Answers

The power and the distance of a SoundWave object is

SoundWave* mySoundWave = new SoundWave(powerValue, distanceValue);

What is power?

Power is the ability to exercise control or influence over something or someone. It is the capacity to make decisions, take action, and shape events. Power is derived from a position or authority within an organization, while informal power is derived from personal characteristics such as charisma, intelligence, and experience. Power can be used for good or ill, depending on the person wielding it and the situation. The use of power should always be guided by ethics and responsibility, and those in positions of power should strive to build trust and credibility.

To learn more about power

https://brainly.com/question/25864308

#SPJ4

Other Questions
A report based on a review of interim financial information (IFI) would include all of the following elements exceptA. A representation that the financial statements are the responsibility of the auditor.B. A description of the procedures for a review of interim financial information.C. A statement about whether the auditor is aware of any material modifications that should be made to the accompanying financial information so that it conforms with the applicable financial reporting framework.D. An identification of the interim financial information reviewed. What belief allowed Europeans to justify colonization? ethnocentrism? nationalism? assimilation? industrialization? What is the relationship between a 90% confidence interval around a mean and a 95% confidence interval around a mean?. "x/3" is divisionx/3 - 4 = -6what does x equal? Most enslaved people in the south maintained their family histories by including them in call-and-response songs. Passing them down to younger family members. Breaking the law and writing them down. Combining them with stories from the bible. 10+((6-4)*4) equal what Can a single bacterium genus contain different cell morphologies or do they all stick to one kind? How is recall measured in LTM retention?Recall requires subjects to generate information on their own. The two types of recall are cued recall (fill-in-the-blank) and free recall (no cue). All hats are on sale for 22.5% off the original price.Abrien is buying a hat that is originally priced at h.Sales tax is 8.875%.Part A: Which expression would calculate the final priceof a hat?Part B: If the original price of a hat is $42, what is thefinal price of buying four hats after the discount andsales tax? (round your answer to the nearest dollar) Untitled TitleA. Part A: h(0.225)(0.08875)Part B: 41B. Part A: 4h(0.775)(1.08875)Part B: $142C. Part A: h(0.775)(1.08875)Part B: $142D. Part A: h(0.775)(0.08875)Part B: $156 how did the supreme court's ruling in fisher v. university of texas (2013) affect the university of texas's admissions policy? 17Select the correct answer from each drop-down menu.Rita is planting saplings along her garden fence. When she started, she had x packages of saplings with 5 saplings per package. She planted 15saplings and has at most 20 left. How many packages of saplings did she start with? What would the solution look like on a number line graph?When Rita started, she hadwith an arrow to thepackages of saplings. The solution can be represented asResetNext Another way to describe ethnocentrism is as a narrow view in which people see things solely through their own perspective. This is called _____.geocentrismindividualismcollectivismparochialism The most common way that Islam spread to Africa was? Which sentence contains a phrase that requires a hyphen?A Her sunroom is full of potted plants.B Frederick enjoys crossword puzzles after a busy day at work.C My sister is a well liked sophomore in high school.D Jade was unhappy that she had to miss the music festival. what was slavery like in Africa before the Europeans? Please Answer Correctly. the demands that humanity makes on the earth's natural resources are known as its______ , which describes the capacity of the earth to produce useful resources such as water and crops and to absorb waste, such as co2 emissions. q019) what third-party candidate received 19 percent of the popular vote in the 1992 presidential election, the best result for a third-party candidate since theodore roosevelt in 1912? Differences among individual members of a species are called_A. fitnessB. natural selectionC. adaptationsD. variations? Which equations represent circles that have a diameter of 12 units and a center that lies on the y-axis? Select two options. x2 + (y 3)2 = 36 x2 + (y 5)2 = 6 (x 4) + y = 36 (x + 6) + y = 144 x2 + (y + 8)2 = 36