Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

https://cas-ecampus.wvu.edu/bbcswebdav/pid-4689718-dt-content-Hid-20021 3.) (30pts) The distance d from a point (xo, yo) to a line Ax + By + C = 0 is given by d=14x0

image text in transcribed

image text in transcribed

https://cas-ecampus.wvu.edu/bbcswebdav/pid-4689718-dt-content-Hid-20021 3.) (30pts) The distance d from a point (xo, yo) to a line Ax + By + C = 0 is given by d=14x0 + Byo + Cl Create a script file that asks the user for the coordinates (Ko Yo). Then it calculates the distance from the line 2x-7y-10-0, and then displays then distance. (You can use either the displ) or fprintfl) command for the output). 4.) (50pts) It is the first week of classes and you need to purchase school supplies at the book store. You need to buy pencils, binders and paper. The cost for those materials is listed below. Pencil 1.00$ per pencil Binder 2.50 $ per binder Paper 3.00 $ per bundle Create a function file that calculates the total price based on how much of each material I want. (Hint: The input arguments of the function should be the quantity of each material. The output argument should be the total cost) Also, include the sales tax in your total cost. Sales tax is 5.75%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

Calculate the lifetime value (LTV) of a loyal customer.

Answered: 1 week ago