(CO 4 and 5) Create a program that will read in a list of test scores from the user and add them to a list. Ask the user in between each score if they want to continue (y/n). Display all of the scores entered and the total score at the end. Using the code below, put the code in the proper order Sample output: Welcome to the Test Score Program Add score: 88.45 Do you want to continue

Answers

Answer 1

Answer and Explanation:

Using Javascript:

function AddScores(){

Window.alert("Welcome to the Test Score Program");

var ScoreList= new Array();

ScoreList.push(Prompt("Add Score"));

var WhatNext= Confirm("do you want to continue?");

If(WhatNext===true) {

do{

ScoreList.push(Prompt("Add Score"));

}

While(

Confirm("do you want to continue?")===true;);

}

Alert(ScoreList);

Alert(ScoreList.reduce(function(a,b){return a +b};,0);)

}

AddScores();

From the above code in javascript programming language, we have created a list ScoreList and added elements to it using push method of the array object and a do...while loop that checks the condition and then adds the user's input to the array. We then alerted the array to the screen and then summed up the array elements and also alerted to the screen.


Related Questions

Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile's points added to any points provided by the word's placement on the game board. Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Ex: If the input is: PYTHON the output is: 14

Answers

Complete question:

Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile's points added to any points provided by the word's placement on the game board. Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Ex:  If the input is:  PYTHON

the output is: 14

part of the code:

tile_dict = { 'A': 1, 'B': 3, 'C': 3, 'D': 2, 'E': 1, 'F': 4, 'G': 2, 'H': 4, 'I': 1, 'J': 8,  'K': 5, 'L': 1, 'M': 3, 'N': 1, 'O': 1, 'P': 3, 'Q': 10, 'R': 1, 'S': 1, 'T': 1,  'U': 1, 'V': 4, 'W': 4, 'X': 8, 'Y': 4, 'Z': 10 }

Answer:

Complete the program as thus:

word = input("Word: ").upper()

points = 0

for i in range(len(word)):

   for key, value in tile_dict.items():

       if key == word[i]:

           points+=value

           break

print("Points: "+str(points))

Explanation:

This gets input from the user in capital letters

word = input("Word: ").upper()

This initializes the number of points to 0

points = 0

This iterates through the letters of the input word

for i in range(len(word)):

For every letter, this iterates through the dictionary

   for key, value in tile_dict.items():

This locates each letters

       if key == word[i]:

This adds the point

           points+=value

The inner loop is exited

           break

This prints the total points

print("Points: "+str(points))

Answer:

Here is the exact code, especially if you want it as Zybooks requires

Explanation:

word = input("").upper()

points = 0

for i in range(len(word)):

  for key, value in tile_dict.items():

      if key == word[i]:

          points+=value

          break

print(""+str(points))

what is the meaning of photography​

Answers

Answer and Explanation:

the process or art of producing images of objects on sensitized surfaces by the chemical action of light or of other forms of radiant energy, as x-rays, gamma rays, or cosmic rays.

\( \sf\underline{ Photography} \:  is \: the \: way \: / \: process \: / \: art \\ \sf \: of \: taking \: beautiful \: pictures \\ \sf \: usually \: of \: amazing \: sceneries \: (it \: can \: be \: of \: other \: \\ \sf things \: as \: well) \: for \: visual \: pleasure. \: The \: attached \: picture \\ \sf \: is \: an \: example \: for \: a \: good \\ \sf\: type \: of \: photography. \: A \: person \: who \: practices \: the \: \\\sf art \: of \: photography \: is \: known \: as \: a \: \underline{ photographer}.\)

what is the meaning of photography

To use an outline for writing a formal business document, what should you do
after entering your bottom-line statement?
O A. Move the bottom-line statement to the end of the document.
OB. Enter each major point from the outline on a separate line.
O C. Write a topic sentence for every detail.
OD. Enter each supporting detail from the outline on a separate line.

Answers

To use an outline for writing a formal business document after entering your bottom-line statement, you should: D. Enter each supporting detail from the outline on a separate line.

What is the outline?

To effectively structure the content of your business document and organize your ideas, it is beneficial to input each supporting detail outlined into individual lines. This method enables you to elaborate on every supporting aspect and furnish ample evidence to reinforce your primary assertion.

One way to enhance your document is by elaborating on each point with supporting details, supplying proof, illustrations, and interpretation as required.

Learn more about business document from

https://brainly.com/question/25534066

#SPJ1

I need help finishing this coding section, I am lost on what I am being asked.

I need help finishing this coding section, I am lost on what I am being asked.
I need help finishing this coding section, I am lost on what I am being asked.
I need help finishing this coding section, I am lost on what I am being asked.

Answers

Answer:

when cmd is open tell me

Explanation:

use cmd for better explanatios

explain any three precautions that you must take when cleaning a computer​

Answers

Answer:

The best way to clean any computer component or device is to follow the manufacturer's instructions in your user manual.

Always power off the system first.

Always use anti-static wristband or other professional grounding devices.

Never work on carpeted surfaces.

pleas help with this

pleas help with this

Answers

Answer:

points = dict(Harris=24, Butler=11, Embiid=31, Simmons=15, Reddick=9, Scott=8, Ennis=7, Marjanovic=4, Bolden=1, McConnell=2)

total_points = 0

highest_scorer = ""

highest_score = 0

for player, score in points.items():

 print(player + ": " + str(score) + " points")

 total_points += score

 if score > highest_score:

   highest_score = score

   highest_scorer = player

print("Total points: " + str(total_points))

print("Highest scorer: " + highest_scorer + " (" + str(highest_score) + " points)")

explain approaches of AI​

Answers

A-artificial I-intelligent

Answer:

Main AI Approaches

There are three related concepts that have been frequently used in recent years: AI, machine learning, and deep learning.

If you need to define a connection request policy to apply to an 802.1x authenticating switch or a wireless access point, which NAS type must be selected? Group of answer choices

Answers

Answer:

The correct answer to the following question will be "Unspecified".

Explanation:

NAS provides a comprehensive assessment management infrastructure that guarantees the borrowing market with quick, accurate as well as cost-effective taking values.There is a particular form of Link Requirement Policy. And therefore to use the NAS for something like an 802.1x authentication switch or circuit (Cisco Switches and many more) or perhaps a wireless access point.

So that the NAS must be Unspecified.

In which sections of your organizer should the outline be located?

Answers

The outline of a research proposal should be located in the Introduction section of your organizer.

Why should it be located here ?

The outline of a research proposal should be located in the Introduction section of your organizer. The outline should provide a brief overview of the research problem, the research questions, the approach, the timeline, the budget, and the expected outcomes. The outline should be clear and concise, and it should be easy for the reader to follow.

The outline should be updated as the research proposal evolves. As you conduct more research, you may need to add or remove sections from the outline. You may also need to revise the outline to reflect changes in the project's scope, timeline, or budget.

Find out more on outline at https://brainly.com/question/4194581

#SPJ1

Hello! I need help with what I should put in my program.cs to test out my code. (my code is below)

What method and code do I write to test it out? Thanks!



namespace DES1_Week1_PlayingCardAssignment
{

public enum Ranks {
Ace = 1,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Ten,
Jack,
Queen,
King,
NUM_RANKS
}

public enum Suits {
Hearts = 0,
Diamonds,
Spades,
Clubs,
NUM_SUITS
}

class PlayingCard {
private Suits Suit;
private Ranks Rank;

public PlayingCard(Suits NewSuit, Ranks NewRank) {
Suit = NewSuit;
Rank = NewRank;
}

public static int CompareCards(PlayingCard Card1, PlayingCard Card2) {
int diff = Card2.GetValue() - Card1.GetValue();
if (diff > 0) {
return 1;
} else if (diff < 0) {
return -1;
} else {
return 0;
}
}

public Suits GetSuit() {
return Suit;
}

public Ranks GetRank() {
return Rank;
}

public int GetValue() {
if (Rank == Ranks.Ace) {
return 11;
} else if (Rank == Ranks.King || Rank == Ranks.Queen || Rank == Ranks.Jack) {
return 10;
} else {
return (int)Rank;
}
}

public void DisplayCardBackAtLocation(int XPosition, int YPosition) {
char symbol;
if (Suit == Suits.Clubs) {
symbol = ClubSymbol;
} else if (Suit == Suits.Diamonds) {
symbol = DiamondSymbol;
} else if (Suit == Suits.Hearts) {
symbol = HeartSymbol;
} else {
symbol = SpadeSymbol;
}
Console.SetCursorPosition(XPosition, YPosition++);
char[] values = new char[]{ 'A', '2', '3', '4', '5', '6', '7', '8', '9', 'J', 'K', 'Q' };
char value = values[((int)Rank) - 1];
for (int y = 0; y < CardHeight; y++) {
for (int x = 0; x < CardWidth; x++) {
if (x == 0 && y == 0) {
Console.Write("╔");
} else if (x == CardWidth - 1 && y == 0) {
Console.WriteLine("╗");
} else if (x == 0 && y == CardHeight - 1) {
Console.Write("╚");
} else if (x == CardWidth - 1 && y == CardHeight - 1) {
Console.WriteLine("╝");
} else if (x == 0) {
Console.Write("║");
} else if (x == CardWidth - 1) {
Console.WriteLine("║");
} else if ((y == 0 || y == CardHeight - 1) && (x > 0 && x < CardWidth)) {
Console.Write("═");
} else if (x == 1 && y == 1 || (x == CardWidth - 2 && y == CardHeight - 2)) {
Console.Write(value);
} else if (x == CardWidth / 2 && y == CardHeight / 2) {
Console.Write(symbol);
} else {
Console.Write(" ");
}
}
Console.SetCursorPosition(XPosition, YPosition++);
}
}

public int GetAltValue() {
if (Rank == Ranks.Ace) {
return 1;
} else if (Rank == Ranks.King || Rank == Ranks.Queen || Rank == Ranks.Jack) {
return 10;
} else {
return (int)Rank;
}
}

private static char HeartSymbol = Encoding.GetEncoding(437).GetChars(new byte[] { 3 })[0];
private static char DiamondSymbol = Encoding.GetEncoding(437).GetChars(new byte[] { 4 })[0];
private static char ClubSymbol = Encoding.GetEncoding(437).GetChars(new byte[] { 5 })[0];
private static char SpadeSymbol = Encoding.GetEncoding(437).GetChars(new byte[] { 6 })[0];
public static int CardWidth = 5;
public static int CardHeight = 3;


}
}

Answers

Answer:

It looks fine to me

Explanation:


Which of the following is the first thing you should do in the troubleshooting process when trying to identify possible
causes of a
problem?


Answers

The first thing you should do in the troubleshooting process when trying to identify possible causes of a problem is identify and locate the problem.

What is problem-solving process?

A problem-solving process can be defined as the systematic approach to used to identify and determine the solution to a particular problem. The first thing you should do when troubleshooting a computer problem is to identify and locate the problem.

When an administrator or network engineer is trying to proffer a solution to a computer or network-related problem, it is very important and essential for he or she to first identify what the problem is. This is necessary because it will help to ensure that his or her energy is channeled in the right direction.

Therefore, The first thing you should do in the troubleshooting process when trying to identify possible causes of a problem is identify and locate the problem.

Learn more about troubleshooting on:

https://brainly.com/question/30048504

#SPJ2

The index is the ____________ of a piece of data.

An individual piece of data in a list is called an __________.

For Questions 3-5, consider the following code:

stuff = []




stuff.append(1.0)

stuff.append(2.0)

stuff.append(3.0)

stuff.append(4.0)

stuff.append(5.0)




print(stuff)


What data type are the elements in stuff?

What is the output for print(len(stuff))?

What is the output for print(stuff[0])?

Consider the following code:

price = [1, 2, 3, 4, 5]

This code is an example of a(n) ______________ _____________.

Group of answer choices

number list

int list

price list

initializer list

Answers

Answer:

The index is the position of a piece of data in a list.

An individual piece of data in a list is called an element.

The elements in stuff are float data type.

The output for print(len(stuff)) is 5, which is the number of elements in the stuff list.

The output for print(stuff[0]) is 1.0, which is the first element of the stuff list.

The code price = [1, 2, 3, 4, 5] is an example of a list that contains integer elements. We can call this list an integer list or simply a list.

Miss Jones is a small business entrepreneur who currently does everything manually. She is the
head chef at her small cook shop which has many loyal repeat customers. Her assistant helps with
cooking as well as the paperwork. Miss Jones also employs someone to makes deliveries to
customers. Customers order via telephone and everything is handwritten.
There are various issues such as missing orders, receipts and customer contact information. Two
stand-alone computers and a printer are in the office. One computer is not working due to a virus
and the other is not connected to the printer so no printing can be done at this time. The assistant
accidentally deleted all files on this second computer which therefore is not being used.
A. Advise Miss Jones of TWO (2) advantages of setting up a computer network. 4 marks)
B. Describe TWO (2) network hardware that Miss Jones will need. (4 marks)
C. Which wired transmission medium would you recommend? Why? (3 marks)
D. What TWO (2) risk management strategies would you recommend? Give reasons for
your answer. (4 marks)
E. Miss Jones has decided to keep customer data in an electronic database to help the
situation. If you were to create a table to hold customer data, what FOUR (4) fields
would you include? (2 marks)
F. Other than customers calling in, which office automation technology could be used to
capture orders? Give reasons for your answer. (3 marks)

Answers

I think it would be that because head chef

Write a program that asks the user for a sentence and creates a new string based on the input that has all the spaces removed. For example if the user enters: “This is a test” It should output: “Thisisatest”

Answers

Answer:

Here is a Python program that asks the user for a sentence and creates a new string based on the input that has all the spaces removed.

# Prompt the user for a sentence

sentence = input("Enter a sentence: ")

# Create a new string with all the spaces removed

no_spaces = sentence.replace(" ", "")

# Print the new string

print(f"New string: {no_spaces}")

Explanation:

In this program, we first prompt the user for a sentence and store it in the sentence variable. We then use the replace method to create a new string with all the spaces removed. This method takes two arguments: the string to search for (in this case, a space), and the string to replace it with (in this case, an empty string).

Finally, we print the new string that has all the spaces removed. This program allows the user to input any sentence, and creates a new string based on that input that has all the spaces removed.

jane, an employee in the human resources department, has created several important pdf documents on her computer that all office managers in her building must read. she would like to make locating these files simple and maintain them as little as possible. it is important that no other users are permitted to view these documents. As the IT technician for your company, Jane has asked you to make this possible.
Which of the following would MOST likely fulfill Jane's needs?

Answers

Answer:

Network share

Explanation:

How is the query wizard used on a table?

Answers

The query wizard is a tool in database management systems that helps users create queries to retrieve specific data from a table. Here are the steps to use the query wizard on a table:

1. Open the database management system, such as Microsoft Access.
2. Open the table you want to query.
3. Locate the "Query Wizard" option, which is typically found in the toolbar or menu.
4. Click on the "Query Wizard" option to launch the wizard.
5. Follow the instructions provided by the query wizard.
6. Select the fields you want to include in your query from the available options.
7. Choose the criteria you want to use to filter the data. This can be based on specific values, ranges, or conditions.
8. Specify the sorting order for the query results, if desired.
9. Name the query and choose whether to immediately view the results or modify the design of the query further.
10. Click "Finish" or "OK" to generate the query and view the results.
By using the query wizard, you can easily create and customize queries without needing to write complex SQL statements manually. It provides a user-friendly interface to guide you through the process of querying a table.

For more such questions wizard,Click on

https://brainly.com/question/30670647

#SPJ8

How can you compute, the depth value Z(x,y) in
z-buffer algorithm. Using incremental calculations
find out the depth value Z(x+1, y) and Z (x, y+1).
(2)

Answers

The Depth-buffer approach, usually referred to as Z-buffer, is one of the methods frequently used to find buried surfaces. It is a method in image space and pixel.

Thus, The pixel to be drawn in 2D is the foundation of image space approaches and Z buffer. The running time complexity for these approaches equals the product of the number of objects and pixels.

Additionally, because two arrays of pixels are needed—one for the frame buffer and the other for the depth buffer—the space complexity is twice the amount of pixels.

Surface depths are compared using the Z-buffer approach at each pixel location on the projection plane.

Thus, The Depth-buffer approach, usually referred to as Z-buffer, is one of the methods frequently used to find buried surfaces. It is a method in image space and pixel.

Learn more about Z buffer, refer to the link:

https://brainly.com/question/12972628

#SPJ1

different between input and output device​

Answers

Answer:

An input device is something you connect to a computer that sends information into the computer. An output device is something you connect to a computer that has information sent to it.

Explanation:

please complete the spelling please tell fast.​

please complete the spelling please tell fast.

Answers

Answer:

spacebar and number i think

Explanation:

Answer:

b)ans might be number.........

Example of mediated communication and social media

Answers

Answer: mediated communication: instant messages

social media: social platforms

Explanation:

Example of mediated communication and social media

in the situation above, what ict trend andy used to connect with his friends and relatives​

Answers

The ICT trend that Andy can use to connect with his friends and relatives​ such that they can maintain face-to-face communication is video Conferencing.

What are ICT trends?

ICT trends refer to those innovations that allow us to communicate and interact with people on a wide scale. There are different situations that would require a person to use ICT trends for interactions.

If Andy has family and friends abroad and wants to keep in touch with them, video conferencing would give him the desired effect.

Learn more about ICT trends here:

https://brainly.com/question/13724249

#SPJ1

Which would be considered a peripheral device?

A. a printer that can be connected from outside the computer to communicate with it

B. a CPU

C. RAM

D. an internal hardware part like a motherboard or hard drive

Answers

Answer:

D is the correct answer of this question

BitTorrent, a P2P protocol for file distribution, depends on a centralized resource allocation mechanism through which peers are able to maximize their download rates.
True or False?

Answers

Answer:

yes. it is true. mark as brainlest

3
Drag each label to the correct location on the image.
An organization has decided to initiate a business project. The project management team needs to prepare the project proposal and business
justification documents. Help the management team match the purpose and content of the documents.
contains high-level details
of the proposed project
contains a preliminary timeline
of the project
helps to determine the project type,
scope, time, cost, and classification
helps to determine whether the
project needs meets business
needs
contains cost estimates,
project requirements, and risks
helps to determine the stakeholders
relevant to the project
Project proposal
Business justification

Answers

Here's the correct match for the purpose and content of the documents:

The Correct Matching of the documents

Project proposal: contains high-level details of the proposed project, contains a preliminary timeline of the project, helps to determine the project type, scope, time, cost, and classification, helps to determine the stakeholders relevant to the project.

Business justification: helps to determine whether the project needs meet business needs, contains cost estimates, project requirements, and risks.

Please note that the purpose and content of these documents may vary depending on the organization and specific project. However, this is a general guideline for matching the labels to the documents.

Read more about Project proposal here:

https://brainly.com/question/29307495

#SPJ1

How does Wireshark differ from NetWitness Investigator?

Answers

Answer is given below

Explanation:

Wireshark differ from NetWitness Investigator because Windshark shows a detailed view of individual packets. WireShark captures live traffic and displays the results at the packet level. Netwitness shows a high-level view and can be compared to the new packet capture NetWitiness Investigator provides a comprehensive overview of previously tracked traffic that can be used to view anomalies, compliance and attacks.

can you answer my intro to computer applications CIS-100 fron spring uma college

Answers

CIS-100 is an intro course covering various computer applications. Offered during Spring at UMA College, it equips students with necessary computer tech skills for their personal and professional lives.

What is computer applications?

CIS-100 covers computer hardware, software, and operating systems.

In terms of Internet and Web: Overview of how the Internet works, network protocols, and effective use of web browsers and search engines.

Lastly, in terms of Productivity software: Use of word processing, spreadsheets, and presentation tools to manage documents. Database management introduces concepts like tables, fields, and records, as well as systems like Microsoft Access.

Learn more about  computer applications from

https://brainly.com/question/24264599

#SPJ1

Answer each of the following with a TRUE (T) or FALSE (F).
(1) Pipelining allows instructions to execute sequentially.
(2) If you can find the value x in the cache, you can also find it in the main memory too.
(3) Only the lw instruction can access the Data Memory component.
(4) The bias in single precision is 127, while in double precision it is 1024.
(5) In a cache mapping architecture, the valid bit is always on until data is found in that specific block.
(6) Memory speed generally gets faster the farther you move from the processor.
(7) A cache is a small high speed memory that stores a subset of the information that is in RAM.
(8) The hit rate of a cache mapping architecture is calculated by doing 1 - hit penalty.
(9) Cache is the fastest type of memory.
(10) Single-cycle and multi-cycle machines differ in CPI but all the other values are the same.

Answers

Answer:

t

Explanation:

In this lab, you will use a web API to fetch and display quotes on a selected topic, as shown below (please see image)

In this lab, you will use a web API to fetch and display quotes on a selected topic, as shown below (please
In this lab, you will use a web API to fetch and display quotes on a selected topic, as shown below (please

Answers

Answer:

 

Explanation: what class is this aND grade

Which type of memory management system is feasible for mobile computing?

Answers

The  type of memory management system is feasible for mobile computing is known to be built in memory (RAM).


What is memory management in mobile computing?

The term Memory Management is known to be the act of controlling as well as coordinating computer memory.

It  is one that tends to share some parts known as blocks to a lot of running programs to be able to optimize the total  performance of the system.

Therefore, based on the above, The  type of memory management system is feasible for mobile computing is known to be built in memory (RAM).

Learn more about memory management from

https://brainly.com/question/27993984

#SPJ1

The default print setting for worksheets is________
Print Vertically
Print Selection
Print Entire Workbook
Print Active Sheets

Answers

Answer:

Print Active Sheets .

Explanation:

This question refers to the default printing system of the Excel program. Thus, when printing a job using this program, the default option will print all the active sheets, that is, all those spreadsheets where information has been entered. To be able to print in another option, such as selecting certain cells, rows or columns, you must configure the printing for this purpose.

Other Questions
social media are affecting work behavior. parents are always available to children by text message if not a phone call. social communication is The sum of 4 consecutive integers is -54. What is the greatest integer? what are the 2 requirements for photosynthesis If f(x) = 2x - 4 and g(x)= -5x + 6, then what is f(g(x))? please help quick i will give brainlist!!!!!! restriction enzymes (select all that apply): group of answer choices typically cleave at palindromic sequences 4-8bp long. always produce sticky ends. cleave invading viral dnas. are found in a wide variety of mammalian cell types. are necessary for joining two dna fragments together. Which choice is equivalent shown here x less than 0? four students have done a nice job drawing membrane models. which model does the best job of showing osmosis? lo13 calculate the probability of sex-linked phenotypes of multiple offspring using binomial expansion queen victoria had 2 out of 5 carrier daughters. what was the probability of this scenario? HELP ME PLEASE PLEASE I BEG YOU DUE RIGHT NOW :( When your father was born 46 years ago, his grandparents deposited $450 in an account for him. Today, that account is worth $25,000. What was the annual rate of return on this account When a horizontal laminar flow occurs between two parallel plates of infinite extent 0.3 m apart, the velocity at the midpoint between the plates is 2.7 m/s. Calculate (a) the flow rate through a cross section 0.9 m wide, (b) the velocity gradient at the surface of the plate, (c) the wall shearing stress if the fluid has viscosity 1.44 P s, and (d) the pressure drop in each 30 m along the flow. The inequalities h>42 and h Describe two of Hamiltons ideas to strength the United States economy. what happened at the fashoda incident Rachel is making predictions about the odyssey as she reads this excerpt. so she described it, sitting in her chamber among her maidswhile her true lord was eating. then she called in the forester and said: "go to that man on my behalf, eumaeus, and send him here, so i can greet and question him. abroad in the great world, he may have heard rumors about odysseusmay have known him!" rachel makes the prediction that penelope will discover the strangers true identity. which detail best supports her prediction? Boden's account has a principal of $800 and a simple interest rate of 3.3%. How much money will be in the account after 4 years, assuming Boden does not add or take out any money? after teaching a group of students about conditions that can lead to heart failure, the instructor determines that additional teaching is needed when the students identify: Respond to either Question A or Question B.Can someone please help me write an essay for one of those?? Please IM BEGGING YOU IT IS MY LAST ASSIGnMENT FOR THE YEAR!!A. Evaluate the extent to which the federal governments responses to World War I was similar to the federal governments response to World War II on the home front.B. Evaluate the extent to which the goals and methods of womens rights movements (18701920) were similar to those of African American civil rights movements (194070). Write the equation of the line passing through point (-6,0) and perpendicular to y= 3/2x