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
Whitepunk [10]
3 years ago
14

Draw perpendicular lines based on the info in the image.

Engineering
1 answer:
Over [174]3 years ago
5 0
Wait let me try it…..
You might be interested in
Do not use C++ pointers (this is not a topic of this course).
noname [10]

The program is an illustration of functions in C++

C++ functions are collection of named program statements that are executed when called

<h3>The C++ program</h3>

The program in C++, where comments are used to explain each action is as follows:

#include <iostream>

#include <cmath>

using namespace std;

//This defines the boolean method

bool isoscelesTriangleHeightAndArea(double base, double hypotenuse, double height, double area) {

   //This checks for invalid base and height

   if(base < 0 || hypotenuse < 0){

       return false;

   }

   //This returns true if base and height are valid

   return true;

}

//The main begins here

int main(){

   //This initializes the variables

   double base, hypotenuse, height, area;

   //This gets input for base and hypotenuse

   cout<<"Base: ";    cin>>base;

   cout<<"Hypotenuse: "; cin>>hypotenuse;

   //The calls the boolean method

   bool success = isoscelesTriangleHeightAndArea(base, hypotenuse, height, area);

   //If success is True

   while (success){

       //This calculates height

       height = sqrt(hypotenuse*hypotenuse - (base/2) * (base/2));

       //This calculates area

       area = 0.5 * base * height;

       //This prints height

       cout << "Triangle height is " << height << endl;

       //This prints area

       cout << "Triangle area is " << area << endl;

       //This gets input for base and hypotenuse

       cout<<"Base: ";    cin>>base;

       cout<<"Hypotenuse: "; cin>>hypotenuse;

       bool success = isoscelesTriangleHeightAndArea(base, hypotenuse, height, area);

   }

   cout << "Invalid Input!" << endl;

}

Read more about C++ programs at:

brainly.com/question/24833629

#SPJ1

4 0
2 years ago
1) When you invest in stock, what are you doing?
statuscvo [17]

<u>Explanation:</u>

1) When we invest in stock it means we are investing in long term investment. It includes risk factor also.

2) We can make money from stocks by retaining them for a long period and selling them when their price rises.

3) dividends are paid out of distributable profits. Some companies provide dividends regularly which act as a regular source of income for investors.

4) Capital gain is the benefit obtained on selling a capital asset and if we face loss on selling the capital asset it results in capital loss. Capital assets are like stock, bonds, properties, etc.

7 0
4 years ago
What historical event allowed both aerospace fields to make enormous strides forward?
Lostsunrise [7]

Answer:

The world wars. Especially world War II

Explanation:

The world wars were the single most notable events that led to the leap in development of the aircraft from a simple apparatus capable of flight to a sophisticated flight machine. Airplane production was at its maximum during these periods (especially world war II) and has never seen that capacity of production again since. Countries focused on research that could add even the slightest enhancements to their aircraft in order to for it to surpass that of other countries.

6 0
3 years ago
Modify any of the previous labs which would have crashed when non-numeric data was entered by adding exception handling so that
Mashutka [201]

Answer:

see explaination

Explanation:

import java.util.InputMismatchException;

import java.util.Scanner;

public class calculate {

static float a=0,b=0;

double cal()

{

if(a==0||b==0)

{

System.out.println("no values found in a or b");

start();

}

double x=(a*a)+(b*b);

double h=Math.sqrt(x);

a=0;

b=0;

return h;

}

float enter()

{

float val=0;

try

{

System.out.println("Enter side");

Scanner sc1 = new Scanner(System.in);

val = sc1.nextFloat();

return val;

}

catch(InputMismatchException e)

{

System.out.println("Enter correct value");

}

return val;

}

void start()

{

calculate c=new calculate();

while(true)

{

System.out.println("Enter Command");

Scanner sc = new Scanner(System.in);

String input = sc.nextLine();

switch(input)

{

case "A":

a=c.enter();

break;

case "B":

b=c.enter();

break;

case "C":

double res=c.cal();

System.out.println("Hypotenuse is : "+res);

break;

case "Q":

System.exit(0);

default:System.out.println("wrong command");

}

}

}

public static void main(String[] args) {

calculate c=new calculate();

c.start();

}

}

7 0
3 years ago
Concerned with the number of maintenance visits the rocket can undergo before being out of service, you have been informed that
Ainat [17]

Answer:

(a) Mn = M₁ + (n-1) (M₂ -M₁) = 1 + (n- 1) 1 = n (b) n > 10 (exceed 10) or n =11 (c) n >50 or n= 51

After making a journey of 51 times, the rocket will be discarded

Explanation:

Solution

(a) Let Mn denotes the number of  maintenance visits after the nth journey

Then M₁ = 1 , M₂ = 1 +M₁ = 2, M₃ = 1 +M₂ = 3

We therefore, notice that M follows an arithmetic sequence

So,

Mn = M₁ + (n-1) (M₂ -M₁)

= 1 + (n- 1) 1 = n

or Mn =n

(b)  For what value of n we will get  fro Mn > 10

Thus,

n > 10 (exceed 10) or n =11

(c)Similarly of Mn is greater than 50 or Mn>50, the rocket will not be used or reused

So,

n >50 or n= 51

After making a journey of 51 times, the rocket will be discarded

7 0
4 years ago
Other questions:
  • A square isothermal chip is of width w = 5 mm on a side and is mounted in a substrate such that its side and back surfaces are w
    7·1 answer
  • As an input signal drives the base voltage in a positive direction, base current will_____ and collector current will _____.
    5·1 answer
  • A liquid water turbine receives 2 kg / s water at 2000 kPa, 20°C with a velocity of 15 m / s . The exit is at 100 kPa, 20°C, a
    6·1 answer
  • Why was the lack of preparedness of the Federal Emergency Management Agency in the Hurricane Katrina disaster so damaging for th
    12·1 answer
  • The lid on a pressure vessel is held down with 10 bolts that pass through the lid and a flange on the pressure vessel (similar t
    6·1 answer
  • List two common units of measurement to describe height
    5·2 answers
  • Realize the function f(a, b, c, d, e) = Σ m(6, 7, 9, 11, 12, 13, 16, 17, 18, 20, 21, 23, 25, 28)using a 16-to-1 MUX with control
    13·1 answer
  • Something that pollutes a system is called a(n) ??? .
    12·1 answer
  • The chart describes four people’s credit histories.
    5·2 answers
  • Which of the following is an interdisciplinary approach to architectural or interior design most like?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!