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
beks73 [17]
2 years ago
7

You want to see both Michael and Meet Wally Sparks. If you purchase tickets for both

Engineering
1 answer:
Aleonysh [2.5K]2 years ago
6 0
$2.

Both tickets cost $1.50
$1.50 x 2 = $3
$5 - $3 = $2
You might be interested in
/* Function findBestVacation * duration: number of vacation days * prefs: prefs[k] indicates the rate specified for game k * pla
alexira [117]

Answer:

This is the C++ code for the above problem:

#include<bits/stdc++.h>

using namespace std;

int computeFunLevel(int start, int duration, int prefs[], int ngames, int plan[]) {

if(start + duration > 365) { //this is to check wether duration is more than total no. of vaccation days

return -1;

}

int funLevel = 0;

for(int i=start; i<start+duration; i++) { //this loop runs from starting point till

//start + duration to sum all the funlevel in plan.

funLevel = funLevel + prefs[plan[i]];

}

return funLevel;

}

int findBestVacation(int duration, int prefs[], int ngames, int plan[]) {

int max = 0, index = 0, sum = 0 ;

for(int i=1; i<11; i++){ //this loop is to run through whole plan arry

sum = 0; //sum is initialized with zero for every call in plan ,

//in this case loop should run to 366,but for example it is 11

//as my size of plan array is 11

for(int j=0; j<duration; j++) { // this loop is for that index to index+duration to calc

//fun from that index

sum = sum + prefs[plan[i]];

}

if(sum>max) { //this is to check max funlevel and update the index from which max fun can be achieved

max = sum;

index = i;

}

}

return index;

}

int main() {

int ngames = 5;

int prefs[] = { 1,2,0,5,2 };

int plan[] = { 0,2,0,3,3,4,0,1,2,3,3 };

int start = 1;

int duration = 4;

cout << computeFunLevel(start, duration, prefs, ngames, plan) << endl;

cout << computeFunLevel(start, 555, prefs, ngames, plan) << endl;

cout << findBestVacation(4, prefs, ngames, plan) << endl;

}

The screen of the program is given below.

3 0
3 years ago
A body weighs 50 N and hangs from a spring with spring constant of 50 N/m. A dashpot is attached to the body. If the body is rai
lbvjy [14]

Answer:

a) 3.607 m

b) 1.5963 m

Explanation:

See that attached pictures for explanation.

3 0
3 years ago
What type of car engine is best for cold weather.
Komok [63]

Answer:Antifreeze/coolant

Explanation: keeps your engine cool in warm weather and keeps it from freezing up in the winter. A 50-50 mix of full strength coolant and water generally protects to around -30 degrees Fahrenheit. Make sure you check with the supplier or your owner's manual for the correct formulation

5 0
3 years ago
Four of the minterms of the completely specified function f(a, b, c, d) are m0, m1, m4, and m5.
Sveta_85 [38]

Complete Question

The complete question is shown on the first uploaded image

Answer:

a) The required additional minterms  for f so that f has eight primary implicants with two literals and no other prime implicant are m_{2},m_{3},m_{7},m_{8},m_{11},m_{12},m_{13},m_{14} and m_{15}

b) The essential prime implicant are c' d',a'b',ab and cd

c) The minimum sum-of-product expression for f are

                  a'b' +ab +c'd'+cd+a'c',\\ a'b'+ab+c'd'+cd+a'd,\\a'b'+ab+c'd'+cd+bc'  and  \\ a'b'+ab+c'd' +cd+bd

Explanation:

The explanation is shown on the second third and fourth image

8 0
3 years ago
How much cornfield area would be required if you were to replace all the oil consumed in the United States with ethanol from cor
zaharov [31]

Answer:

2377.35 km

Explanation:

Given the following;

1. A cornfield is 1.5% efficient at converting radiant energy into stored chemical potential energy;

2. The conversion from corn to ethanol is 17% efficient;

3. A 1.2:1 ratio for farm equipment to energy production

4. A 50% growing season and,

5. 200 W/m2 solar insolation.

As per our assumptions,1.2/1 is the ratio for farm equipment to energy production,

So USA need around 45.45% (1/(1+1.2) replacement of fuel energy production which is nearly about = 0.4545*10^{20} J/year = \frac{0.4545*10^{20}}{365*24*3600}=1.44121*10^{12} J/sec

Growing season is only part of year ( Given = 50%),

Net efficiency = 1.5%*17%*50%=0.015*0.17*0.5=0.001275 = 0.1275%

Hence , Actual Energy replacement (Efficiency),

=\frac{1.44121*10^{12}}{0.001275} = 1.13*10^{15} J/sec=1.13*10^{15} W

As per assumption (5),

\because 200 W/m2 solar insolation arequired,

So USA required corn field area = 1.13*10^{15}/200 = 5.65*10^{12} m^{2}

Hence, length of each side of a square,

= (5.65*10^{12} )^{0.5} = 2377.35 km

4 0
3 years ago
Other questions:
  • You read a research study that concludes that the higher a student's self-esteem, the better he performs in school. This sort of
    5·1 answer
  • The yield strength of mild steel is 150 MPa for an average grain diameter of 0.038 mm ; yield strength is 250 MPa for average gr
    15·1 answer
  • Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string i
    14·1 answer
  • Why is it a good idea to lock your doors while driving?<br> WRITER
    10·1 answer
  • A 0.25" diameter A36 steel rivet connects two 1" wide by .25" thick 6061-T6 Al strips in a single lap shear joint. The shear str
    12·1 answer
  • WHAT IS THE EFFECT OF ICE ACCRETION ON THE LONGITUDINAL STABILITY OF AN AIRCRAFT?
    8·1 answer
  • Steam enters an adiabatic condenser (heat exchanger) at a mass flow rate of 5.55 kg/s where it condensed to saturated liquid wat
    11·1 answer
  • An engineering firm just lost one of their larger customers. The firm president says that the solution to this problem is to fir
    6·1 answer
  • Which type of blade is used with a demolition saw?
    11·1 answer
  • What can you add to a seatbelt ??<br> HELP ASAP
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!