Answer:
The generator delivers current of 500.11 A
Explanation:
Given the data in the question;
mechanical energy delivered to the generator = 1500 hp
efficiency η = 80.0 %
terminal potential difference of the generator = 1790 V
we know that;
1 hp = 746 W
so
the mechanical energy delivered to the generator will be
Generator Input = ( 1500 × 746 )W = 1119000 W
So the generator output will be;
Generator Output = Generator Input × η
we substitute
Generator Output = 1119000 W × 80.0 %
Generator Output = 1119000 W × 0.8
Generator Output = 895200 W
So the Current will be;
\(I\) = Generator Output / terminal potential difference of the generator
we substitute
\(I\) = 895200 W / 1790 V
\(I\) = 500.11 A
Therefore, The generator delivers current of 500.11 A
A two-stage air compressor operates at steady state, compressing 10 m3 /min of air from 100 kPa, 300 K, to 1200 kPa. An intercooler between the two stages cools the air to 300 K at a constant pressure of 350 kPa. The compression processes are isentropic. Calculate the power required to run the compressor, in kW, and compare the result to the power required for isentropic compression from the same inlet state to the same final pressure.
check photos (answer)
Comparing this to the actual power required for the two-stage compressor (242.6 kW), we can see that the actual power required is significantly higher.
What is work done?Work done is the amount of energy transferred to or from a system as a result of a force acting on it over a distance.
To solve this problem, we can use the following steps:
Step 1: Determine the state points of the air at various stages of the compression process.
Stage 1: Inlet state = State 1
P1 = 100 kPa, T1 = 300 K, V1 = 10 m³/min
Stage 2: After the first stage of compression = State 2
P2 = 1200 kPa, T2 = ? (isentropic compression)
Stage 3: After intercooling = State 3
P3 = 350 kPa, T3 = 300 K, V3 = V2
Stage 4: After the second stage of compression = State 4
P4 = 1200 kPa, T4 = ? (isentropic compression)
Step 2: Calculate the temperature and specific volume at states 2 and 4 using the isentropic compression process.
For an isentropic compression process, we have:
(P2/P1)^((γ-1)/γ) = T2/T1
(P4/P3)^((γ-1)/γ) = T4/T3
where γ is the ratio of specific heats for air, which is approximately 1.4.
Solving for T2 and T4, we get:
T2 = T1*(P2/P1)^((γ-1)/γ) = 300*(1200/100)^((1.4-1)/1.4) = 742.6 K
T4 = T3*(P4/P3)^((γ-1)/γ) = 300*(1200/350)^((1.4-1)/1.4) = 892.5 K
Next, we can use the ideal gas law to calculate the specific volume of air at states 2 and 4:
V2 = V1*(P1/P2)(T2/T1) = 10(100/1200)(742.6/300) = 0.1867 m³/kg
V4 = V3(P3/P4)(T4/T3) = 10(350/1200)*(892.5/300) = 0.2604 m³/kg
Step 3: Calculate the work done in each stage of the compressor.
For an isentropic compression process, the work done can be calculated using the following equation:
W = (mCp)(T2-T1) = (mCp)(T4-T3)
where m is the mass flow rate of air, which can be calculated using the specific volume and inlet volumetric flow rate:
m = V1/(v160) = 10/(0.831460) = 0.2016 kg/s
Cp is the specific heat at constant pressure for air, which is approximately 1.005 kJ/kg-K.
Thus, the work done in each stage of the compressor is:
W1 = (0.20161.005)(742.6-300) = 77.2 kW
W2 = (0.20161.005)(892.5-300) = 116.9 kW
The total work done by the compressor is:
W_total = W1 + W2 = 77.2 + 116.9 = 194.1 kW
Step 4: Calculate the power required to run the compressor.
The power required to run the compressor can be calculated using the following equation:
Power = W_total/η
where η is the compressor efficiency.
We are not given the efficiency, but for a two-stage compressor, a reasonable estimate for η is reasonable estimate for the efficiency of a two-stage compressor is around 75-85%. Therefore, we can assume η = 0.8.
Using this efficiency value, the power required to run the compressor is:
Power = W_total/η = 194.1/0.8 = 242.6 kW
Step 5: Compare the result to the power required for isentropic compression from the same inlet state to the same final pressure.
For isentropic compression from the same inlet state to the same final pressure, the work done can be calculated using the following equation:
W = (mCp)(T2-T1) = (mCp)(T4-T3) = (m*Cp)*ΔT
where ΔT = T2-T1 = T4-T3 = 442.5 K
Thus, the work done for isentropic compression is: W_iso = (0.2016*1.005)*442.5 = 89.1 kW
For more details regarding work done, visit:
https://brainly.com/question/13662169
#SPJ2
an aerial photograph taken at 3000m above ground surface, the top and bottom distances of a telecommunication tower are 4.65cm and 4.5cm from the principal point, the bottom of the tower is 2700 above mean sea level.
determine tower height.
Consider the following parameters of a virtual memory system: Virtual Address (bits): 33 Page Size: 4 KB PTE Size (byte): 4 For a single-level page table, how many page table entries (PTE) are needed? For a single-level page table, how much physical memory is needed for storing the page table?
8 MB Physical memory needed to storing for page table.
How to solveGiven
Virtual address = 33 bit.= 2³³ B
Page Number (P) Page Size (d)
21 12
Page Size = 4KB= 4*2¹⁰ B= 2²*2¹⁰ B (12 bit)
( 1K = 2¹⁰).
Total Number of Page (P) =
Virtual address Size/ Page Size
= 2³³B/ 2¹²B
= 2²¹ .
Page Table data structure used to mapping between Virtual Address and Physical Address.
page table contains all information about every page in PTE (Page Table Entry) .
In one PTE contain information of one page.
Size of Page Table
= Number of Page * Size of PTE
= 2²¹ * 4 B
= 2²¹ * 2² B
= 2²³ B
= 2³ MB. ( 1M = 2²⁰)
= 8MB.
8 MB Physical memory needed to storing for page table.
Read more about virtual memory here:
https://brainly.com/question/13088640
#SPJ1
A spherical ball has 3cm internal diameter and its inner surface temperature is 250˚C and the outer surface temperature is 30˚C. Calculate the outer diameter of the ball if the heat loss from the ball is 1600W and has 2.75W/m.˚C thermal conductivity.
Answer:
The outer diameter of the ball is 6.2138 cm
Explanation:
The formula to apply is ;
Heat loss ,
\(Q/t=kA*\frac{( T_1-T_2)}{d}\)
where ;
Q/t=total heat loss from the ball = 1600 w
k=coefficient of heat transmission through the ball= 2.75 W/m.˚C
A=area in m² of the ball with the coefficient of heat transmission
T₁=Hot temperature
T₂=Cold temperatures
d=thickness of the ball
Area of spherical ball using internal diameter, 3cm= 0.03 m will be
Radius = half the diameter = 0.03/2 = 0.015
Area = 4 *π*r²
Area = 4*π*0.015² = 0.002827 m²
Apply the formula for heat loss to get the thickness as:
1600 = {2.75 * 0.002827 *(250-30 ) }/d
1600 =1.711/d
1600d = 1.711
d=1.711/1600 = 0.001069 m
d= 0.1069
Using internal radius and the thickness to get outer radius as;
3 + 0.1069 = 3.1069 cm
Outer diameter will be twice the outer radius
2*3.1069 = 6.2138 cm
The MSP430F20x is a microcontroller with 64 KiB of address space divided between code memory (flash), RAM memory, and input/output peripherals. It has 2,048 Bytes of RAM memory starting at the address 0x0200, and 256 Bytes of address space reserved for special purpose registers and 8-bit input/output peripherals (starting at the address 0x0000) followed by 256 Bytes reserved for 16-bit input/output peripherals. The flash memory of 16 KiB resides at the top of address space (highest addresses in the address space).C. Determine the address map by filling in the following table.Address Byte Address (hexadecimal) Sections in address spaceLast Flash Address Flash MemoryFirst Flash Address Flash MemoryLast RAM address RAM MemoryFirst RAM address RAM MemoryLast I/O address (16-bit per.) I/O address spaceFirst I/O address (16-bit per.) Last I/O address (8-bit per.) I/O address spaceFirst I/O address (8-bit per.) What is the maximum stack size in the MSP430Fx described above? What should be the initial value of SP? Using RTL notation, describe operations carried out to execute the following two instructions: PUSH R9 and POP R9.Stack size: __________________BytesInitial stack pointer: SP =PUSH R9:POP R9:
Address Byte Address (hexadecimal) Sections in address space
Last Flash Address FFFF Flash Memory
First Flash Address C000 Flash Memory
Last RAM address 03FF RAM Memory
First RAM address 0200 RAM Memory
Last I/O address (16-bit per.) 01FF I/O address space
First I/O address (16-bit per.) 0100 I/O address space
Last I/O address (8-bit per.) 00FF I/O address space
First I/O address (8-bit per.) 0000 I/O address space
Maximum stack size is 1792 bytes.
Initial value of SP should be 0x025E.
PUSH R9: SP is decremented by 2, and the value in R9 is stored at the new SP address.
POP R9: The value at the current SP address is loaded into R9, and SP is incremented by 2.
How much RAM memory is available in the MSP430F20x, and what is its starting address?The MSP430F20x microcontroller has 2,048 Bytes of RAM memory available, starting at the address 0x0200 in the address space. This RAM memory can be used for storing program variables, data, and stack operations. The RAM memory is divided into multiple segments, including general-purpose registers, stack memory, and system registers. The starting address of the RAM memory is important to know when programming the microcontroller and accessing its memory.
To know more about Microcontroller visit:
https://brainly.com/question/15054995
#SPJ4
A contractor is required by a county planning department to submit 1, 2, 3, 4, or 5 forms (depending on the nature of the project) when applying for a building permit. Let y denote the number of forms required for an application, and suppose the mass function is given by p(y) = cy for y = 1, 2, 3, 4, or 5. Determine the value of c, as well as the long-run proportion of applications that require at most three forms and the long-run proportion that require between two and four forms, inclusive.
The probability 2/5 of the applications require at most three forms, and 3/5 of the applications require between two and four forms, inclusive.
We know that the sum of probabilities of all possible outcomes must be equal to 1. Therefore, we have:
p(1) + p(2) + p(3) + p(4) + p(5) = c(1 + 2 + 3 + 4 + 5) = 15c
Since this sum must be equal to 1, we have:
15c = 1
c = 1/15
Now, we can find the probabilities for the events:
Probability of requiring at most three forms:
P(y ≤ 3) = p(1) + p(2) + p(3) = (1/15)(1 + 2 + 3) = 6/15 = 2/5
Probability of requiring between two and four forms, inclusive:
P(2 ≤ y ≤ 4) = p(2) + p(3) + p(4) = (1/15)(2 + 3 + 4) = 9/15 = 3/5
Therefore, in the long run, 2/5 of the applications require at most three forms, and 3/5 of the applications require between two and four forms, inclusive.
To know more about probability, visit: brainly.com/question/30034780
#SPJ4
1. In a safe approach to electrical work,
what should you always do immediately
before touching any electrical conductor?
A. Remove all electrical loads from the
circuit.
B. Check the condition of all circuit
breakers in the load center.
O C. Measure the voltage on the conductor
with a known good meter.
O D. Consult the NEC.
Answer:
D. Measure the voltage on the conductor with a known good meter
Explanation:
In a safe approach to electrical work,the thing that you should always do immediately before touching any electrical conductor is C. Measure the voltage on the conductor with a known good meter.
What should be done immediately before touching any electrical conductor?One should never touch any wires or conductors until you are certain that their electrical supply has been turned off. Circuits must be locked out and marked with a tag to prevent re-energizing them. A conductor is always risky. Before working on a circuit, always test to make sure it is deenergized.
The action you should always do right away before touching any electrical conductor is the safest approach to electrical work. Use a reputable meter to measure the voltage across the conductor.
Learn more aboutconductor at;
https://brainly.com/question/30759857
#SPJ3
You should have at least a ___ mph speed advantage when passing another vehicle
A driver should have at least a 10 mph speed advantage when overtaking (passing) another vehicle.
What is a speed limit?A speed limit refers to the maximum amount of speed that is legally permitted or allowed in a specific area for safety. Thus, this limit must be abided and strictly adhered to by all road users such as drivers of a vehicle.
According to the highway traffic code and regulations, a driver should have at least a 10 mph speed advantage when overtaking (passing) another vehicle.
Read more on safety here: https://brainly.com/question/14751268
#SPJ12
anxiety: a. is never normal. b. is common of many psychological disorders c. is identical to fear d. is a modern development, unlikely to have roots in human history
Answer:
B
Explanation:
Anxiety is very common especially nowadays but it's especially common in psychological disorders
Write a java program to do the following :
1- Reflecting the shape with the points :
( 160, 130 ), ( 220, 130), ( 220, 160 ), ( 190, 180 ) , ( 160, 160 )
about the line Y = - X + 500
2- Drawing the following shapes using loop and the methods
moveTo(), forward(), left(), right()
Here is a Java program that accomplishes the given tasks:
import java.awt.*;
import java.awt.geom.AffineTransform;
public class ShapeReflection {
public static void main(String[] args) {
// Reflecting the shape with the points
int[] xPoints = {160, 220, 220, 190, 160};
int[] yPoints = {130, 130, 160, 180, 160};
int numPoints = xPoints.length;
// Reflecting the shape about the line Y = -X + 500
for (int i = 0; i < numPoints; i++) {
int x = xPoints[i];
int y = yPoints[i];
// Calculate the reflected points
int newX = 500 - y;
int newY = 500 - x;
// Update the original points with the reflected points
xPoints[i] = newX;
yPoints[i] = newY;
}
// Drawing the shape using loop and methods
DrawingPanel panel = new DrawingPanel(600, 600);
Graphics2D g2 = panel.getGraphics();
g2.setColor(Color.BLACK);
g2.drawPolygon(xPoints, yPoints, numPoints);
}
}
This program uses the `java.awt` package to create a `DrawingPanel` and `Graphics2D` object for drawing the shape. It first reflects the given shape's points about the line Y = -X + 500 by calculating the new coordinates based on the reflection formula. Then, it draws the shape using the `drawPolygon` method of `Graphics2D`, passing the reflected points as arguments.
Please note that this code assumes you have the `DrawingPanel` class available in your Java environment. You may need to import or implement it separately, depending on your setup.
For more questions on java, click on:
https://brainly.com/question/30931614
#SPJ8
What is code in Arduino to turn led on and off
here's your answer..
Oxygen combines with nitrogen in the air to form NOx at about
A. 1500
B. 2500
C.50
D.000
Oxygen combines with nitrogen in the air to form NO at about 2500 celsius.
What combines nitrogen and oxygen in the air?
The enormous energy of lightning breaks nitrogen molecules and enables their atoms to combine with oxygen in the air forming nitrogen oxides. These dissolve in rain, forming nitrates, that are carried to the earth.
At these high temperatures, nitrogen and oxygen from the air combine to produce nitrogen monoxide. One nitrogen molecule (N2) reacts with one oxygen molecule (O2) to make two nitrogen monoxide molecules (NO).
Learn more about NO here:
https://brainly.com/question/27548777
#SPJ2
You have the assignment of designing color codes for different parts. Three colors are used on each part, but a combination of three colors used for one part cannot be rearranged and used to identify a different part. This means that in green, yellow and violet were used to identify a cam shaft, yellow, violet and green (or and combination of these three colors) could not be used to identify a pinion gear. If there are 35 combinations, how many colors are available
Answer:
7 available
Explanation:
Since 3 colors are available r = 3
Total combination = 35
nCr = 35 ---1
nCr = n!/(n-r)!r!---2
We put equation 1 and 2 together
n-1)(n-2)(n-3)!/n-3)! = 35x 3!
We cancel out (n-3)!
(n-1)(n-2) = 210
7x6x5 = 210
nC3 = 35
7C3 = 35
So If there are 35 combinations, 7 colors are available.
Thank you!
The available colors are illustrations of combination, and there are 7 colors available.
The given parameters are:
\(Total = 35\) --- the number of combinations
\(r = 3\) -- the number of colors in one combination.
The number of combinations is calculated using:
\(Total = ^nC_r\)
Where n represents the number of colors available.
So, we have:
\(35= ^nC_3\)
Apply combination formula
\(35= \frac{n!}{(n - 3)!3!}\)
Expand the numerator
\(35= \frac{n(n - 1)(n - 2)(n - 3)!}{(n - 3)!3!}\)
Cancel out the common factors
\(35= \frac{n(n - 1)(n - 2)}{3!}\)
Expand
\(35= \frac{n(n - 1)(n - 2)}{3 \times 2 \times 1}\)
\(35= \frac{n(n - 1)(n - 2)}{6}\)
Multiply both sides by 6
\(210= n(n - 1)(n - 2)\)
Rewrite the equation as
\(n(n - 1)(n - 2) = 210\)
Using a graphing calculator, we have:
\(n = 7\)
Hence, the number of colors available is 7
Read more about combination at:
https://brainly.com/question/4519122
Design a double angle section for the lower chord of the roof truss depicted below. Allow for a double row of bolt holes in the larger leg. The smaller leg of the double angle used for the lower chord does not have bolts. Finally, assume no fewer than 3 bolts per line in the direction of the load. Use ASD.
ok zcxnlegdjbfxbkqlu
jksdczruiorth
Which type of engineer finds his or her skills needed in the electronics, architectural, medical, and aerospace industries?
nuclear engineer
chemical engineer
biomedical engineer
mechanical engineer
Answer:
mechanical engineer
Explanation:
Type the correct answer in the box. Spell all words correctly.
Thomas is checking an electrical wire in a washroom with a wet floor. What in the electrical wire will help prevent electrical shock
Thomas is checking an electrical wire in a washroom with a wet floor. Ground-fault circuit interrupters in the electrical wire will help prevent electrical shock.
What is Ground-fault circuit interrupters?The ground-fault circuit interrupter, or GFCI, is a quick-response circuit breaker that may cut off electricity in as little as 1/40 of a second in the event of a ground fault.
It compares the current flowing into and out of the machinery along the conductors of the circuit.
Therefore, electrical shock can be avoided with the aid of ground-fault circuit interrupters in the electrical line.
To learn more about GFCIs, refer to the link:
https://brainly.com/question/12615861
#SPJ1
... is an actual sequence of interactions (i.e., an instance) describing one specific situation; a ... is a general sequence of interactions (i.e., a class) describing all possible ... associated with a situation. ... are used as examples and for clarifying details with the client. ... are used as complete descriptions to specify a user task or a set of related system features.
Answer:
ScenarioUse caseScenariosScenariosUse caseExplanation:
A scenario is an actual sequence of interactions (i.e., an instance) describing one specific situation; a use case is a general sequence of interactions (i.e., a class) describing all possible scenarios associated with a situation. Scenarios are used as examples and for clarifying details with the client. Use cases are used as complete descriptions to specify a user task or a set of related system features.
FILL IN THE BLANK. a ______ has three leads identified as base, collector, and emitter.
The emitter, collector, and base—or, in more recent switching applications, the source, drain, and gate—are the three electrical leads that commonly make up a transistor.
transistor: a semiconductor signal-generating, regulating, and amplifying device. Integrated circuits, or "microchips," which frequently have billions of these tiny components etched onto their glossy surfaces, use transistors as their active parts.
Transistors, which are present in practically every electronic component, have evolved into the brain cells of the information age. The ability of the semiconductor material to conduct electrical current, which in most applications moves between the emitter (or source) and collector (or drain), is influenced by an electrical signal supplied to the base (or gate). Similar to how a faucet valve is used to control the flow of water through a garden hose, a voltage source, such as a battery, drives the current, but the rate of current flow through the transistor at any one time is controlled by an input signal at the gate.
Nowadays, transistors are used in millions of components per integrated circuit in microprocessors and computer memory microchips, which include solid-state multimedia storage systems for electronic games, cameras, and MP3 players. Here, whether current may flow from the transistor's source to its drain is determined by the voltage applied to the gate electrode, which is typically a few volts or less.
To know more about transistors:
brainly.com/question/1426190
#SPJ4
Multiple Select
In the following list, what are criteria that would be important to someone buying a Jersey cow
milk production
health
Speed
age
hoof color
Answer:
Milk Production, Health, and Age.
Explanation:
You want a younger cow when buying cattle so you can have gather more milk from it over it's lifetime. You also want to make sure that it can actually produce milk. Then you want a cow in good health.
Proper operation of electric deicing boots on individual propeller blades may best be determined by
a. feeling the sequence of boot heating and have an assistant observe the loadmeter indications.
b. observing the ammeter or loadmeter for current flow.
c. feeling the boots to see if they are heating.
Proper operation of electric deicing boots on individual propeller blades may best be determined by feeling the sequence of boot heating and have an assistant observe the loadmeter indications.
What is Proper operation?The electrical meters that utility companies install frequently contain a load meter, a gadget. This gauge's main purpose is to show the maximum amount of electricity used since the monitor was last read, typically to see whether there have been any recent power surges that would invalidate the other readings.
The technology can be used by homeowners to figure out how to save energy and when they use electricity the most.
It is simpler to track levels of energy conservation when load meters additionally feature a separate indication that measures the current voltage (amperes) being pulled from the utility company in real time.
Therefore, Proper operation of electric deicing boots on individual propeller blades may best be determined by feeling the sequence of boot heating and have an assistant observe the loadmeter indications.
To learn more about Load meter, refer to the link:
https://brainly.com/question/10256865
#SPJ1
The angle of attack of a wing directly controls the A) angle of incidence of the wing. B) amount of airflow above and below the wing. C) distribution of pressures acting on the wing.
The angle of attack of a wing directly controls the C) distribution of pressures acting on the wing.
When the angle of attack of a wing is increased, the air moving over the curved upper surface of the wing must travel a greater distance and faster than the air moving beneath the wing's flat lower surface. This creates an area of lower air pressure above the wing and an area of higher air pressure beneath the wing, resulting in lift. The greater the angle of attack, the greater the lift produced.
However, if the angle of attack is too great, the airflow over the wing may separate, causing a loss of lift and potentially leading to a stall. Therefore, proper control of the angle of attack is crucial for safe and efficient flight.
Option C is answer.
You can learn more about angle of attack at
https://brainly.com/question/30746770
#SPJ11
4. A 1.5 kg turtle crawls in a straight line at a speed of 0.51 m/sec. What is the turtle's
momentum???
Answer: 0.765 m kg / s
Explanation:
Momentum = (mass) x (speed)
All machines have three fundamental hazards: moving parts, point of operation, and?
Answer:
All machines have three fundamental hazards: moving parts, point of operation, and the power transmission.
Explanation:
The unit that supplies power to the machine is a critical hazard due to high energy sources being potential fatal if proper protocols are not followed. This is why lockout tagout (LOTO) measures are put in place in order to protect people while they work on equipment.
4. a. A family purchased a 3 acre piece of land in Limuru for Kshs.30,000,000.00 fifteen years ago. They planted trees at a cost of Kshs.250,000.00 per acre. Each year they have been spending on average Kshs.25,000.00 per acre per month to take care of the trees and also to secure the property. They are now considering selling it. What is the minimum amount they should accept so as not to incur a loss bearing in mind that comparable properties have been yielding a rate of 6.5% interest per annum? (8 marks)
b. “Compulsory acquisition is the power of government to acquire private rights in land for public good without the willing consent of the owner but; in exchange for compensation”. Discuss this statement with special reference to the main considerations that ought to be made in conducting a valuation for compulsory acquisition. (12 marks)
The family should accept a minimum of Kshs.42,250,000.00 to avoid incurring a loss.
Why should they accept this amount and why?To obtain the total cost, the expenses for the land, trees and upkeep are summed up and subsequently reduced by 6. 5% using a discount rate.
Hence, it can be seen that a forced acquisition appraisal primarily focuses on three key factors: the land's market value, the expenses involved in replacing the property, and the potential harm caused to the owner's belongings.
Read more about yield rate here:
https://brainly.com/question/457082
#SPJ1
Given the following code, explain what it does. const char * mysterious (const char *s, char f, long & w) const char * p = S; while (p != f &p != '\0') p++; WE (âp != '\0' ? P-S : -1); P = (p = '\0' ? P: nullptr): return p: A) calculates the length of the C-string-S-returning this in wand a pointer to the null character in p B) (linear) searches a C-string-s-for a certain character-f-returning (via w) the offset it found or -1 if not and the address (via p) if found or nullptr if not C) (binary) searches a C-string-s-for a certain character-f-returning (via w) the offset if found or -1 if not and the address (via p) if found or nullptr if not D) sorts the C-string-S-into descending or ascending order based on whether wis - 1 or not E) validates the theories espoused by various religious sects of the Disc World that no good deed goes unpun- ished and no good punishment is truly needed - most of the code is actually syntactic sugar, as such
(linear) searches a C-string --s-- for a certain character --f-- returning (via w) the offset it found or -1 if not and the address (via p) if found or nullptr if not. Option B.
The code starts by declaring a function called "mysterious" which takes in a C-string (s), a character (f), and a long variable (w) by reference. The function also returns a pointer to a character.
Inside the function, a new pointer variable "p" is created and assigned the value of "s". A while loop is then started which continues until either the character pointed to by "p" is equal to "f" or it reaches the end of the string ('\0').
Inside the while loop, "p" is incremented to point to the next character in the string. Once the loop ends, the function checks if the character pointed to by "p" is the null character ('\0'). If it is, it means the character "f" was not found in the string, so the function sets "p" to a nullptr and returns it.
If the character pointed to by "p" is not the null character, it means "f" was found in the string. The function then calculates the offset of "f" in the string by subtracting the starting address of the string "s" from the address pointed to by "p". This value is stored in the long variable "w".
Finally, the character pointed to by "p" is set to the null character ('\0'), effectively truncating the string at the location of "f". The function then returns the pointer variable "p".
Learn more about long: https://brainly.in/question/18332510
#SPJ11
who ever answers this gets 25 NON COSTLY points
Answer:
"cool"
Explanation:
knowing that the mass of the uniform bar be is 6.6 kg, determine, at this instant, the magnitude of the angular velocity of each rope.(you must provide an answer before moving on to the next part.)
We also need to apply the principles of rotational motion, such as conservation of angular momentum and torque.
What is the direction of the angular velocity of each rope?A uniform bar and two ropes, but you haven't provided enough information for me to give you a specific answer.
In general, to determine the magnitude of the angular velocity of each rope, we need to know the geometry of the system and the forces acting on it. We also need to apply the principles of rotational motion, such as conservation of angular momentum and torque.
Learn more about Angular velocity
brainly.com/question/13870604
#SPJ11
State Conditions necessary for static equilibrium of a particle of a rigid body
Answer:
Conditions for equilibrium require that the sum of all external forces acting on the body is zero (first condition of equilibrium), and the sum of all external torques from external forces is zero (second condition of equilibrium). These two conditions must be simultaneously satisfied in equilibrium.
Hi there!
For a particle to be in static equilibrium:
\(\huge\boxed{\Sigma \tau = 0}}\)
The sum of torques acting on the particle must equal 0 Nm.
\(\huge\boxed{\Sigma F = 0}}\)
The sum of forces acting on the particle must equal 0 N.
Both of these conditions MUST be met in order for a particle to be in STATIC equilibrium.
A light weight vehicle traveling 50 mph can stop in approximately
a. 200 meters.
b. 5 blocks.
c. 200 feet.
d. 6 seconds.
A light weight vehicle traveling 50 mph can stop in approximately 200 feet.
How a car break works?
The break system of a car is composed by several items that are always working together to slow down and bring a vehicle to a complete stop. It also has the function of keeping the car stationary when it is parked. In general, this system has two manual activation modes: the lever and the pedal, with the exception of vehicles adapted for people with disabilities.
Most vehicles today use the disc brake system. Disc brakes work by using pads, which are held inside a hydraulic caliper, receiving pressure to brake. Such pads generate friction on a disc, which makes the vehicle stop permanently.
The drum brake is another type, being older and dependent on the famous linings to cause friction in the wheel and stop the vehicle. A hydraulic cylinder makes the plies move inside the drum, which is a hollow part fastened with screws and attached to the wheels. This type of brake is on the rear wheels, for the most common models.
See more about engineering at: brainly.com/question/19117846
#SPJ1
if the inherent availability of a system is 0.92 when MTBF is 220 hrs, what is the maximum value of MTTR. If we consider Logistic time for support as 30% of total down time, what will be the operational availability?
The operational availability, considering the logistic time for support, is approximately 0.643 or 64.3%. We need to use the formulas related to availability and MTTR.
1. Maximum Value of MTTR:
The formula for availability is given as:
Availability = MTBF / (MTBF + MTTR)
Given that the inherent availability of the system is 0.92 and the MTBF is 220 hours, we can rearrange the formula to solve for MTTR:
0.92 = 220 / (220 + MTTR)
Solving for MTTR:
0.92 * (220 + MTTR) = 220
202.4 + 0.92 * MTTR = 220
0.92 * MTTR = 17.6
MTTR = 17.6 / 0.92
MTTR ≈ 19.13 hours
Therefore, the maximum value of MTTR is approximately 19.13 hours.
2. Operational Availability considering Logistic Time for Support:
The operational availability (Ao) can be calculated by considering both the inherent availability (Ai) and the logistic time for support (LTS) as follows:
Ao = Ai * (1 - LTS)
Given that the logistic time for support is stated as 30% of the total downtime, we can calculate it as follows:
LTS = 0.30 * (MTTR + LTS)
Simplifying the equation:
LTS = 0.30 * MTTR / (1 - 0.30)
Now, we can substitute the value of MTTR we obtained earlier:
LTS = 0.30 * 19.13 / (1 - 0.30)
LTS ≈ 0.30 * 19.13 / 0.70
LTS ≈ 8.25 hours
Finally, we can calculate the operational availability:
Ao = Ai * (1 - LTS)
Ao = 0.92 * (1 - 8.25 / (MTTR + LTS))
Ao = 0.92 * (1 - 8.25 / (19.13 + 8.25))
Ao ≈ 0.92 * (1 - 8.25 / 27.38)
Ao ≈ 0.92 * (1 - 0.301)
Ao ≈ 0.92 * 0.699
Ao ≈ 0.643
Learn more about Operational Availability here : brainly.com/question/13153184
#SPJ11