Question 1:
The Wayfinder is an ancient piece of technology created as a means of navigating challenging stretches of space. The device connects to every piece of technology in the galaxy in order to detect planets and spaceships and then shown their location to the user. As it happens, locations of planets follow a specific distribution. A planet can exist at coordinates x,y only if
2x² + |2xy| + y² =10000
The user can use the Wayfinder to find nearby planets by input the range for x and y. Draw a flowchart and write a C++ program that models the Wayfinder. Ask the user to input a range for x and y, then print all possible planet coordinates. The program should also print the number of planets detected.
Hint: you can use pow(x,n) to get the value of xn and abs(x) to get the absolute value of x.

helpppppppppp!!!!!!!!!!

Sample output:

Question 1:The Wayfinder Is An Ancient Piece Of Technology Created As A Means Of Navigating Challenging

Answers

Answer 1

Answer:

Following are the code to the given question:

#include<iostream>//header file

#include<math.h>//header file

using namespace std;

int main()//main method

{

   long long x, x1, y, y1;//defining long variable

   int count=0,i,j;//defining integer variable

   cout<<"Enter a range for x coordinates: "<<endl;//print message        

   cin>>x>>x1;//input x and x1 value                          

   cout<<"Enter a range for y coordinates: "<<endl;//print message

   cin>>y>>y1; //input y and y1 value  

   for(i = x; i <= -x1; i++)//use nested loop that tests each coordinates                                        

   {

       for(j = y; j <= y1; j++)//use nested loop that tests each coordinates

       {

           if(((2*pow(i,2)) + abs(2*i*j) + pow(j,2)) == 10000)//use if that checks condition as per the given question

           {

               cout<<"There is a planet at "<<i<<", "<<j<<endl;//  print coordinates

               count++;//incrementing count variable value                                                    

           }

       }

   }

   cout<<"Total number of planets detected are: "<<count<<endl;//print count value

   return 0;

}

Explanation:

In this code, inside the main method long "x, x1, y, and y1" and integer "count, i, and j" type variable is declared that uses a long variable to input value from the user-end.

In the next step, two nested loops have defined that test each coordinate and define if block that checks condition as per the given question and use i, j, and count variable to print value with the message.


Related Questions

there are....... section in
cpu

Answers

Explanation:

The CPU is made up of three main components, the control unit , the immediate access store and the arithmetic and logic unit .

A number of computers have been reported to be getting incorrect IP addresses. After doing some investigation, an unauthorized DHCP server has been determined to be the cause. Which step in the troubleshooting process should be performed next

Answers

Answer:

Establish a plan of action to find the DHCP server.

Explanation:

The troubleshooting process can be defined as the sequential steps that are to be taken while trying to proffer a solution to a problem, usually on computer systems.

The seven (7) steps of the troubleshooting process in ascending order are;

1. Identify the problem.

2. Establishing a theory of probable cause of the problem.

3. Test the established theory to determine cause.

4. You should establish a plan of action to resolve the problem while identifying its potential effects.

5. Implement a solution.

6. Verify full system functionality.

7. Document findings, actions and outcomes.

In this scenario, the step in the troubleshooting process that should be performed next is establishing a plan of action to resolve the problem by finding the unauthorized dynamic host control protocol (DHCP) server issuing the incorrect internet protocol (IP) addresses.

what is the software component of multimedia

Answers

The various components of multimedia are Text, Audio, Graphics, Video and Animation. All these components work together to represent information in an effective and easy manner.

As a security precaution, you have implemented IPsec that is used between any two devices on your network. IPsec provides encryption for traffic between devices.You would like to implement a solution that can scan the contents of the encrypted traffic to prevent any malicious attacks.Which solution should you implement?

Answers

Answer:

Host-based IDS

Explanation:

A host-based IDS is installed on a single host and monitors all traffic coming in to the host. A host-based IDS can analyze encrypted traffic because the host operating system decrypts that traffic as it is received.

algo de La historia de los productos tecnologicos

Answers

Answer:

La tecnología se define como la suma de técnicas, habilidades, métodos y/o procesos utilizados y utilizados en la producción de bienes, productos o servicios, o para lograr objetivos clave de la investigación científica.

Precisamente, la tecnología se define como la aplicación del conocimiento científico con fines prácticos, especialmente en la producción industrial. Un significado secundario de la palabra se refiere al desarrollo de dispositivos y mecanismos con fines científicos y está directamente relacionado con las artes aplicadas, las ciencias aplicadas o la ingeniería. A veces se refiere a la metodología que caracteriza tal proceso. En los últimos años ha existido una tendencia a que el concepto se refiera únicamente a la alta tecnología y / o tecnología informática, aunque básicamente no se limita a estas áreas. Por ejemplo, tanto la Estación Espacial Internacional o una computadora pueden ser tecnología, también pueden ser un abridor de botellas estándar. A menudo, el objeto de la tecnología con beneficios prácticos no es el producto de la investigación científica, sino el resultado de un descubrimiento accidental.

In a _____ cloud, a participating organization purchases and maintains the software and infrastructure itself.

Answers

Answer:

"Private" is the right solution.

Explanation:

Application servers supplied sometimes over the World wide web or through a personal corporate network as well as to chosen customers rather than the community benefit of the entire, is termed as the private cloud.It provides companies with the advantages of a cloud environment that include self-checkout, adaptability as well as flexibility.

You're the administrator for a large bottling company. At the end of each month, you routinely view all logs and look for discrepancies. This month, your email system error reports a large number of unsuccessful attempts to log on. Its apparent that the mail server is being targeted. Which type of attack is most likely occurring

Answers

Answer:

It seems as though it would be a DDoS attack.

Explanation:

The characteristics are as follows:

A slow down of operations and attempting to get access into said service.

A connection has been terminated and no communication is possible. What is the Transmission Control Protocol (TCP) socket state?

Answers

Answer:

Closed

Explanation:

When a connection has been terminated and no communication is possible between the communicating network devices, the Transmission Control Protocol (TCP) socket would be closed.

They have requested a 1- to 2-page memo that describes the hospital's protections against a ransomware attack.

Answers

What is the memo that they have asked of you

When a primitive type variable is passed as an argument to a method, what is passed into the receiving method's parameter variable

Answers

Answer:

The value of the primitive type variable is passed into the receiving method

Explanation:

Examples of primitive data types are integers, floats, real, double, character, byte, etc.

When any of these data types variables are passed to a method, the method which receives the variables receives the value of the variable being passed.

Take, for instance; the following code segment:

int doubleNum(int num){ ..... }

int main(){ ... num = 2; doubleNum(num);}

The above function doubleNum will receive the value of num (which is 2).

Eva is the network architect for her company's large cloud deployment; she has interconnected her private cloud to a community cloud in another province. She is investigating using the community cloud to supplement her private cloud workload during end-of-month processing. What operation is she going to perform

Answers

Answer:

The appropriate response is "Cloud bursting".

Explanation:

A strategy for the implementation of a program in a proprietary cloud or network infrastructure that explodes onto a public cloud if availability or production for computational power increases, could be considered Cloud bursting.It enables extra cloud capabilities throughout cases where additional facilities have been required.

What is the purpose of "display:table"?

Answers

Answer:

Modern browsers use CSS to style all their markup.

How would they render a <table> element if CSS had nothing that could express the appearance of one?

(That, and you might have non-tabular data that you want to render like a table, there are enough people using tables for layout to see a demand for it).

They can be used to format content in a tabular manner when the markup does not use the table element, e.g. because the markup was written by someone who was told not use tables or because the markup is generic XML and not HTML.

You can also design a page using e.g. div elements so that some stylesheet formats them as a table, some other stylesheet lets them be block elements or turns them to inline elements. This may depend e.g. on the device width

In design and implementation of any _____ reasoning application, there are 4 Rs involved: retrieve, reuse, revise, and retain.

Answers

Answer:

case-based.

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.

Simply stated, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.

A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are seven (7) main stages in the creation of a software and these are;

1. Planning.

2. Analysis.

3. Design.

4. Development (coding).

5. Testing.

6. Implementation and execution.

7. Maintenance.

A case-based reasoning application refers to a knowledge-based system that is designed and developed to use previous case scenarios (similar past problems) to interprete or proffer a solution to a problem.

In design and implementation of any case-based reasoning application, there are four (4) Rs involved: retrieve, reuse, revise, and retain.

Realiza un algoritmo que calcule la edad de una persona y si es mayor = a 18 que imprima mayor de edad de lo contrario que imprima menor de edad

Answers

Answer:

Explanation:

El siguiente codigo esta escrito en Java. Le pide al usario que marque la edad. Despues el programa analiza la edad y imprime a la pantalla si el usario es mayor de edad o menor de edad. El programa fue probado y el output se puede ver en la imagen abajo.

import java.util.Scanner;

class Brainly

{

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Cual es tu edad?");

       int age = in.nextInt();

       if (age > 18) {

           System.out.println("Mayor de Edad");

       } else {

           System.out.println("Menor de Edad");

       }

   }

}

what is the fullform of ETA in computer term​

Answers

Answer:

Estimated Time of Arrival.

a passcode is created using 4 digits. how many passcodes can be created where the code has to be 5000 or greater with no digit allowed to repeat

Answers

Answer:

5000 passcodes

Explanation:

5x10x10x10 = 5000

Software written to meet the specific needs of a company is known as



Answers

Answer: system

Explanation:

System software refers to the software that's written to meet the specif needs of a company. It is designed in order to provide a platform for the other software and run the hardware and the application programs of a computer.

Examples of system software are game engines, industrial automation, search engines, etc.

como se llama el arte de pintar en las cuevas sus actividades de caceria

Answers

shsibdhebduduebsisodbduei


why are computer important these days?write in short


Answers

Computer has become very important nowadays because it is very much accurate, fast and can accomplish many tasks easily. Otherwise to complete those tasks manually much more time is required. It can do very big calculations in just a fraction of a second. Moreover it can store huge amount of data in it.

………………….... controls the operations like reading data from input devices, transmitting information to output devices and checking the components of a computer.​

Answers

Explanation:

hi the IP address of my colleague of mine that

7. The message on a diamond-shaped sign might be
a. Pass With Care, Trucks Use Right Lane, or
Do Not Pass.
b. Curve, Hill, or Winding Road.
One Way, Wrong Way, or No Trucks.
d. No Turn, Speed Zone Ahead, or Left Lane
Must Turn Left.

Answers

Answer:

a. pass with care, trucks use right lane, or do not pass

A Linux systems admin reported a suspicious .py file that ran on a daily schedule after business hours. The file includes shellcode that would automate Application Programming Interface (API) calls to a web application to get information. What type of script is executing this shellcode

Answers

Answer: Python script

Explanation:

Based on the information given in the question, the type of script that is executing this shellcode is the Python script.

The Python script is a file that contains codes that are written in Python. In such case, the file which contains the python script typically has an extension

which is ".py"' or ".pyw" when it's run on windows

Therefore, based on the information given, the answer is Python script.

The type of script used in executing the shellcode that would automate Application Programming Interface (API) calls to a web application to get information is called; Python Script.

The type of script required to execute the given shellcode is called a python script. This is because the Python script is simply defined as a file that contains a code which is written in Python.

Now, this file which contains the python script will have the extension ‘.py’. However, if it is being run on a windows machine, it could also be the extension ‘.pyw’.

Finally, to run a python script, all we need to do is to get a python interpreter that we will download and install.

Read more about python at; https://brainly.com/question/16397886

what is the term used to describe the situation when a derieved class provides a function already provided in the bae class

Answers

Answer:

The right approach is "Overriding".

Explanation:

The overriding function seems to be a programming application that enables a classroom as well as children to successfully implement some technique that's been given by another one of their parents or super classes.The overriding method must be named, signed, and parameter-like inside your parent process throughout the child one.

Thus the above is the correct answer.

Adobe gives away the Acrobat Reader to build a market for the sale of software that creates Acrobat files. This is an example of:

Answers

Group of answer choices.

A. firms giving away products for half of a two-sided market to seed the market.

B. one market attempting to conquer a new market by making it a subset, component, or feature of its primary offering.

C. firms spreading costs across increasing units of production or in serving multiple customers.

D. firms taking advantage of complementary products developed for a prior generation of technology.

E. markets, once considered distinctly separate, beginning to offer similar features and capabilities.

Answer:

A. firms giving away products for half of a two-sided market to seed the market.

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.

Simply stated, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.

Basically, softwares are categorized into two (2) main categories and these are;

I. Open-source software.

II. Proprietary software.

An open-source software is a type of software in which end users are granted the permission to use, study, modify, copy and share the software with its source code anyhow.

In this scenario, Adobe giving away the Acrobat Reader to build market for the sale of software that creates Acrobat files. Thus, this is an example of firms giving away products for half of a two-sided market to seed the market.


4. What are the things that a computer literate understands?name them

Answers

[tex]{\blue{OII}}[/tex]

[tex]{\green{TUDO}}[/tex] [tex]{\red{BEM ?}}[/tex]

The activities that the computer scientist develops Data structuring, development and design. CG. Numerical analysis and development of algorithms. Database management. CG.

[tex]{\red{TCHAU }}[/tex]

❤❤

With ok g hey Ed F egg to TK up TK A

which advanced boot option starts windows, but loads only the drivers necessary for basic functionality

Answers

Answer:

The correct answer is: The Safe Mode

Explanation:

Safe Mode is an advanced boot option available in Windows. It is of two categories:

Safe Mode  and Safe Mode with Networking (this option allows inter and intra network conectivity)

It is useful for troubleshooting a windows operating system to find out why it is dysfunctional.

It can be activated by pressing the F8 key as the Windows Operting system boots up, but not after.

Cheers!

What is the process of adding random characters at the beginning or end of a password to generate a completely different hash called?

Answers

Answer:

Salting

Explanation:

Salting is an idea that is related to hashing of password which is the mapping of input data to a fixed length output data by the use of algorithms.

Salting is the addition of a distinctive value to the beginning or end of a password in order to form a different hash value from the hash value that would have been generated without the 'salt', thereby making the passwords more secure from attacks

The salt for each user is a unique value that is stored along with the username in a database

Inputting a range of numbers comprising a batch and then inputting each serially numbered document is characteristic of the control plan called: cumulative sequence check batch sequence check suspense file of missing numbers computer agreement of batch totals

Answers

Answer:

batch sequence check.

Explanation:

A batch sequence check can be defined as a strategic and systematic control plan which typically involves the process of inputting a range of numbers comprising a batch and then inputting each serially numbered document.

The steps for checking an event data within a batch using a batch sequence check include the following;

I. You'll enter a range of serial numbers of the document in a batch.

II. You'll enter each serially pre-numbered document one after the other.

III. The input documents are sorted by a computer into a serial (numerical) order, match the sequence number range against the input documents, and then reports any part of the document that is missing, a duplicate and out of range.

Your internal network is protected from Internet attacks by a Cisco firewall. To improve security, your supervisor suggests installing a Fortinet firewall between the Cisco firewall and the trusted LAN, then using the space between as a perimeter network. Which security principles does this promote

Answers

Answer:

Defense-in-depth

Vendor diversity

Explanation:

The Defense-in-depth or the DiD means a security approach in information where a series of security mechanism and also controls are layered throughput the computer network in order to protect the confidentiality, availability and integrity of the network as well as the data within.

The security principle of Vendor diversity approach is a way of implementing the security controls from the different vendors to increase the security of the network.

Thus in the context, the supervisor is trying to promote the Defense-in-depth  as well as the Vendor diversity principles of security by asking to install a Fortinet firewall between the Cisco firewall and its trusted LAN.

Write down the name of two attributes used along <img> tag.Single line text.​

Answers

Answer:

SRC: it specifies the URL of the image

ALT: it specifies an alternate text for an image

Other Questions
ABC ~ DEFWhat is the value for x, the length of side BC? 1. Calculate the local time at a place 45W longitude when theGMT is 12:00 noon. There are____ official languages of the UNO.a)5b)6c)7d)8 Which of the following are exterior angles? Check all that apply. I WILL MARK THE ANSWER AS BRAINLIEST BE CORRECT BEFORE YOU ANSWER PLEASELOOK AT THE PROBLEM PLEASE HELP!!! PLEASE!!!What is my average speed if I travel x mph for t hrs and then y mph for t hrs?Thanks! what is cell give explanation Write a decimal number that is equivalent to 12 hundredths. A cubic polynomial with zeros at -2, 1, and 4 passes through (2, -56). What is theleading coefficient of the polynomial? While traveling north on an expressway, a car traveling 60 mph (miles per hour) slows down to 30 mph in 12 minutes due to traffic conditions what information do you need to cite a document on a website determine the 2nd and 3rd terms of a geometric sequence of which T1 =5 and T4=40 Which of the following best represents the linear regression equation for the X values and log Y values of the data shown below Question 14 of 20What led to the Rwandan genocide?A. A homogenous populationB. Long-standing ethnic tensionsC. Separation into ecozonesD. Drought and flooding cycles The pre-image, STU, has undergone a type of transformation called a rigid transformation to produce the image, VWX. Compare the measures of the triangles by dragging the image to the pre-image.Which measures are equal? Check all that apply.ST = VWSU = VXTU = WXmSUT = mVXWmTSU = mWVXmUTS = mXWV Which of the following molecules can be used in catabolic reactions to generate the carbon backbones required for gluconeogenesis? a. glutathione, a short peptide containing glutamate, serine and histidine b. butyrate, a short chain fatty acid c. fructose, a monosaccharide d. starch, a polysaccharide We have two circles A and X. The radius and perimeter of the circle A are b and c respectively.The radius and perimeter of the circle X are y and z respectively. Consider the following ratiosK=c/b and L=Z/y.Which of the following statements is true? *K>LKK=LK=2L A dandelion seed floats to the ground in a mild wind with a resultant velocity of 26.0 cm/s. If the horizontal component velocity due to the wind is 10.0 cm/s, what is the vertical component velocity? Show all work. Question 7 of 10Which statement best describes diffraction?A. Waves bend as they pass through an opening.B. Waves and vibrations are oriented in a single direction..C. Waves bounce off a surface.D. Waves change direction as they enter a new material. Dividing Partnership Net Income John Prado and Ayana Nicks formed a partnership, dividing income as follows: Annual salary allowance to Prado, $10,000 and Nicks, $28,000. Interest of 5% on each partner's capital balance on January 1. Any remaining net income divided equally. Prado and Nicks had $20,000 and $50,000, respectively, in their January 1 capital balances. Net income for the year was $30,000. How much net income should be distributed to Prado and Nicks? Prado: $______Nicks: $_______