answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vodomira [7]
2 years ago
6

Declare a structure whose tag name is point2d and that contains exactly two fields (or members, both of type double . the first

field is x and the second field is y.
Mathematics
1 answer:
Varvara68 [4.7K]2 years ago
4 0

In the C language, a structure is declared as follows :

 

struct <tag name> {

<span>     <1st member type> <1st member name></span>

<span>     <2nd member type> <2nd member name></span>

<span>      …..</span>

<span>     <nth member type> <nth member name></span>

};

 

Thus, a structure whose tag name is point2d that contains x and y, both double, is :

 

struct point2d {

<span>    double x;</span>

<span>    double y;</span>

<span>};</span>

You might be interested in
A fast-food restaurant has a cost of production C(x)=12x+114 and a revenue function R(x)=6x. When does the company start to turn
LekaFEV [45]

Step-by-step explanation:

Given data

C(x)=12x+114

R(x)=6x.

The company will start to run on profit just when revenue equals the production cost, that is

C(x)=R(x)

equating the two expressions we have

12x+114=6x

solving for x we have

12x-6x+114=0

6x+114=0

6x=-114

x=-114/6

x=-19

Hence the company will start to run on proft when they start to produce above 19 items

7 0
2 years ago
Which system of equations can you use to find the roots of the equation 2x3 + 4x2 – x + 5 = –3x2 + 4x + 9? y = 2x3 + x2 + 3x +5
Alona [7]

Answer:The answer is y = 2x3 + 4x2 – x + 5 and  y = –3x2 + 4x + 9

Roots are both: x=-4, x= -1/2 , x= 1

Proof:

Solve for x over the real numbers:

2 x^3 + 4 x^2 - x + 5 = -3 x^2 + 4 x + 9

Subtract -3 x^2 + 4 x + 9 from both sides:

2 x^3 + 7 x^2 - 5 x - 4 = 0

The left hand side factors into a product with three terms:

(x - 1) (x + 4) (2 x + 1) = 0

Split into three equations:

x - 1 = 0 or x + 4 = 0 or 2 x + 1 = 0

Add 1 to both sides:

x = 1 or x + 4 = 0 or 2 x + 1 = 0

Subtract 4 from both sides:

x = 1 or x = -4 or 2 x + 1 = 0

Subtract 1 from both sides:

x = 1 or x = -4 or 2 x = -1

Divide both sides by 2:

Answer:  x = 1 or x = -4 or x = -1/2

Step-by-step explanation:

4 0
1 year ago
Read 2 more answers
Yuto and Lian are at train stations 1,880 kilometers apart. Yuto boards a train heading east at an average speed of 220 kilomete
lys-0071 [83]
<span>the correct answer is
D) 1000 kilometers                                                                              </span>
5 0
2 years ago
Last week, Lindsay earned $10 per hour plus a $60 bonus for good job performance. She spends StartFraction 1 Over 15 EndFraction
V125BC [204]

Answer:

StartFraction 1 Over 15 EndFraction left-parenthesis 10 h plus 60 right-parenthesis equals StartFraction 1 Over 10 Endfraction left-parenthesis 10 h right-parenthesis

Step-by-step explanation:

The desired equation equates 1/15 of the amount Lindsay earned with 1/10 the amount without the bonus:

StartFraction 1 Over 15 EndFraction left-parenthesis 10 h plus 60 right-parenthesis equals StartFraction 1 Over 10 Endfraction left-parenthesis 10 h right-parenthesis

_____

<em>Comment on the form of the answer</em>

If you don't like answers in this form, please do not post questions in this form. Ordinary math symbols are much appreciated.

6 0
2 years ago
Read 2 more answers
Select from the drop-down menus to correctly complete the statements about the expression d3+4e .
-Dominant- [34]

Answer: Hey there! Here are the answers to your question.

Step-by-step explanation:

1. D3+4E is a...

A. Sum

--------------------

2. D3 is also a...

A. Quotient.

---------------------

4E is also a...

A. Product.

If I got any answers wrong, I'm really sorry for my mistakes.

Good luck and I hope this help you out!

8 0
2 years ago
Read 2 more answers
Other questions:
  • Which compound most likely contains polar covalent bonds?<br> NaCl<br> AlF3<br> Br2<br> NF3
    7·2 answers
  • Jessica electricity bill costs $32.44 per month plus $1.34 per kilowatt hour. how many kilowatt hours can she use and keep her b
    6·1 answer
  • What is the value of x in the equation 1.5(x + 4) – 3 = 4.5(x – 2)? 3 4 5 9
    11·2 answers
  • The average annual cost of the first year of owning and caring for a large dog is $1,843 (US News and World Report, September 9,
    6·1 answer
  • Olivia drives 90 miles in 2 hours. She drives 225 miles in 5 hours. She writes an equation in the form y=mx to represent the num
    5·1 answer
  • Triangle Q R S is shown. Angle R S Q is a right angle.
    8·2 answers
  • Which represents the solution set of the inequality 5 x minus 9 less-than-or-equal-to 21
    12·2 answers
  • Consider randomly selecting a student at a large university. Let A be the event that the selected student has a Visa card, let B
    15·1 answer
  • Al simplificar esta expresion logaritmica, cual es la forma mas simple? ​
    9·1 answer
  • Hernando ate StartFraction 2 Over 8 EndFraction of a pizza for a dinner. He gave his 6 friends the rest of the pizza and told th
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!