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
Bingel [31]
3 years ago
14

Fill in the blank to correctly complete the statement below.

Engineering
1 answer:
ZanzabumX [31]3 years ago
4 0
Did not engineer cables factoring wind shear
You might be interested in
Fill in the empty function so that it returns the sum of all the divisors of a number, without including it. A divisor is a numb
tekilochka [14]

Answer:

// Program is written in C++

// Comments are used to explain some lines

// Only the required function is written. The main method is excluded.

#include<bits/stdc++.h>

#include<iostream>

using namespace std;

int divSum(int num)

{

// The next line declares the final result of summation of divisors. The variable declared is also

//initialised to 0

int result = 0;

// find all numbers which divide 'num'

for (int i=2; i<=(num/2); i++)

{

// if 'i' is divisor of 'num'

if (num%i==0)

{

if (i==(num/i))

result += i; //add divisor to result

else

result += (i + num/i); //add divisor to result

}

}

cout<<result+1;

}

6 0
3 years ago
Based on the graphs of stress-strain from the V-MSE site, how would you characterize the general differences between polymers an
Pepsi [2]

Answer:

Option A

Explanation:

Alloys are metal compounds with two or more metals or non metals to create new compounds that exhibit superior structural properties. Alloys have high level of hardness that resists deformation thereby making it less ductile compared to polymers. This is due to the varying difference in the chemical and physical characteristics of the constituent metals in the alloy.

6 0
3 years ago
What is 7/8 + 1/2 on a ruler
Ad libitum [116K]

Answer:

11/8

Explanation:

7/8+4/8=11/8 if you want it on a ruler you need to go online and type fraction to decimal converter and put in 11/8 into a decimal

8 0
3 years ago
Read 2 more answers
The second programming project involves writing a program that accepts an arithmetic expression of unsigned integers in postfix
Tpy6a [65]

Answer:

Explanation:

Note: In case of any queries, just comment in box I would be very happy to assist all your queries

SourceCode:

// MyGUI.java:

// Import packages

import java.awt.FlowLayout;

import java.awt.GridLayout;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import java.io.BufferedReader;

import java.io.IOException;

import java.io.InputStreamReader;

import java.util.EmptyStackException;

import java.util.Stack;

import javax.swing.JButton;

import javax.swing.JFrame;

import javax.swing.JLabel;

import javax.swing.JOptionPane;

import javax.swing.JPanel;

import javax.swing.JTextField;

import javax.swing.SwingConstants;

// Declaare and define the class MyGUI

abstract class MyGUI extends JFrame implements ActionListener {

JTextField userInput;

JLabel inputDescLbl, resultLbl;

JPanel inputPanel, resultPanel;

JButton evlBtn;

Stack<Object> stk;

// Define the constructor MyGUI

MyGUI() {

super("Tree Address Generator");

inputPanel = new JPanel(new FlowLayout());

resultPanel = new JPanel(new FlowLayout());

setLayout(new GridLayout(2, 1));

userInput = new JTextField(20);

inputDescLbl = new JLabel("Enter Postfix Expression:");

evlBtn = new JButton("Construct Tree");

evlBtn.addActionListener(this);

resultLbl = new JLabel("Infix Expression:", SwingConstants.LEFT);

add(inputPanel);

add(resultPanel);

inputPanel.add(inputDescLbl);

inputPanel.add(userInput);

inputPanel.add(evlBtn);

resultPanel.add(resultLbl);

stk = new Stack<Object>();

}

}

//Stack.java:

// Declare and define the class Stack

class Stack {

private int[] a;

private int top, m;

public Stack(int max) {

m = max;

a = new int[m];

top = -1; }

public void push(int key) {

a[++top] = key; }

public int pop() {

return (a[top--]); }

}

// Declare and define the class Evaluation()

class Evaluation {

public int calculate(String s) {

int n, r = 0;

n = s.length();

Stack a = new Stack(n);

for (int i = 0; i < n; i++) {

char ch = s.charAt(i);

if (ch >= '0' && ch <= '9')

a.push((int) (ch - '0'));

else if (ch == ' ')

continue;

else {

int x = a.pop();

int y = a.pop();

switch (ch) {

case '+':

r = x + y;

break;

case '-':

r = y - x;

break;

case '*':

r = x * y;

break;

case '/':

r = y / x;

break;

default:

r = 0;

}

a.push(r);

}

}

r = a.pop();

return (r);

}

}

// PostfixToInfix.java:

// Import packages

import java.util.Scanner;

import java.util.Stack;

// Declare and define the class PostfixToInfix

class PostfixToInfix {

// Determine whether the character entered is an operator or not

private boolean isOperator(char c) {

if (c == '+' || c == '-' || c == '*' || c == '/' || c == '^')

return true;

return false;

}

// Declare and define the convert()

public String convert(String postfix) {

Stack<String> s = new Stack<>();

for (int i = 0; i < postfix.length(); i++) {

char c = postfix.charAt(i);

if (isOperator(c)) {

String b = s.pop();

String a = s.pop();

s.push("(" + a + c + b + ")");

} else

s.push("" + c);

}

return s.pop();

}

// Program starts from main()

public static void main(String[] args) {

PostfixToInfix obj = new PostfixToInfix();

Scanner sc = new Scanner(System.in);

// Prompt the user to enter the postfix expression

System.out.print("Postfix : ");

String postfix = sc.next();

// Display the expression in infix expression

System.out.println("Infix : " + obj.convert(postfix));

}

}

Output:

e Console X terminated PostfixTolnfix [Java Application] C:\Program Files\Java\jrel.8.0_121\bin\javaw.exe Postfix : ABD++C-D/ .

3 0
3 years ago
Which contribution of Science is the most important discovery of man? Explain why?​
Vsevolod [243]

Answer:

<h2>The Invention of the Internal Combustion Engine (ICE)</h2>

Explanation:

The internal combustion engine is an engine in which ignition and combustion take place in the engine(in one place), the invention of the ICE was an integral part of the industrial revolution, as there was increasing demand for power, and manual labor could not suffice, especially during the mid 19 century.

The ICE made it possible for tasks that demand intensive power consumption to come through to reality, it was as a result of the invention of the ICE that road transportation was made easier for mankind, as the means of transport then was the use of beast of burden, now we have cars, airplanes ship, etc, essentially the invention of ICE reduced the tedious task man would have to engage in for his daily needs

5 0
3 years ago
Other questions:
  • An atomic force that can attract or repel ferrous substances is<br> known as:
    14·1 answer
  • What is a two stroke engine and what is a four stroke engine, please keep the definitions as simple as can be and please explain
    8·2 answers
  • Provide an argument justifying the following claim: The average (as defined here) of two Java ints i and j is representable as a
    9·1 answer
  • A fluid of specific gravity 0.96 flows steadily in a long, vertical 0.71-in.-diameter pipe with an average velocity of 0.90 ft/s
    5·2 answers
  • An ideal reheat Rankine cycle with water as the working fluid operates the boiler at 15,000 kPa, the reheater at 2000 kPa, and t
    13·1 answer
  • Air is compressed in an isentropic process from an initial pressure and temperature of P1 = 90 kPa and T1=22°C to a final pressu
    7·1 answer
  • What are the important things to remember when arriving for an interview?
    15·1 answer
  • What major financial flop led to the end of the Sega Dreamcast and ultimately caused Sega to stop making game consoles altogethe
    15·1 answer
  • What kind of analysis would be conducted to identify project costs?
    11·1 answer
  • Scientists use characteristics to compare stars. Match each characteristic on the left with the statement on the right that uses
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!