1answer.
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
Tanzania [10]
3 years ago
13

To assign a double variable d to a float variable x, you write ________. x = (long)d x = (int)d; x = d; x = (float)d;

Mathematics
1 answer:
professor190 [17]3 years ago
3 0
Hi,
In C,we write
<span>x = (float)d; </span>

You might be interested in
A student has a class with four tests, each worth 100 points, and has earned these
Wewaii [24]

Answer:

average = 52, 100 on fourth test

Step-by-step explanation:

average = 75 + 74 + 71 =  156 / 3 = 52

average = 52

b grade = 75 + 74 + 71 + 100 = 320 / 4 = 80

to get a b grade she must get 100 on her fourth test

4 0
3 years ago
Alia has swimming class every fourth day and diving class every sixth day. If she had swimming class and diving class on 5 june,
dolphi86 [110]

Answer:

June 17

Step-by-step explanation:

the least common multiple of 4 and 6 is 12.  Add 12 to June 5 and you get June 17

3 0
3 years ago
The production planner for Fine Coffees, Inc. Produces two coffee blends: American (A) and British (B). He can only get 300 poun
VladimirAG [237]

Answer:

P=2A+B where:

A= # of pounds of American blend and

B= # of pounds of British blend

Step-by-step explanation:

This is a linear programming problem. In order to solve it we need to determine how we are going to use the provided data and we need to keep in mind what we need to maximize (or minimize depending on the problem)

So, the problem states that "The goal of Fine Coffees, Inc. Is to maximize profits." This last sentence will tell us what the objective function will be. The objective function must model the desired value we want to maximize. So the objective function should represent the profits of selling the two tipes of cofee blends.

So this is the data the problem gives us:

"He can only get 300 pounts of Colombian beans per week and 200 pounts of Dominican beans per week." This part or the problem is talking about the amount of coffee beans he can get depending on its type. This will help us find the restrictions for our linear programming problem, so they are not necessary to state the objective function. Next it states:

"Each pount of American blend cofee requires 12 oz of Colombian beans and 4 oz. of Dominican beans, while a pound of British blend coffee uses 8 oz of each type of bean." Again, this data will help us find the restrictions for our linear programming problem, since they will tell us how much coffe we can manufacture, so they are not needed to find the objective function.

The next part states: "Profits for the American blend are $2.00 per pound, and profits for the British blend are $1.00 per pound." Now, we are interested in this part since it's talking about profits, which is what we need to maximize.

We set A to be the number of pounds of American blend and B to be the number of pounds of British blend. So the profit for American blend is found by using the following equation:

P_{American}=$2.00*A

And the profit for the British blend is found by using the following equation:

P_{British}=$1.00*B

so the total profit is found by adding the two given profits, so we get:

P_{total}=P_{American}+P_{British}

or

P_{total}=$2.00A+$1.00B

which can be simplified to:

P=2A+B

which is our objective function.

6 0
3 years ago
At the last minute, the technology company decides to expand the warehouse and asks the general contractor to double the dimensi
Lesechka [4]
<span>The expansion of the warehouse will not affect the dimensions of the surrounding fence.</span>
3 0
3 years ago
An auto mechanic converts a metric part to 0.492 in. The part comes only in fractional sizes given to the nearest 64th of an inc
tatuchka [14]

Answer:

the closest part the mechanic can chose is 0.5 inch

Step-by-step explanation:

fractional sizes given to the nearest 64th of an inch = 1/64 = 0.0156

the closest size to 0.492in = 0.492 + 0.0156 = 0.5076 inches

approximately, the closest part the mechanic can chose is 0.5 inch

4 0
3 years ago
Other questions:
  • Joshua owns a fish tank that measures 5.5 m x 2.2m x 0.5m.
    12·1 answer
  • APLZ HELP ASAP INSCRIBED QUADRILATERALS
    7·2 answers
  • PLEASE HELP!
    13·2 answers
  • An architect is designing a house. He wants the bedroom to have the dimensions of 8 ft by 4 ft by 7 ft. The architect doubles al
    8·1 answer
  • PLZZ HELP!! ASAP
    13·1 answer
  • Is the line through points P (-5,-5) and Q(3,3) parallel to the line through points R (-4,-2) and S (3,2)? Explain.
    8·1 answer
  • The line of best fit was drawn and the equation for the height (h) and weight (w) was determined to be
    7·1 answer
  • 1. Write the following numbers in the expanded form:<br>(i) 20.03 <br>(ii) 200.03 <br>(iii) 2.034​
    9·1 answer
  • What is 6 in 16.5 rounded to
    15·1 answer
  • Using the digits 2, 4, and 6, write a number with a 4 in
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!