Solve the following linear program graphically (each line represents one unit). The feasible region is indicated by the shading and the corner points have been listed for you. Determine the objective function value at the corner points and indicate the optimal solution (if any). Minimize: Z

Answers

Answer 1

Answer:

(a): The value of the objective function at the corner points

[tex]Z = 10[/tex]

[tex]Z = 19[/tex]

[tex]Z = 15[/tex]

(b) The optimal solution is [tex](6,2)[/tex]

Explanation:

Given

[tex]Min\ Z = X_1 + 2X_2[/tex]

Subject to:

[tex]-2X_1 + 5X_2 \ge -2[/tex] ---- 1

[tex]X_1 + 4X_2 \le 27[/tex] ---- 2

[tex]8X_1 + 5X_2 \ge 58[/tex] --- 3

Solving (a): The value of the at the corner points

From the graph, the corner points are:

[tex](6,2)\ \ \ \ \ \ (11,4)\ \ \ \ \ \ \ \ (3,6)[/tex]

So, we have:

[tex](6,2)[/tex] ------- Corner point 1

[tex]Min\ Z = X_1 + 2X_2[/tex]

[tex]Z = 6 + 2 * 2[/tex]

[tex]Z = 6 + 4[/tex]

[tex]Z = 10[/tex]

[tex](11,4)[/tex] ------ Corner point 2

[tex]Min\ Z = X_1 + 2X_2[/tex]

[tex]Z = 11 + 2 * 4[/tex]

[tex]Z = 11 + 8[/tex]

[tex]Z = 19[/tex]

[tex](3,6)[/tex] --- Corner point 3

[tex]Min\ Z = X_1 + 2X_2[/tex]

[tex]Z = 3 + 2 * 6[/tex]

[tex]Z = 3 + 12[/tex]

[tex]Z = 15[/tex]

Solving (b): The optimal solution

Since we are to minimize Z, the optimal solution is at the corner point that gives the least value

In (a), the least value of Z is: [tex]Z = 10[/tex]

So, the optimal solution is at: corner point 1

[tex](6,2)[/tex]

Solve The Following Linear Program Graphically (each Line Represents One Unit). The Feasible Region Is

Related Questions

write the sql code to generate the total hours worked and the total charges made by all employees . the results are shown in fig.P7.8

Answers

Answer:

Select SUM(HOURS), SUM(CHARGES) from employees

Explanation:

The table structure is not given. So, I will assume that the table name is "employees", the columns to retrieve are "hours" and "charges"

Having said that, the function to retrieve the total of column is the sum() function.

So, the query is as follows:

Select ----> This means that the query is to retrieve from the table

SUM(HOURS), SUM(CHARGES) --- This represent the records to retrieve

from employees ---- This represents the table to retrieve from.

In a relational database, the three basic operations used to develop useful sets of data are:_________.
a. select, project, and join.
b. select, project, and where.
c. select, from, and join.
d. select, join, and where.

Answers

In a relational database, the three basic operations used to develop useful sets of data are:

[tex]\sf\purple{a.\: Select, \:project,\: and\: join. }[/tex]

[tex]\large\mathfrak{{\pmb{\underline{\orange{Mystique35 }}{\orange{❦}}}}}[/tex]

The basic operations used to develop useful sets of data in relational database are Select, Project and Join.

The Select and Project are of important use in selecting columns or attributes which we want to display or include in a table.

The join function allows the merging of data tables to form a more complete and all round dataset useful for different purposes.

Hence, the basic operations are select, project, and join.

Learn more : https://brainly.com/question/14760328

Compute the approximate acceleration of gravity for an object above the earth's surface, assigning accel_gravity with the result.
The expression for the acceleration of gravity is: (G*M)/(d2), where G is the gravitational constant 6.673 x 10-11, M is the mass of
the earth 5.98 x 1024 (in kg), and d is the distance in meters from the Earth's center (stored in variable dist_center)
Sample output with input: 6.3782e6 (100 m above the Earth's surface at the equator)
Acceleration of gravity: 9.81

Answers

Answer:

The summary of the given query would be summarized throughout the below segment. The output of the question is attached below.

Explanation:

Given values are:

[tex]G = 6.673e-11[/tex][tex]M = 5.98e24[/tex][tex]accel \ gravity = 0[/tex][tex]dist\ center=float(inp())[/tex]

here,

inp = input

By utilizing the below formula, we get

⇒ [tex]\frac{GM}{d^2}[/tex]

Now,

⇒ [tex]accel \ gravity=\frac{G\times M}{dist \ center**2}[/tex]

⇒ print("Acceleration of gravity: {:.2f}".format(accel_gravity))

Design a class named Employee. The class should keep the following information in member variables:
Employee name
Employee number
Hire Date
Write one or more constructors and the appropriate accessor and mutator functions for the class.
Next, write a class named ProductionWorker that is derived from the Employee class. The ProductionWorker class should have member variables to hold the following information:
Shift (an integer)
Hourly pay rate (a double)
The workday is divided into two shifts: day and night. The shift variable will hold an integer value representing the shift that the employee works. The day shift is shift 1 and the night shift is shift 2. Write one or more constructors and the appropriate accessor and mutator functions for the class. Demonstrate the classes by writing a program that uses a ProductionWorker object."
Now I have written out the program, it compiles without errors. However, when I run it It asks the first question "Employees name" after input it errors and closes itself down. Can anyone find where in my code it is causing it to do this please? To be clear, I am not asking for someone to write the program, I have already done this, just need to know why it compiles but does not run all the way through. Thank You!
#include
#include
#include
using namespace std;
class Employee
{
private:
string employeeName;
int employeeNumber;
int hireDate;
public:
void setemployeeName(string employeeName);
void setemployeeNumber(int);
void sethireDate(int);
string getemployeeName() const;
int getemployeeNumber() const;
int gethireDate() const;
Employee();
{

Answers

Answer:

Here is the code.

Explanation:

#include <iostream>

#include <cstdlib>

#include <string>

#include <iomanip>

using namespace std;

class Employee

{

private:

string employeeName;

int employeeNumber;

int hireDate;

public:

void setemployeeName(string employeeName);

void setemployeeNumber(int);

void sethireDate(int);

string getemployeeName() const;

int getemployeeNumber() const;

int gethireDate() const;

Employee();

};

void Employee::setemployeeName(string employeeName)

{

employeeName = employeeName;

}

void Employee::setemployeeNumber(int b)

{

employeeNumber = b;

}

void Employee::sethireDate(int d)

{

hireDate = d;

}

string Employee::getemployeeName() const

{

return employeeName;

}

int Employee::getemployeeNumber() const

{

return employeeNumber;

}

int Employee::gethireDate() const

{

return hireDate;

}

Employee::Employee()

{

cout << "Please answer some questions about your employees, ";

}

class ProductionWorker :public Employee

{

private:

int Shift;

double hourlyPay;

public:

void setShift(int);

void sethourlyPay(double);

int getShift() const;

double gethourlyPay() const;

ProductionWorker();

};

void ProductionWorker::setShift(int s)

{

Shift = s;

}

void ProductionWorker::sethourlyPay(double p)

{

hourlyPay = p;

}

int ProductionWorker::getShift() const

{

return Shift;

}

double ProductionWorker::gethourlyPay() const

{

return hourlyPay;

}

ProductionWorker::ProductionWorker()

{

cout << "Your responses will be displayed after all data has been received. "<<endl;

}

int main()

{

ProductionWorker info;

string name;

int num;

int date;

int shift;

double pay;

cout << "Please enter employee name: ";

cin >> name;

cout << "Please enter employee number: ";

cin >> num;

cout << "Please enter employee hire date using the format \n";

cout << "2 digit month, 2 digit day, 4 digit year as one number: \n";

cout << "(Example August 12 1981 = 08121981)";

cin >> date;

cout << "Which shift does the employee work: \n";

cout << "Enter 1, 2, or 3";

cin >> shift;

cout << "Please enter the employee's rate of pay: ";

cin >> pay;

info.setemployeeName(name);

info.setemployeeNumber(num);

info.sethireDate(date);

info.setShift(shift);

info.sethourlyPay(pay);

cout << "The data you entered for this employee is as follows: \n";

cout << "Name: " << info.getemployeeName() << endl;

cout << "Number: " << info.getemployeeNumber() << endl;

cout << "Hire Date: " << info.gethireDate() << endl;

cout << "Shift: " << info.getShift() << endl;

cout << setprecision(2) << fixed;

cout << "Pay Rate: " << info.gethourlyPay() << endl;

system("pause");

return 0;

}

Several families are planning a shared car trip on scenic drives in New Hampshire's White Mountains. To minimize the possibility of any quarrels, they want to assign individuals to cars so that no two members of a family are in the same car. Explain how to formulate this problem as a network flow problem.

Answers

Answer:

Following are the response to the given question:  

Explanation:

Build a spring, sink, vertices, and vertices for each car for a household. Every unit in the stream is a human. Attach the source from each vertical of a family with such a capacity line equivalent to the family size; this sets the number of members in each household. Attach every car vertices to the sink with the edge of the car's passenger belt; this assures the correct number of people for every vehicle. Connecting every vertex in your household to any vertex in your vehicle with a capacity 1 border guarantees that one family member joins a single car. The link between both the acceptable allocation of people to vehicles as well as the maximum flow inside the graph seems clear to notice.

3. State whether the given statements are true or false. a. The computer is called a data processor because it can store, process, and retrieve data whenever needed. b. Modern processors run so fast in term of megahertz (MHz). c. If millions of calculations are to be performed, a computer will perform every calculation with the same accuracy. d. It is very safe to store data and information on the computer independently. e. If some electrical or electronic damages occur, there are no any chances of data loss or damage f. The output devices of the computer like monitor, printer, speaker, etc. can store meaningful information, g. The input devices can display the output after processing. h. Students can also use computer as their learning tools.​

Answers

Answer:

a,b,c,d,f,g are true only e is false

我对汉语的兴趣 làm đoạn văn theo đề trên​

Answers

Answer:

which language is this

Explanation:

Chinese or Korea

Can Algorithms Be Used Again?

Answers

Answer:

Explanation:Algorithms are aimed at optimizing everything. They can save lives, make things easier and conquer chaos. Still, experts worry they can also put too much control in the hands of corporations and governments, perpetuate bias, create filter bubbles, cut choices, creativity and serendipity, and could result in greater unemploymen

Answer: The algorithm must have an infinite number of steps because there are an infinite number of integers greater than one. It will run forever trying to count to infinity. Every algorithm must reach some operation that tells it to stop.

what's the difference between pseudo code and natural language​

Answers

Answer:

The pseudo-code describes steps in an algorithm or another system in plain language. Pseudo-Code is often designed for human reading rather than machine reading with structural conventions of a normal language of programming.

Natural languages consist of phrases, usually declarative phrases, with a sequence of information.

Explanation:

Pseudo-Code is often designed for human reading rather than machine reading with structural conventions of a normal language of programming. It usually omits information that is essential to the understanding of the algorithm by the machine, for example, variable declarations and language code.Easily human, but not machines, use the natural languages (like English).Natural languages also are creative. Poetry, metaphor, and other interpretations are permitted. Programming permits certain style differences, but the significance is not flexible.The aim of using pseudo-code is to make it easier for people to comprehensibly than standard programming language code and to describe the key principles of an algorithm efficiently and environmentally independently. It is usually used for documenting software and other algorithms in textbooks and scientific publications.

Data can be retrieved using a query when A. The tables are linked together B. Only the tables and forms are linked together C. query and forms are linked together D. form and report are linked together​

Answers

Answer:

The table are linked together

LAB: Winning team (classes)
Complete the Team class implementation. For the class method get_win_percentage(), the formula is:
team_wins / (team_wins + team_losses)
Note: Use floating-point division.
Ex: If the input is:
Ravens
13
3
where Ravens is the team's name, 13 is the number of team wins, and 3 is the number of team losses, the output is:
Congratulations, Team Ravens has a winning average!
If the input is Angels 80 82, the output is:
Team Angels has a losing average.
------------------------------------------------------------------------------------------------------------------------------------
We are given:
class Team:
def __init__(self):
self.team_name = 'none'
self.team_wins = 0
self.team_losses = 0
# TODO: Define get_win_percentage()
if __name__ == "__main__":
team = Team()
team_name = input()
team_wins = int(input())
team_losses = int(input())
team.set_team_name(team_name)
team.set_team_wins(team_wins)
team.set_team_losses(team_losses)
if team.get_win_percentage() >= 0.5:
print('Congratulations, Team', team.team_name,'has a winning average!')
else:
print('Team', team.team_name, 'has a losing average.')
Please help, in Python!

Answers

Answer:

The function is as follows:

def get_win_percentage(self):

       return self.team_wins / (self.team_wins + self.team_losses)

Explanation:

This defines the function

def get_win_percentage(self):

This calculates the win percentage and returns it to main

       return self.team_wins / (self.team_wins + self.team_losses)

See attachment for complete (and modified) program.

Answer: def get_win_percentage(self):

Explanation: got it right on edgen

(Ramanujan's Taxi) Srinivasa Ramanujan indian mathematician who became famous for his intuition for numbers. When the English mathemematician G.H. Hardy came ot visit him in the hospital one day, Hardy remarked that the number if his taxi was 1729, a rather dull number. To which Ramanujan replied, "No, Hardy! It is a very interesting number. It is the smallest number expressible as the sum of two cubes in two different ways." Verify this claim by writing a program Ramanujan.java that takes a command-line argument N and prints out all integers less than or equal to N that can be expressed as the sum of two cubes in two different ways. In other words, find distinct positive integers a, b, c, and d such that а3 + b3 = c3 - d3. Hint: Use four nested for loops, with these bounds on the loop variables: 0 < a < 3√N, a < b < 3√N - a3, a < c < 3√N and c < d < 3√N - C3; do not explicitly compute cube roots, and instead use x . x *x < y in place of х < Math.cbrt (y).
$ javac Ramanujan.java
$ java Ramanujan 40000
1729 = 1"3 + 12^3 = 9^3 + 10"3
4104 = 2^3 + 16^3 = 9^3 + 15^3
13832 = 2^3 + 24^3 = 18^3 + 20^3
39312 = 2^3 + 34^3 = 15^3 + 33^3
32832 = 4^3 + 32^3 = 18^3 + 30^3
20683 = 10^3 + 27^3 = 19^3 + 24^3

Answers

Answer:

Here the code is given as follows,

Explanation:

Code:

public class Ramanujan {  

   public static void main(String[] args) {  

       // check cmd argument

       int n = Integer.parseInt(args[0]);  

       // checking a^3 + b^3 = c^3 + d^3  

       // outer loop

       for (int a = 1; (a*a*a) <= n; a++) {  

           int a3 = a*a*a;  

           // no solution is possible, since upcoming a values are more

           if (a3 > n)  

               break;  

           // avoid duplicate

           for (int b = a; (b * b * b) <= (n - a3); b++) {  

               int b3 = b*b*b;  

               if (a3 + b3 > n)

                   break;  

               // avoid duplicates

               for (int c = a + 1; (c*c*c) <= n; c++) {  

                   int c3 = c*c*c;  

                   if (c3 > a3 + b3)

                       break;  

                   // avoid duplicates

                   for (int d = c; (d * d * d) <= (n - c3); d++) {  

                       int d3 = d*d*d;  

                       if (c3 + d3 > a3 + b3)  

                           break;  

                       if (c3 + d3 == a3 + b3) {

                           System.out.print((a3+b3) + " = ");

                           System.out.print(a + "^3 + " + b + "^3 = ");  

                           System.out.print(c + "^3 + " + d + "^3");  

                           System.out.println();

                       }

                   }

               }

           }

       }

   }

}

Reverse Word Order: Write a program that reverses the order of the words in a given sentence. This program requires reversing the order of the words wherein the first and last words are swapped, followed by swapping the second word with the second to last word, followed by swapping the third word and the third to last words, and so on. Your program will ask the user for an input string and print out the resultant string where the order of the words is reversed. Please see the hints section for more details on an example algorithm. Assume a maximum C-string size of 1000 characters. Make sure your code works for any input number, not just the test cases. Your code will be tested on other test cases not listed here. Do Not Use Predefined Functions from the cstring Library. Please properly comment your code before submission.For this part of the assignment, name your source file as Reverse Word Order_WSUID.cpp. For example, if your user ID is A999B999 name your file as Reverse Word Order_A999B999.cpp. Sample Test Cases: Test Case 1: Input: London bridge has been abducted Output: abducted been has bridge London Test Case 2: Input: Hello World Output: World Hello Test Case 3: Input: Hello World, how are you? Output: you? Are how World, HelloTest Case 4: Input: I like toast Output: toast like l

Answers

Answer:

The program in C++ is as follows:

#include <bits/stdc++.h>

using namespace std;

int main(){

string sentence,word="";

getline (cin, sentence);

vector<string> for_reverse;

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

 if (sentence[i] == ' ')  {

  for_reverse.push_back(word);

  word = "";  }

 else{    word += sentence[i];}  }

for_reverse.push_back(word);

sentence="";

for (int i = for_reverse.size() - 1; i > 0; i--){

 sentence+=for_reverse[i]+" ";}

sentence+=for_reverse[0];

cout<<sentence<<endl;

return 0;

}

Explanation:

This declares sentence and word as strings; word is then initialized to an empty string

string sentence,word="";

This gets input for sentence

getline (cin, sentence);

This creates a string vector to reverse the input sentence

vector<string> for_reverse;

This iterates through the sentence

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

This pushes each word of the sentence to the vector when space is encountered

 if (sentence[i] == ' ')  {

  for_reverse.push_back(word);

Initialize word to empty string

  word = "";  }

If the encountered character is not a blank space, the character is added to the current word

 else{    word += sentence[i];}  }

This pushes the last word to the vector

for_reverse.push_back(word);  

This initializes sentence to an empty string

sentence="";

This iterates through the vector

for (int i = for_reverse.size() - 1; i > 0; i--){

This generates the reversed sentence

 sentence+=for_reverse[i]+" ";}

This adds the first word to the end of the sentence

sentence+=for_reverse[0];

Print the sentence

cout<<sentence<<endl;

What intangible benefits might an organization obtain from the development of an

information system?​

Answers

Answer:

The immaterial benefits stem from the development of an information system and cannot easily be measured in dollars or with confidence. Potential intangible advantages include a competitive need, timely information, improved planning and increased flexibility in organisation.

Explanation:

Intangible advantages

Take faster decisionsCompetitive needMore information timelyNew, better or more information availability.

Lower productivity and the lack of 'think outside' employees and managers as well as greater sales include the intangible costs of such an operational environment. All these factors improve when employees spend less of their time in addressing current methods of operation and are concerned about whether they will have a job or an employer in six months or a year. The automation level envisaged in this new system should enhance the overall efficiency of management. The operative controls and design functions should be simplified by tight system integrations with accessible automated database sources. However, it is difficult to describe the exact form of these simplifications.

Tangible costs of the new system include costs of analysis, design and construction of the system, such as the recruitment of contractors or new employees, and the assignment of existing staff. Also consideration shall be given to hardware, software purchased and operating costs. Intangible costs include disturbances to the current activities caused by development and deployment and potential adverse effects on the morals of employees.

While the new system may feel good in the long term, short-term stress and other negative consequences will still be present. In the way that Reliable does virtually everything, the system is the focus of a major change. An organisation's monumental change has widespread negative effects on operations and employees.

what is the difference of expository and reflexive documentary

Answers

The reflexive documentary mode focuses on the relationship between the filmmaker and the audience. While expository documentaries set up a specific point of view or argument about a subject and a narrator often speaks directly to the viewer.

Consider the following program in which the statements are in the incorrect order. Rearrange the statements so that the program prompts the user to input the height an the radius of the base of a cylinder and outputs the volume and surface area of the cylinder. Format the output to two decimal places.
#include
#include
int main()
{}
double height;
cout << "Volume of the cylinder = "
<< PI * pow(radius, 2.0)* height << endl;
cout << "Enter the height of the cylinder: ";
cin >> radius;
cout << endl;
return 0;
double radius;
cout << "Surface area: "
<< 2 * radius * + 2 * PI * pow(radius, 2.0) << endl;
cout << fixed << showpoint << setprecision(2);
cout << "Enter the radius of the base of the cylinder: ";
cin >> height;
cout << endl;
#include
const double PI = 3.14159;
using namespace std;

Answers

Answer:

The arrange code is as follows:

#include<iomanip>

#include<iostream>

#include<math.h>

using namespace std;

const double PI = 3.14159;

int main(){

double height;

double radius;

cout << "Enter the height of the cylinder: ";

cout << endl;

cin >> height;

cout << "Enter the radius of the base of the cylinder: ";

cout << endl;

cin >> radius;

cout << fixed << showpoint << setprecision(2);

cout << "Volume of the cylinder = "<< PI * pow(radius, 2.0)* height << endl;

cout << "Surface area: "<< 2 * radius * + 2 * PI * pow(radius, 2.0) << endl;

return 0;

}

Explanation:

Required

Rearrange the program

There are no one way to solve questions like this. However, a simple guide is as follows:

All header files must be called first (i.e #include....)

Followed by the namespaces (std)

if the program uses constant, the constant must be declared and initialized.

e.g. const double PI = 3.14159;

Next, all variables and must be declared (e.g. double radius)

Next, all inputs must be taken before the values of the variables can be used (e.g. cin >> height;)

If the inputs used prompts, the prompt must be before the inputs.

Next, perform all computations then output the results

Consider an array inarr containing atleast two non-zero unique positive integers. Identify and print, outnum, the number of unique pairs that can be identified from inarr such that the two integers in the pair when concatenated, results in a palindrome. If no such pairs can be identified, print -1.Input format:Read the array inarr with the elements separated by ,Read the input from the standard input streamOutput format;Print outnum or -1 accordinglyPrint the output to the standard output stream

Answers

Answer:

Program.java  

import java.util.Scanner;  

public class Program {  

   public static boolean isPalindrome(String str){

       int start = 0, end = str.length()-1;

       while (start < end){

           if(str.charAt(start) != str.charAt(end)){

               return false;

           }

           start++;

           end--;

       }

       return true;

   }  

   public static int countPalindromePairs(String[] inarr){

       int count = 0;

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

           for(int j=i+1; j<inarr.length; j++){

               StringBuilder sb = new StringBuilder();

               sb.append(inarr[i]).append(inarr[j]);

               if(isPalindrome(sb.toString())){

                   count++;

               }

           }

       }

       return count == 0 ? -1 : count;

   }

   public static void main(String[] args) {

       Scanner sc = new Scanner(System.in);

       String line = sc.next();

       String[] inarr = line.split(",");

       int count = countPalindromePairs(inarr);

       System.out.println("RESULT: "+count);

   }

}

Explanation:

OUTPUT:

S.B. manages the website for the student union at Bridger College in Bozeman, Montana. The student union provides daily activities for the students on campus. As website manager, part of S.B.'s job is to keep the site up to date on the latest activities sponsored by the union. At the beginning of each week, he revises a set of seven web pages detailing the events for each day in the upcoming week. S.B. would like the website to display the current day's schedule within an aside element. To do this, the page must determine the day of the week and then load the appropriate HTML code into the element. He would also like the Today at the Union page to display the current day and date.Complete the following:Use your editor to open the bc_union_txt.html and bc_today_txt.js files from XX folder. Enter your name and the date in the comment section and save them as bc_union.html and bc_today.js. DONEGo to the bc_union.html file in your editor. Directly above the closing tag, insert a script element that links the page to the bc_today.js file. Defer the loading of the script until after the rest of the page is loaded by the browser. Study the contents of the file and save your changes. DONEGo to the bc_today.js file in your editor. At the top of the file, insert a statement indicating that the code will be handled by the browser assuming strict usage. Note that within the file is the getEvent() function, which returns the HTML code for the daily events at the union given a day number ranging from 0 (Sunday) to 6 (Saturday). "use strict";Declare the thisDate variable containing the Date object for the date October 12, 2018. var thisDate = new Date("October 12, 2018");Declare the dateString variable containing the text of the thisDate variable using local conventions. var dateStr = thisDate.toLocaleDateString();Declare the dateHTML variable containing the following text string

date where date is the value of the dateString variable. var dateHTML = "" + dateStr + "

";Create the thisDay variable containing the day of the week number from the thisDate variable (Hint: use the getDay() method). - confused here, have: var thisDate = thisDate.getDay(); correct?Using the thisDay variable as the parameter value, call the getEvent() function to get the HTML code of that day's events and store that value in a variable named eventHTML. - lost here...Applying the insertAdjacentHTML() method to the page element with the ID unionToday, insert the value of the dateHTML plus the eventHTML variables before the end of the element contents. - again, lost here too. Found this on another site... document.querySelector('#unionToday').insertAdjacentHTML('beforeend',dateHTML +' '+ eventHTML); -- Where do I put it?Document your code with descriptive comments."use strict"; /* #4 pg680 *//* New Perspectives on HTML5 and CSS3, 7th Edition Tutorial 9 Case Problem 2 */ This script uses the getEvent() function to return the HTML code containin the daily events at the Bridger College student union. *//*Display the Current Date*/var thisDate = new Date("October 12, 2018"); var dateStr = thisDate.toLocaleDateString(); /* Display the Date Using Local Conventions as a Header*/var dateHTML = "

" + dateStr + "

"; /* Display the Day of the Week Number*/var thisDate = thisDate.getDay(); // #8 Correct???/* Display the Event Listings */function getEvent(day) { var eventHTML = day[thisDay]; /* is adding this correct?? = day[thisDay]; part of #9 ??? */ switch (day) { case 0: // Sunday Events eventHTML = " \ Highlights from the Bridger Art Collection \

An exhibition from over 60 items in the BC permanent collection.

\

Location: Room A414

\

Time: 12 am – 4 pm

\

Cost: free

\ \ Bridger Starlight Cinema \

Recent, diverse, and provocative films straight from the art house. 35mm.

\

Location: Fredric Whyte Play Circle

\

Time: 7 pm – 10 pm

\

Cost: $3.75 MWU students, Union members, Union staff. $4.25 all others

\ \ "; break; case 1: // Monday Events eventHTML = " \ Monday Billiards \

Play in the BC Billiards league for fun and prizes

\

Location: Union Game Room

\

Time: 7 pm – 11 pm

\

Cost: $3.75 for registration

\ \ Distinguished Lecture Series \

Cultural critic Elizabeth Kellog speaks on the issues of the day.

\

Location: Union Theater

\

Time: 7 pm – 9 pm

\

Cost: free, seating is limited

\ \ "; break;

Answers

Answer:

hi

Explanation:

i did not known answers

which of the following indicates that the loop should stop when the value in the quantity variable is less than the number 50​

Answers

Answer:

while (quantity >= 50)

Explanation:

Required

Stop when quantity is less than 50

To do this, we make use of a while statement and the syntax is:

while (condition){ }

If the loop should stop when quantity is less than 50; then it means the loop would continue when quantity is greater or equal to 50

So, we have:

while (quantity >= 50)

Which orientation style has more height than width?

Answers

Answer:

"Portrait orientation" would be the correct answer.

Explanation:

The vertical picture, communication as well as gadget architecture would be considered as Portrait orientation. A webpage featuring portrait orientation seems to be usually larger than large containing lettering, memo abases as well as numerous types of content publications.One such volume fraction also becomes perfect for impressionism depicting an individual from either the top.

Thus the above is the correct answer.

what are the functions of the windows button, Task View and Search Box? give me short answer

Answers

Answer:

Windows button = You can see a Start Menu

Task view = You can view your Tasks

Search Box = You can search any app you want in an instance

Please answer

NO LINKS​

Answers

Answer:

Please find the attached file for the complete solution:

Explanation:

Given the value x=false ,y=5 and z=1 what will be the value of F=(4%2)+2*Y +6/2 +(z&&x)?

Answers

Answer:

F = 13

Explanation:

Given:

x = false

y = 5

z = 1

F = (4%2)+2*Y +6/2 +(z&&x)

We solve this arithmetic using the order of precedence:

i. Solve the brackets first

=> (4 % 2)

This means 4 modulus 2. This is the result of the remainder when 4 is divided by 2. Since there is no remainder when 4 is divided by 2, then

4 % 2 = 0

=> (z && x)

This means (1 && false). This is the result of using the AND operator. Remember that && means AND operator. This will return false (or 0) if one or both operands are false. It will return true (or 1) if both operands are true.

In this case since the right operand is a false, the result will be 0. i.e

(z && x) = (1 && false) = 0

ii. Solve either the multiplication or division next whichever one comes first.

=> 2 * y

This means the product of 2 and y ( = 5). This will give;

2 * y = 2 * 5 = 10

=> 6 / 2

This means the quotient of 6 and 2. This will give;

6 / 2 = 3

iii. Now solve the addition by first substituting the values calculated earlier back into F.

F = (4%2)+2*Y +6/2 +(z&&x)

F = 0 + 10 + 3 + 0

F = 13

Therefore, the value of F is 13

Write a program that reads integers from the user and stores them in a list. Your
program should continue reading values until the user enters 0. Then it should display
all of the values entered by the user (except for the 0) in order from smallest to largest,
with one value appearing on each line. Use either the sort method or the sorted
function to sort the list.

Answers

Answer:

The program in Python is as follows:

numList = []

num = int(input())

while num != 0:

   numList.append(num)

   num = int(input())

   

numList.sort()

for num in numList:

   print(num)

Explanation:

This initializes the list

numList = []

This gets input from the user

num = int(input())

This loop is repeated until the user enters 0

while num != 0:

This appends the user input to the list

   numList.append(num)

This gets another input from the user

   num = int(input())

This sorts the list in ascending order    

numList.sort()

This iteration prints the list elements, each on a line

for num in numList:

   print(num)

Which one of these statements about digital signatures is true? A digital signature:
a. Is used to add a personal touch to e-mail messages.
b. Automatically encrypts the contents of an e-mail.
c. Is a scanned image of your real signature.
d. Is used to verify the identity of the sender of a message.​

Answers

Answer:

A. Is used to add a personal touch to e-mail messages.

Explanation:

A digital signature—a type of electronic signature—is a mathematical algorithm routinely used to validate the authenticity and integrity of a message (e.g., an email, a credit card transaction, or a digital document). ... Digital signatures are significantly more secure than other forms of electronic signatures.

Alex, a web designer, is assigned the task of creating a mobile device-friendly website for a leading fashion outlet called AllStyles. A desktop version of AllStyles's website already exists. Alex can refer to this desktop version of the website to create the mobile website design The desktop version of the website contains a long list of hyperlinks and this can obstruct the view of the main content when Viewed from a mobile device. Which of the following should Alex use to hide this long list of hypertext links so that it appears only in response to a tap of a major heading in the navigation list?
a. Navigator menus
b. Pulldown menus
c. Pop-up links
d. Header links

Answers

Answer: Pulldown menus

Explanation:

Pulldown menus refer to the graphical control element, that is identical to a list box, which enables user to be bake to select one value from a list.

They're regarded as the menu of options that will appear when an item is selected with a mouse. In this case, the item that the user selected will show at the top of the display screen, while the menu appears will show below it.

Therefore, Alex should use the pulldown menus to hide the long list of hypertext links so that it appears only in response to a tap of a major heading in the navigation list.

Mencione como la electricidad evoluciono la vida el ser humano.
AYUDA

Answers

Answer:

La electricidad es el conjunto de fenómenos físicos relacionados con la carga eléctrica y los campos eléctricos y también con el electromagnetismo. Dado que la energía eléctrica es una fuente importante de energía en la vida cotidiana, las palabras "electricidad" y "corriente" a menudo se usan indistintamente en el habla cotidiana. Sin embargo, la electricidad también incluye otros fenómenos fácilmente reconocibles como los rayos y la electricidad estática.

La electricidad tiene muchas aplicaciones técnicas. Por lo tanto, la ingeniería eléctrica se explora y se desarrolla más en la ingeniería eléctrica. A diferencia de muchos otros fenómenos físicos, muchos de los fenómenos asociados con la electricidad pueden medirse y calcularse previamente con gran precisión.

La electricidad es un fenómeno natural. La más conocida es la ocurrencia de rayos, que es causada por una diferencia de potencial en la atmósfera. Algunos peces, como la anguila eléctrica, también son capaces de generar electricidad. Además, los sistemas nerviosos animal y humano funcionan con señales eléctricas.

What has happened (or is still happening) to make this speech occur? armageddon

Answers

Answer:

Are you talking about the bruce willis is superman basically? Because if so i don't think so because that is a future event that hasn't happened yet also that film sucks.

Explanation:

What is scrum of scrum

Answers

Answer: scrum

Explanation:

Answer:

The Scrum of Scrums is a time-boxed session in which a representative from each Team shares high-level updates on their respective team's work and articulates their progress and impediments. Ideally, it should follow the various teams' Daily Stand-ups, so that the latest information is communicated.

hope that helps bby<3

5. Name the special window that displays data, when you insert a chart.

a) Datasheet b) Database c) Sheet​

Answers

Answer:

A.Datasheet

Explanation:

I hope it's helpful

Other Questions
100 points in three well constructed paragraphs. Be as specificas you can citing the text to support your responses. 3. Twelve Angry MenA. 'Twelve Angry Men depicts the way in which economic, social and cultural factors canhave a significant impact on the process of justice.' Discuss. the intrument that tells both the speed and direction of the wind is the? How many one-to-one correspondences exist between A = {1, 2, 3, 4} and B = {a, b, c, d} Equation of lines acellus pls help ofooehhenxkdoke Convert the following equation into slope-intercept form. x-26y=52 Which of the following lies primarily within the realm of macroeconomics? a study of the demand for gasoline a study of how tax cuts stimulate aggregate production an analysis of supply and demand conditions in the electricity market a study of the impact of "mad cow" disease on the price of beef worldwide .......................................................... A student must use an object attached to a string to graphically determine the gravitational field strength near Earth's surface. The student attaches the free end of the string to the ceiling and pulls the object-string system so that the string makes an angle of 5 degrees from the object's vertical hanging position. The student then releases the object from rest and uses a stopwatch to measure the time it takes for the object to make one complete oscillation. Which of the following is the next step that will allow the student to determine the gravitational field strength? ) Repeat the experiment by adding additional mass to the object for multiple trials B) Repeat the experiment by changing the length of the string for multiple trials C) Repeat the experiment by changing the angle that the string makes with the object's vertical hanging position D) Repeat the experiment by measuring the time it takes to make two oscillations, three oscillations, and additional oscillations for multiple trials A student constructs a Venn diagram to compare the organelles in plant and animal cells.Venn Diagram of Plant and Animal CellsAnimal OnlyBothPlant OnlyWhich organelle should be listed under "Animal Only" in the diagram? Which of the following is NOT an example of a renewable resource?O biomasswaterairoil 1......me a newsapaper when you're out ?1).will you get 2)Did you get 3)Are you getting 4)were you getting2.Marisa is in her office. She has been there.....7 o'clock1)in2)to3)since4)for3.The school bus.....at 6.001)usually comes2)comes usually 3.)usually come4)come usually HURRY PLEASE How does Rousseaus The Social Contract describe liberty? What are the waste products of alcoholic fermentation?A. Ethanol and carbon dioxideB. Lactate and oxygenC. Glucose and waterD. Carbon dioxide and oxygen(40 points!!!) (will mark brainliest if its right) What waves are used to send signals because they can travel over very long distances and pass through buildings Fill in the blanks with the most appropriate words given below.around, react, too, method, fields, on, plants,together, is, family, planter, weeds, experience, talkingEcology is the study of how (1) , animals and people live (2) andhelp each other. But man sometimes forgets he (3) .... a part of the (4).. ofall living things. Here is an example. A planter is (5). about killing (6) on his land. He remembers his first (7). with a weedicide. He was a (8).. then, working (9)....a rubber plantation. He had a problem withweeds. The cost of weeding of the (10). by hand was getting (11)..high. So he used a new, cheap and effective (12), good old SodiumArsenate. He sprayed plenty of this (13) to kill the weeds. The first thing to(14) were the frogs. What were three countries that practiced imperialism How do mountains play a role in precipitation patterns?a. As water vapor condenses,the air gets warmer b.it changes the amount of rain received c.it changes the direction of the wind d.as vapor condenses,it depends rain or snow on windward slopes Why is Jeannette more comfortable with Dinita than she is with white children? I wish he was an Englishman who is he A patient with COPD struggling to breathe in the sitting position should be changed to which position