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
Serga [27]
3 years ago
7

a triangle is defined by the three vertices. write the following functions of the triangle class assume that the point class has

already been written for you you may add helper functions as needed
Engineering
1 answer:
Fofino [41]3 years ago
3 0

Answer:

The triangle() function is an inbuilt function in p5.js which is used to draw a triangle in a plane. This function accepts three vertices of triangle.

Syntax:

triangle(x1, y1, x2, y2, x3, y3)

Below programs illustrates the triangle() function in p5.js:

function setup() {  

   createCanvas(400, 400);  

}  

 

function draw() {  

   background(220);  

   fill('lightgreen');  

 

   // A triangle at (100, 250), (250, 170) and (330, 300)    

   triangle(100, 250, 250, 170, 330, 300);  

}  

You might be interested in
What’s the answer please help
irina1246 [14]

Answer:

It B

Explanation:

4 0
2 years ago
Where does Mr. Teller work? What do they do there?
natulia [17]

Most business owners begin his business in order to increase profit and to expand.

<h3>What are Business Practices?</h3>

This refers to the various ways in which a business owner decides to organize his business and the policies which guides it.

With this in mind, we can see that Mr X believes that it is a good business practice to <em>prioritize the work</em> that seems the most difficult and the most likely to kill their projects but this is not a good business practice because it can put the entire business in jeopardy.

Please note that your question is incomplete so I gave you a general overview so that you could get a better understanding of the concept.

Read more about business practises here:
brainly.com/question/1343903

7 0
2 years ago
Sketch T-s and p-v diagrams for the Diesel cycle.
labwork [276]

Answer:

Diesel cycle:

    All diesel engine works on diesel cycle.It have four processes .These four processes are as follows

1-2.Reversible adiabatic compression

2-3.Heat addition at constant pressure

3-4.Reversible adiabatic expansion

4-1.Heat addition at constant volume

When air inters in the piston cylinder after that it compresses and gets heated due to compression after that heat addition take place at constant pressure after that power is produces when piston moves to bottom dead center.

From the diagram of P-v And T-s we can understand so easily.

3 0
3 years ago
Natalie solved the problem below incorrectly. Identify his error and justify your reasoning. −19+3x−11+2x=2 5x−19−11=2 5x−30=2 5
arsen [322]
5x-30=2
5x=2+30 (not -28) when the -30 is brought over to the RHS, 30 should be added to 2 instead of subtracted

hence, 5x=32
x = 6.4
5 0
2 years ago
Explain the greenhouse effect and its connection to global warming?
worty [1.4K]

Answer:

The 'greenhouse effect' is the warming of climate that results when the atmosphere traps heat radiating from Earth toward space.

Explanation:

Certain gases in the atmosphere resemble glass in a greenhouse, allowing sunlight to pass into the 'greenhouse,' but blocking Earth's heat from escaping into space. The gases that contribute to the greenhouse effect include water vapor, carbon dioxide (CO2), methane, nitrous oxides, and chlorofluorocarbons (CFCs).

On Earth, human activities are changing the natural greenhouse. Over the last century the burning of fossil fuels like coal and oil has increased the concentration of atmospheric CO2. This happens because the coal or oil burning process combines carbon (C) with oxygen (O2) in the air to make CO2. To a lesser extent, the clearing of land for agriculture, industry, and other human activities have increased the concentrations of other greenhouse gases like methane (CH4), and further increased (CO2).

The consequences of changing the natural atmospheric greenhouse are difficult to predict, but certain effects seem likely:

- On average, Earth will become warmer. Some regions may welcome warmer temperatures, but others may not.

- Warmer conditions will probably lead to more evaporation and precipitation overall, but individual regions will vary, some becoming wetter and others dryer.

- A stronger greenhouse effect will probably warm the oceans and partially melt glaciers and other ice, increasing sea level. Ocean water also will expand if it warms, contributing to further sea level rise.

- Meanwhile, some crops and other plants may respond favorably to increased atmospheric CO2, growing more vigorously and using water more efficiently. At the same time, higher temperatures and shifting climate patterns may change the areas where crops grow best and affect the makeup of natural plant communities.

6 0
3 years ago
Other questions:
  • Which statement about direct-mail messages is most accurate? Group of answer choices Direct mail is an effective channel for per
    15·1 answer
  • Two technicians are discussing solder wire repair. Technician A says that electrical tape can be used to cover the joint. Techni
    10·1 answer
  • The two boxcars A and B have a weight of 20000lb and 30000lb respectively. If they coast freely down the incline when the brakes
    11·1 answer
  • There are two questions about SolidWorks.
    9·1 answer
  • Problem 4.041 SI Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26oC with a vo
    8·1 answer
  • Which section of business plan should be the bulk of the plan
    7·1 answer
  • Describe the are of mechanical engineering
    6·2 answers
  • Ma puteti ajuta cu un argument de 2 pagini despre inlocuirea garniturii de etansare de pe pistonul etrierului de franare la un a
    10·1 answer
  • The following laboratory test results for Atterberg limits and sieve-analysis were obtained for an inorganic soil. [6 points] Si
    14·1 answer
  • A tank with a volume of 40 cuft is filled with a carbon dioxide and air mixture. The pressure within the tank is 30 psia at 70oF
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!