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
Andreas93 [3]
1 year ago
14

Tec A says that high octane fuel is harder to ignite than lower octane. Tec B says that using high octane fuel in an engine desi

gned for lower octane will produce better fuel economy and power. Who is correct?
Engineering
2 answers:
vlada-n [284]1 year ago
7 0

Answer:

To my understanding higher octane fuel has a higher detonation point, so you compress it more, which will result in more power. Also yes higher octane fuel in a car expecting lower should get better gas mileage and efficiency.

Explanation:

Kryger [21]1 year ago
3 0

Answer:

Tec A says that high octane fuel is harder to ignite than lower octane. Tec B says that using high octane fuel in an engine designed for lower octane will produce better fuel economy and power. Who is correct?

Explanation:

You might be interested in
Which material has the highest cp value?
Nataly [62]

Answer: B. Water

Explanation:

6 0
2 years ago
Write an application that solicits and inputs three integers from the user and then displays the sum, average, product, smallest
Ganezh [65]

Answer:

3423=6^H

Explanation:

6 0
2 years ago
This assignment is designed to test your understanding of graphical user interface components and Event Driven programming in Ja
lys-0071 [83]

Answer:

Java program is given below

Explanation:

JavaPadGUI.java

package javapad.gui;

import java.awt.BorderLayout;

import java.awt.Container;

import java.awt.Dimension;

import java.awt.event.ActionEvent;

import java.awt.event.ActionListener;

import java.awt.event.WindowAdapter;

import java.awt.event.WindowEvent;

import java.io.File;

import java.io.FileNotFoundException;

import java.io.PrintWriter;

import java.util.Scanner;

import javax.swing.JButton;

import javax.swing.JFrame;

import javax.swing.JLabel;

import javax.swing.JOptionPane;

import javax.swing.JPanel;

import javax.swing.JScrollPane;

import javax.swing.JTextArea;

public class JavaPadGUI extends JFrame implements ActionListener{

  //constants

  private static final String TITLE = "Macrosoft JavaPad XP";

  private static final String SLOGAN = "Macrosoft: Resistance is futile";

 

  //button names

  private static final String NEW = "New";

  private static final String LOAD = "Load";

  private static final String SAVE = "Save";

  private static final String QUIT = "Quit";

 

  private static final String FILENAME = "hardcode.txt";

  //messages

 

  private static final String QUIT_MSG = "Quitting, Save?";

  private static final String LOAD_ERR = "Could not access file " + FILENAME;

 

 

  //fields

  private JTextArea txtContent;

  private JButton butNew, butLoad, butSave, butQuit;

 

  public JavaPadGUI()

  {

      super(TITLE);

      createUI();

      setSize(new Dimension(400, 300));

      setDefaultCloseOperation(EXIT_ON_CLOSE);

         

  }

 

  private void createUI()

  {

      Container c = getContentPane();

      c.setLayout(new BorderLayout(30,30));

     

      //create the buttons panel

      JPanel butPanel = new JPanel();

      butPanel.add(butNew = new JButton(NEW));

      butPanel.add(butLoad = new JButton(LOAD));

      butPanel.add(butSave = new JButton(SAVE));

      butPanel.add(butQuit = new JButton(QUIT));

     

      //set command names for the buttons, these will be when button is clicked

      butNew.setActionCommand(NEW);

      butLoad.setActionCommand(LOAD);

      butSave.setActionCommand(SAVE);

      butQuit.setActionCommand(QUIT);

     

      JPanel sloganPanel = new JPanel();

      sloganPanel.add(new JLabel(SLOGAN));

     

      //create textarea with scrollbar

      txtContent = new JTextArea(15, 25);

      txtContent.setLineWrap(true);

         

      JScrollPane scroll = new JScrollPane(txtContent);

     

      //now add all components

      c.add(butPanel, BorderLayout.NORTH);

      c.add(scroll, BorderLayout.CENTER);

      c.add(sloganPanel, BorderLayout.SOUTH);

     

     

      //set the actionlistner to buttons to handle button click event

      butNew.addActionListener(this);

      butLoad.addActionListener(this);

      butSave.addActionListener(this);

      butQuit.addActionListener(this);

     

  }

  public void actionPerformed(ActionEvent e)

  {

      String cmd = e.getActionCommand();

      if(cmd.equals(NEW))

          txtContent.setText("");

      else if (cmd.equals(LOAD))

          load();

      else if(cmd.equals(SAVE))

          save();

      else if (cmd.equals(QUIT))

          quit();

  }

  private void quit()

  {

      int option = JOptionPane.showConfirmDialog(this, QUIT_MSG);

      if(option == JOptionPane.YES_OPTION)

      {

          save();

      }

     

      System.exit(0);

  }

 

  private void save()

  {

      try {

          PrintWriter w = new PrintWriter(new File(FILENAME));

          w.write(txtContent.getText());

          w.close();

      } catch (FileNotFoundException e) {

          JOptionPane.showMessageDialog(this,"I/O Error", LOAD_ERR, JOptionPane.ERROR_MESSAGE);

      }

             

  }

  private void load()

  {

      try {

          Scanner s = new Scanner(new File(FILENAME));

          String str = "";

          while(s.hasNextLine())

              str += s.nextLine();

          txtContent.setText(str);

          s.close();

      } catch (FileNotFoundException e) {

          JOptionPane.showMessageDialog(this, LOAD_ERR, "I/O Error",JOptionPane.ERROR_MESSAGE);

      }

     

  }

}

RunJavaPad.java

package javapad;

import javapad.gui.JavaPadGUI;

public class RunJavaPad {

  public static void main(String[] args) {

      JavaPadGUI gui = new JavaPadGUI();

      gui.setVisible(true);

  }

}

7 0
3 years ago
A spring-mass-damper instrument is employed for acceleration measurements. The spring constant is 12000 N/m. The mass is 5 g. Th
shepuryov [24]

Answer:

a) 246.56 Hz

b) 203.313 Hz

c) Add more springs

Explanation:

Spring constant = 12000 N/m

mass = 5g = 5 * 10^-3 kg

damping ratio = 0.4

<u>a) Calculate Natural frequency </u>

Wn = √k/m = \sqrt{12000 /  5*10^{-3}  }

                   = 1549.19 rad/s  ≈ 246.56 Hz

<u>b) Bandwidth of instrument </u>

W / Wn = \sqrt{1-2(0.4)^2}

W / Wn = 0.8246

therefore Bandwidth ( W ) = Wn * 0.8246 = 246.56 * 0.8246 = 203.313 Hz

C ) To increase the bandwidth we have to add more springs

5 0
3 years ago
Give an example of one technology that is well matched to the needs of the environment, and one technology that is not.
omeli [17]

Answer:

the internet is a need everywhere to do work and games systems is a technology that is just a want.

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • A vehicle experiences hard shifting. Technician A says that the bell housing may be misaligned. Technician B says that incorrect
    5·1 answer
  • A simple ideal Rankine cycle with water as the working fluid operates between the pressure limits of 4 MPa in the boiler and 25
    14·2 answers
  • An electrochemical cell is composed of pure nickel and pure iron electrodes immersed in solutions of their divalent ions. If the
    13·1 answer
  • So in my settings i set it to send notifications too my email so ik when smtn happens but it doesn't even send stuff too it.....
    11·1 answer
  • What are the benefits of using the engineering design process
    7·1 answer
  • What is the line called that has the red arrow pointing to it in the attached picture?
    6·1 answer
  • A crystalline grain of aluminum in a metal plate is situated so that a tensile load is oriented along the [1 1 1] direction. Wha
    9·1 answer
  • Periodic lubrication and oil changes according to manufacturer’s recommendations extend the life of your vehicle, and allow you
    15·1 answer
  • Which of the following is most likely to require changes to existing zoning laws?
    13·1 answer
  • Which of the following situations best describes student engaged in active learning
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!