Questions
use c++ 1 a)Write a console program that creates an array of size 100 integers. Then...

use c++

1 a)Write a console program that creates an array of size 100 integers. Then use Fibonacci function Fib(n) to fill up the array with Fib(n) for n = 3 to n = 103: So this means the array looks like: { Fib(3), Fib(4), Fib(5), ...., Fib[102) }. For this part of the assignment, you should first write a recursive Fib(n) function. .For testing, print out the 100 integers.

b) For the second part of this assignment, you must modify the Fib(n) you wrote for part a) so that it uses the array you fill in part a, to compute Fib (n+1) using Fib(n) and Fib(n-1) already saved in the array. This way we do not compute the same Fib numbers many times.

(Don't provide the same answer which is already posted. It should be correct and post the image of your output)

In: Computer Science

A 50 cm *50 cm copper slab 6.25 mm thick has uniform temperature of 300℃. Its...

A 50 cm *50 cm copper slab 6.25 mm thick has uniform temperature of 300℃. Its temperature is suddenly lowered to 36℃. (quenched in water)

Take

The conductivity k=370 W/mK, the density rho=9100 kg/m3, the specific heat c=0.38 kJ/kg℃, the convection coefficient h=90 W/m2℃.

1.      Calculate the surface area, As

2.      Calculate the volume, V.

3.   Calculate the characteristic length, Lc

4.      Calculate the Biot number, Bi

5.      Calculate the thermal diffusivity, α (alpha)

6.      Calculate the constant of time, τ (tau)

7.   Calculate the time required for the plate to reach the temperature of , t1

8.   Calculate the time required for the plate to reach the temperature of , t2

9.      Calculate the temperature at the surface at time 100 s, Ts2

10.      Calculate the total energy transferred from this plate during the first 100 s, Q

In: Mechanical Engineering

In a perfectly competitive market, the price of a taco is $3.00 each. For Juan’s food...

In a perfectly competitive market, the price of a taco is $3.00 each. For Juan’s food truck, when it produces 100 tacos, the average variable cost of one cupcake is $2.7; the average fixed cost of one taco is $0.5. Juan should: Group of answer choices raise his prices above the perfectly competitive level. only produces in the short run. shut down immediately. only produces in the long run continue producing in the short and long run.

In: Economics

The redistributive effect of an import tariff is the transfer of income from the domestic a....

The redistributive effect of an import tariff is the transfer of income from the domestic

a. producers to domestic buyers of the good.

b. buyers to domestic producers of the good.

c. buyers to the domestic government.

d. government to the domestic buyers

25.        An importer of computers is required to pay a duty to the government of $100 per computer regardless of the price of the computer. Which type of tariff is described in this example?

a.    tariff quota

b. compound tariff

c.    specific tariff

d. ad valorem tariff

In: Economics

How much will net operating income increase (decrease) per month if the monthly advertising budget increases by $9,900 and monthly sales increase by $24,500?

 

Data for Hermann Corporation are shown below:

  Per Unit   Percent of Sales
Selling price $ 75       100 %
Variable expenses   51       68  
Contribution margin $ 24       32 %
 

Fixed expenses are $75,000 per month and the company is selling 4,000 units per month.

Required:

How much will net operating income increase (decrease) per month if the monthly advertising budget increases by $9,900 and monthly sales increase by $24,500?

Should the advertising budget be increased?

In: Accounting

need it asap An investor is considering a bond priced at $953 with a face value...

need it asap An investor is considering a bond priced at $953 with a face value of $1,000. The coupon rate is 9.25% paid semiannually. There are 15 years remaining between settlement and maturity on the bond. Using the Excel YIELD function and the related example in Exhibit 10.2 in Chapter 10, calculate the yield to maturity. Note: Excel requires that bond prices and face values be expressed on 100 point scale so you must divide current price and redemption value by 10.

In: Finance

Suppose that a consumer has a utility function U(x1,x2) = x1 ^0.5 x2^0.5 . Initial prices...

Suppose that a consumer has a utility function U(x1,x2) = x1 ^0.5 x2^0.5 . Initial prices are p1 =1and p2 =1,andincomeism=100. Now, the price of good1 increases to 2. (a) On the graph, please show initial choice (in black), new choice (in blue), compensating variation (in green) and equivalent variation (in red). (b) What is amount of the compensating variation? How to interpret it? (c) What is amount of the equivalent variation? How to interpret it?

In: Economics

A monopolistically competitive firm faces the inverse demand curve P = 100 – Q, and its...

A monopolistically competitive firm faces the inverse demand curve P = 100 – Q, and its
marginal cost is constant at $20. The firm is in long-run equilibrium.
a. Graph the firm's demand curve, marginal revenue curve, and marginal cost curve. Also, identify the profitmaximizing
price and quantity on your graph.
b. What is the value of the firm's fixed costs?
c. What is the equation for the firm's ATC curve?
d. Add the ATC curve to your graph in part a.

In: Economics

1. Complete the table given showing the costs of a perfectly competitive firm.

1. Complete the table given showing the costs of a perfectly competitive firm.

Output

Total Cost

Total Fixed Cost

Total Variable Cost

Average Fixed Cost

Average Variable Cost

Average Total Cost

Marginal cost

100

360


160





200







0.3

300





0.83



400






1.30


500



460





600







3

700





1.6



800

2240







2. If the market price is Rs 3,what will be the profit/ loss of the firm?


In: Economics

The marketing manager argues that a $5,000 increase in the monthly budget to prepare webinars would increase monthly sales by 50 drones. Should the webinar budget be increased?

Information for Drone On Limited is shown below:

 

  Per Unit Percentage of Sales
Selling price $1,000 100%
Variable expenses 800 80%
Contribution margin $200 20%

 

Total fixed expenses are $100,000 per month, and Drone On Limited is selling 1,000 drones per month.

 

Required:

The marketing manager argues that a $5,000 increase in the monthly budget to prepare webinars would increase monthly sales by 50 drones. Should the webinar budget be increased?

In: Accounting