Answer:
The mechanical advantage is 0.25
This mechanical advantage shows that the force at which the deodorant sprays is the quarter of the applied effort, and hence the efficiency of your finger as a machine is 25%.
Explanation:
Given;
output force, F₂ = 15 N
input force, F₁ = 60 N
Mechanical advantage also known as force ratio is defined as the ratio of the output force (load) to the ratio of input force (effort).
[tex]M.A = \frac{0utput \ Force}{1nput \ Force} \\\\M.A = \frac{15 \ N}{60 \ N} \\\\M.A = 0.25[/tex]
This shows that the force at which the deodorant sprays is the quarter of the applied effort, and hence the efficiency of your finger as a machine is 25%.
InfoTrac is an aggregated database?
True
False
Answer: true
Explanation:
When parameters are passed between the calling code and the called function, formal and actual parameters are matched by: a.
Answer:
their relative positions in the parameter and argument lists.
Explanation:
In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.
Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.
For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.
A parameter can be defined as a value that must be passed into a function, subroutine or procedure when it is called.
Generally, when parameters are passed between a calling code and the called function, formal and actual parameters are usually matched by their relative positions in the parameter and argument lists.
A formal parameter is simply an identifier declared in a method so as to represent the value that is being passed by a caller into the method.
An actual parameter refers to the actual value that is being passed by a caller into the method i.e the variables or values that are passed while a function is being called.
// Exercise 4.16: Mystery.java
2 public class Mystery
3 {
4 public static void main(String[] args)
5 {
6 int x = 1;
7 int total = 0;
8
9 while (x <= 10)
10 {
11 int y = x * x;
12 System.out.println(y);
13 total += y;
14 ++x;
15 }
16
17 System.out.printf("Total is %d%n", total);
18 }
19 } // end class Mystery
Answer:
385
Explanation:
There was no question so I simply run the program for you and included the output.
The program seems to calculate: [tex]\sum\limits_{x=1}^{10} x^2[/tex]
hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
Answer:
hhhhhhhhhhhhhhhhhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
Explanation:
Plzz help will mark brainliest
Answer:
11. 3 dimensions
12. ( i believe its number 3)
13. 2 option
14. Natural Light
15. Development
Explanation:
pleaseeeeeeee tellllllllllllllllllllll
Answer:
true is the correct answer
i need the solution to this task please anyone
Answer:
.
Explanation:
How does CSS relate to HTML
Answer:
CSS stands for Cascading Style Sheets with an emphasis placed on “Style.” While HTML is used to structure a web document (defining things like headlines and paragraphs, and allowing you to embed images, video, and other media), CSS comes through and specifies your document's style—page layouts, colors, and fonts are
Explanation:
Which tag appears in the element of an HTML file? A. B. C. D. E.
element the answer is Explanation:
Answer:
<title>
Explanation:
trust me
How wireless communication might affect the development and implementations of internet of things?
it is a group of two or more computer system connect to each other
network is a group of two or more computer system connected together
What allows you to navigate up down left and right in a spreadsheet?
Answer:
scrollbar?
Explanation:
____________
[tex] \tt{Define \: hardware.}[/tex]
Answer:
The vital components of a computer system , which can be seen and touched , are called hardware .
examples
keyboard monitormousehope it is helpful to you
Answer:
Hardware is the collective term for the internal and external hardware that enables you to carry out key operations including input, output, storage, communication, processing, and more.
___________________
Hope this helps!
public class Square extends Shape{
/**Like with Shape, we will be making a static instance variable
* to keep track of how many squares we have made. It is very
* similar to the one in shape, and it's uses are similar as well.
* It too is initialized to zero.
*
* We may also need additional instance variables, which you should
* declare as needed. They will not need to be static nor initialized
* here though.
**/
/**You may need additional instance variables. Declare them here.
**/
/**The constructor for Square is a little more involved than the
* Shape constructor, as it takes a single double parameter representing
* the side length. It should also call the super constructor, as
* calling it increments the number of shapes made, which we should
* do (as a Square extends Shape). We also need to increment the
* instance variable representing the number of squares made, and handle
* our parameter appropriately.
**/
public Square(double sideLength){
}
/**Like with our other shapes, this is a simple getter method for our
* static instance variable.
**/ public static int getNumSquaresMade(){
return -1;
}
/**As always, we must override getSize() for our Square. A Square's size
* is simply it's side length squared.
**/
}
public class Shape{
private static int numShapesMade = 0;
public Shape(){
numShapesMade++;
}
public static int getNumShapesMade(){
return numShapesMade;
}
public double getSize(){
return 0;
}
}
Answer:
I would say A
Explanation:
Enjoy :)
Populations are effected by the birth and death rate, as well as the number of people who move in and out each year. The birth rate is the percentage increase of the population due to births and the death rate is the percentage decrease of the population due to deaths. Write a program that displays the size of a population for any number of years. The program should ask for the following data:
• The starting size of a population
• The annual birth rate
• The annual death rate
• The number of years to display
Write a function that calculates the size of the population for a year. The formula is
N = P + BP − DP
where N is the new population size, P is the previous population size, B is the birth rate, and D is the death rate.
Input Validation: Do not accept numbers less than 2 for the starting size. Do not accept negative numbers for birth rate or death rate. Do not accept numbers less than 1 for the number of years.
#include
using namespace std;
double calcOfPopulation(double, double, double);
double inputValidate(double, int);
int main()
{
double P, // population size
B, // birth rate %
D, // death rate %
num_years;
cout << "Starting size of population: ";
P = inputValidate(P, 2);
cout << "Annual birth rate: %";
B = inputValidate(B, 0);
cout << "Annual death rate: %";
D = inputValidate(D, 0);
cout << "Number of years to display: ";
num_years = inputValidate(num_years, 1);
cout << "Population size for "
<< num_years << " years "
<< " = "
<< (calcOfPopulation(P, B, D) * num_years)
<< endl;
return 0;
} // END int main()
double inputValidate(double number, int limit)
{
while(!(cin >> number) || number < limit)
{
cout << "Error. Number must not be "
<< " 0 or greater:";
cin.clear();
cin.ignore(numeric_limits::max(), '\n');
}
return number;
}
double calcOfPopulation(double P, double B, double D)
{
B *= .01; // 3.33% = .0333
D *= .01; // 4.44% = .0444
return P + (B * P) - (D * P);
Answer:
See attachment for program source file
Explanation:
The source code in the question is not incorrect; just that, it was poorly formatted.
So, what I did it that:
I edited the source code to be in the right formats.numeric_limits needs the <limits> header file to work properly. The <limits> header file was not included in the original source file; so, I added #include<limits> at the beginning of the source fileI corrected the wrongly declared function prototypes.See attachment for the modified program source file
Which of the following are examples of nontoxic materials used in computer equipment?
gold, silver, copper
arsenic, copper, gold
dioxin, silver, gold
copper, silver, lead
Answer: Gold, Silver, Copper
Explanation:
Gold is very useful in computers as it can be used for connectors, connecting wires and even memory chips. It is a nonreactive metal and so is not toxic unless it is consumed (and in large quantities).
Silver is another nontoxic metal used in computers to make circuit boards, cellphones and even keyboard components. Finally there is the very important copper which is a useful electronic component for more than just computers. This non-toxic metal has contributed significantly to the development of many things electrical including, as already mentioned, computers.
how do you fix The lag on your zsnes emulator I’m playing it on My laptop
Answer:
Use a laptop that is not a potato.
Explanation:
ZSNES has super low system requirements, so if it's running poorly you are probably running it on a potato. You might also try a different emulator such as BSNES, if you think that the problem is not the underpowered computer.
what functions can you perform with project management software?
Answer:
Planning and scheduling. ...
Collaboration. ...
Documentation. ...
Reporting. ...
Resource management. ...
Managing the project budget.
Explanation:
Select the correct answer.
What is the purpose of using graphics and animation in the title sequence of a video production?
A. they are historical remnants from the era of silent films
B. they provide a synopsis of the program
Oc. they are a substitute for dialogues or a voiceover
D. they break the monotony of watching live action
E. they provide a clue about what to expect in a program
Answer:
They provide a clue about what to expect in a program
state two ways of moving an icon from one location to another
Answer:
To arrange icons by name, type, date, or size, right-click a blank area on the desktop, and then click Arrange Icons.
Click the command that indicates how you want to arrange the icons (by Name, by Type, and so on).
If you want the icons to be automatically arranged, click Auto Arrange.
If you want to arrange the icons on your own, click Auto Arrange to remove the check mark.
Explanation:
state 4 basic operation performed by a computer
Answer:
The processes are input, output, storing,processing, and controlling.
explain the errors in each error in spreadsheet and how to correct each
Answer:
###### error. Problem: The column is not wide enough to display all the characters in a cell. ...
# Div/0! error. ...
#Name? error. ...
#Value! error. ...
#REF! error. ...
#NUM! error. ...
#NULL error.
Explanation:
"To speed up magnetic hard drive performance , ___________ is often used. "
Answer:
disk caching
Explanation:
Hi,
Magnetic hard drives use disk caching to speed up performance. This method is quite ingenious because what it does is that in a section of memory in your pc, it keeps a copy of information that was previously accessed in the hard disk. So, next time if the same data is requested, the system can refer to cache to get quick access rather than going to the hard disk (which is slower).
Write a class named Employee that has private data members for an employee's name, ID_number, salary, and email_address. It should have an init method that takes four values and uses them to initialize the data members. It should have get methods named get_name, get_ID_number, get_salary, and get_email_address. Write a separate function (not part of the Employee class) named make_employee_dict that takes as parameters a list of names, a list of ID numbers, a list of salaries and a list of email addresses (which are all the same length). The function should take the first value of each list and use them to create an Employee object. It should do the same with the second value of each list, etc. to the end of the lists. As it creates these objects, it should add them to a dictionary, where the key is the ID number and the value for that key is the whole Employee object. The function should return the resulting dictionary. For example, it could be used l
Solution :
class Employee:
#Define the
#constructor.
def __[tex]$\text{init}$[/tex]__([tex]$\text{self, nam}e$[/tex], ID_number, [tex]$\text{salary}$[/tex], email):
#Set the values of
#the data members of the class.
[tex]$\text{self.nam}e$[/tex] = name
[tex]$\text{self.ID}$[/tex]_number = ID_number
[tex]$\text{self.salary}$[/tex] = salary
self.email_address = email
#Define the function
#make_employee_dict().
def make_employee_dict(list_names, list_ID, list_salary, list_email):
#Define the dictionary
#to store the results.
employee_dict = {}
#Store the length
#of the list.
list_len = len(list_ID)
#Run the loop to
#traverse the list.
for i in range(list_len):
#Access the lists to
#get the required details.
name = list_names[i]
id_num = list_ID[i]
salary = list_salary[i]
email = list_email[i]
#Define the employee
#object and store
#it in the dictionary.
employee_dict[id_num] = Employee(name, id_num, salary, email)
#Return the
#resultant dictionary.
return employee_dict
What is the first step you should take when you want to open a savings account? A. Present your photo ID to the bank representative. B. Go to the bank and fill out an application. C. Make your initial deposit. D. Review the different savings account options that your blunk offers.
Answer: B
Explanation:
Please answer it’s timed
Answer:
product safety
Explanation:
brainly:)^
list eight applications software
Answer:
Eight applications software are:
Word processing softwareSpreadsheet software Graphics software Database software Web browser softwareAnimation softwareInternet browser softwares like: fire fox, chrome etcPresentation softwarepleaseeeeeeee tellllllllllllllllllllll
Answer:
digital communications will be the correct answer
Answer:
non verbal communication is the answer
In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan. The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan. message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide. Instructions Ensure the provided code file named MichiganCities.cpp is open. Study the prewritten code to make sure you understand it. Write a loop statement that examines the names of cities stored in the array. Write code that tests for a match. Write code that, when appropriate, prints the message Not a city in Michigan.. Execute the program by clicking the Run button at the bottom of the screen. Use the following as input: Chicago Brooklyn Watervliet Acme
Answer:
Complete the program as follows:
for(int i = 0; i<10; i++){
if(inCity == citiesInMichigan[i]){
foundIt = true;
break; } }
if(foundIt){ cout<<"It is a city"; }
else{ cout<<"Not a city"; }
Explanation:
Required
Complete the pre-written code in C++ (as indicated by the file name)
The pre-written code; though missing in this question, can be found online.
The explanation of the added lines of code is as follows:
This iterates through the array
for(int i = 0; i<10; i++){
This checks if the city exists in the array
if(inCity == citiesInMichigan[i]){
If yes, foundIt is updated to true
foundIt = true;
And the loop is exited
break; } } -- The loop ends here
If foundIt is true, print it is a city
if(foundIt){ cout<<"It is a city"; }
Print not a city, if otherwise
else{ cout<<"Not a city"; }
// MichiganCities.cpp - This program prints a message for invalid cities in Michigan.// Input: Interactive// Output: Error message or nothing#include <iostream>#include <string>using namespace std;int main(){ // Declare variables string inCity; // name of city to look up in array const int NUM_CITIES = 10; // Initialized array of cities string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"}; bool foundIt = false; // Flag variable int x; // Loop control variable // Get user input cout << "Enter name of city: "; cin >> inCity; // Write your loop here for (x = 0; x < NUM_CITIES; x++) { // Write your test statement here to see if there is // a match. Set the flag to true if city is found. if (inCity == citiesInMichigan[x]) { foundIt = true; cout << "City found." << endl; break; } else { foundIt = false; } } // Test to see if city was not found to determine if // "Not a city in Michigan" message should be printed. if (!foundIt) { cout << "Not a city in Michigan." << endl; } return 0; } // End of main()
Write a function called PayLevel that returns a level given an Ssn as input. The level are: "Above Average" if the employee makes more than the average for their department "Average" if the employee makes the average for their department "Below Average" if the employee makes less than the average for their department
Answer:
Explanation:
Since no further information was provided I created the PayLevel function as requested. It takes the Ssn as input and checks it with a premade dictionary of Ssn numbers with their according salaries. Then it checks that salary against the average of all the salaries and prints out whether it is Above, Below, or Average. The output can be seen in the attached picture below.
employeeDict = {162564298: 40000, 131485785: 120000, 161524444: 65000, 333221845: 48000}
average = 68250
def PayLevel(Ssn):
pay = employeeDict[Ssn]
print("Employee " + str(Ssn) + " is:", end=" "),
if pay > average:
print("Above Average")
elif pay < average:
print("Below Average")
else:
print("Average")
PayLevel(161524444)
PayLevel(131485785)