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
KiRa [710]
3 years ago
11

How does an accelerometer work ?

Engineering
1 answer:
LekaFEV [45]3 years ago
8 0

Answer:

How an Accelerometer Works: When accelerometer is tilted, due to moving mass, alignment of capacitor plates changes which alters the capacitance value. These changes are measured by built in circuitry and outputs an analogue signal.

Explanation:

You might be interested in
Your Java program will be reading input from a file name strInput.txt. Each record contains String firstname String lastName Str
stiks02 [169]

Answer:

The program requires that you have the specified input files and it reads from each file at a time and processes salary in digits, states the city, state and bonus with respective first and last name as requested in the question. Note that you must have access to the mentioned output files for the program to work properly. Below is the java version of the program.

import java.io.File;

import java.io.FileNotFoundException;

import java.io.PrintWriter;

import java.util.Scanner;

class Driver

{

public static void main(String[] args) throws FileNotFoundException

{

Scanner sc = new Scanner(new File("strInput.txt"));

PrintWriter pd = new PrintWriter(new File("strOutputD"));

PrintWriter prf = new PrintWriter(new File("strOutputRF"));

String firstname = "", lastname = "", strSalary = "", status = "", cityState = "", city = "", state = "";

double salary = 0, bonus = 0;

int incorrectRecords = 0;

int dRecords = 0;

int fRecords = 0;

while(sc.hasNextLine())

{

firstname = sc.next();

lastname = sc.next();

strSalary = sc.next();

status = sc.next();

cityState = sc.next();

if(!status.equals("D") && !status.equals("F"))

{

System.out.println("Records is neither D nor F. Skipping this...");

incorrectRecords++;

continue;

}

else if(status.equals("D") || status.equals("F"))

{

char c = ' ';

int i = 0;

for(i=0; i<strSalary.length() && c != '.'; i++)

{

c = strSalary.charAt(i);

if(!Character.isDigit(c))

{

System.out.println("Char at position " + (i+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

}

if(c == '.')

{

if(i+1 == strSalary.length()-1)

{

if(!Character.isDigit(strSalary.charAt(i)))

{

System.out.println("Char at position " + (i+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

if(!Character.isDigit(strSalary.charAt(i+1)))

{

System.out.println("Char at position " + (i+1+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

}

else

{

System.out.println("Period is in the wrong position. Expected at " + (strSalary.length()-3) + " but found at " + (i+1));

continue;

}

}

city = cityState.split(",")[0];

state = cityState.split(",")[1];

salary = Double.parseDouble(strSalary);

if(status.equals("D"))

{

bonus = salary * 0.125;

dRecords++;

pd.write(firstname + " " + lastname + " " + status + " " + salary + " " + bonus + " " + city + " " + state);

}

else

{

bonus = salary * 0.18;

fRecords++;

prf.write(firstname + " " + lastname + " " + status + " " + salary + " " + bonus + " " + city + " " + state);

}

}

}

System.out.println("No of D records : " + dRecords);

System.out.println("No of F records : " + fRecords);

System.out.println("No of incorrect records : " + incorrectRecords);

}

}

6 0
3 years ago
When designing a car that runs on wind or Air car . can you tell me the details for the following points Compressed Air Engine:
BabaBlast [244]

Answer:

a)

The crack and connecting rod is used in the design of car.This mechanism is known as slider -crank mechanism.

Components:

1.Inlet tube

2. Wheel

3. Exhaust

4. Engine

5.Air tank

6.Pressure gauge

7.Stand

8. Gate valve

b)

The efficiency of air engine is less as compare to efficiency of electric engine and this is not ecofriendly because it produce green house gases.These gases affect the environment.

c)

it can run around 722 km when it is full charge.

                                                                                                                                                     

5 0
3 years ago
A 100 ft long steel wire has a cross-sectional area of 0.0144 in.2. When a force of 270 lb is applied to the wire, its length in
blondinia [14]

Answer:

(a) The stress on the steel wire is 19,000 Psi

(b) The strain on the steel wire is 0.00063

(c) The modulus of elasticity of the steel is 30,000,000 Psi

Explanation:

Given;

length of steel wire, L = 100 ft

cross-sectional area, A = 0.0144 in²

applied force, F = 270 lb

extension of the wire, e = 0.75 in

<u>Part (A)</u> The stress on the steel wire;

δ = F/A

   = 270 / 0.0144

δ  = 18750 lb/in² = 19,000 Psi

<u>Part (B)</u> The strain on the steel wire;

σ = e/ L

L = 100 ft = 1200 in

σ = 0.75 / 1200

σ = 0.00063

<u>Part (C)</u> The modulus of elasticity of the steel

E = δ/σ

   = 19,000 / 0.00063

E = 30,000,000 Psi

4 0
3 years ago
You are asked to design a software package for an On-line Banking System (OBS). The OBS will take requests from its user on the
Anit [1.1K]

Answer:

From the statements described above,The proposed software package Online Banking System(OBS) shall provide the following services to the customer(account holder)

Receive all transaction requests from the customers trough online to perform banking activities

Offer a variety of services in banking like:

Opening an account with facilities of Savings,Checking and CD

Issuing checks and check clearance

Transfer of funds between savings and checking account

Establishing a CD(Certificate of Deposit)

Performing routine activities like

Deposit or withdraw funds from a checking account

Closing an account in one of the following operation

Complete closure of account

Closing only savings account

Withdraw CD (on Maturity of CD deposits) and close CD account

Unlike traditional Banking system, OBS offers all the operations through On-line mode over the internet thereby it eliminates manual intervention for the banking transactions from the Bank's side for most of the transactions except some cases like verification of new account applications or complaint redressal and technical support .In such cases ,There will be some users of the software with special privileges to access certain services to perform activities like user data verification and technical support.

Step:1 Identification of actors and software entities for the system to be implemented

The following are the actors identified in the system

Actors:

The users of the proposed system were classified as:

Customer : A user with an active account

Guest user:The user who applies for an account

Administrator:Maintainsand Controls OBS

Manager: Manages the transactions and Banking related issues

Technical Manager: Resolves technical issues of customers

Software entities:

Bank database :Maintains the data of all user accounts

Application server : Maintains the application software components and hosts the OBS website

Automatic Clearing House system : Processes transactions for checks

Step 2: Designing use cases

Use case diagrams are used to describe the system model by representing a set of use cases .Each use case represents a set of actions performed on the system by an actor.

The following are the two approaches of representing the system in a use case model:

1.Representing a use case for actions done by actors e.g. login , logout,message etc.,

2.Representing a use case for business process(Business use cases) e.g. transfer,registration etc.,

The following is the description of five possible business use cases for the requirements specified above

3 0
3 years ago
In __________, the air bags system checks itself for problems each time the ignition is turned on
zlopas [31]

Answer:

===========

Automobiles

===========

8 0
2 years ago
Other questions:
  • a valueable preserved biological specimen is weighed by suspeding it from a spring scale. it weighs 0.45 N when it is suspendedi
    11·1 answer
  • A fluid flows steadily through a pipe with a uniform cross sectional area. The density of the fluid decreases to half its initia
    6·1 answer
  • OSHA does not approve individual states to have their own safety and health program.
    15·2 answers
  • A non-linear analog force sensor outputs the following voltages for different forces.
    7·1 answer
  • All sized companies are required to have a written fire prevention plan true or false
    14·2 answers
  • A water agency stated that waterlines cannot have water flowing faster than 8 ft/s. What is the minimum standard pipe diameter t
    12·1 answer
  • Significant figures are an indicator of accuracy. a) True b) False
    8·1 answer
  • (1) Estimate the specific volume in cm3 /g for carbon dioxide at 310 K and (a) 8 bar (b) 75 bar by the virial equation and compa
    10·1 answer
  • A continuously variable transmission:
    13·1 answer
  • If a 110-volt appliance requires 20 amps, what is the total power consumed?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!