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
Tanya [424]
3 years ago
12

Lists and arrays can be valuable tools for the programmer. 1. provide an example of a ‘list' and explain how it would be used as

part of a problem solution. 2. provide an example of an array and explain how it would be used as part of a problem solution.
Business
1 answer:
Fynjy0 [20]3 years ago
6 0
<span>#Get the user input for both MPG and Gallons
 MPG = float(input('How many miles have you driven?'))
  Gallons = float(input('How many gallons are in the tank?'))
 #Do the MPG divided by Gallons
  MPG_div_Gallons = MPG/Gallons
 print('Your cars MPG is ',MPG_div_Gallons,'.')
  #to hold the code I am using an input
 input('Press Enter to Exit')
   The arrays are "MPG", MPG_div_Gallons,and Gallons. It can be used to solve an average of mile per gallon has been emission in a certain amount of drive. (Code in Python)</span>
You might be interested in
A Chinese exporter sells $200,000 of toys to a French importer. The Chinese exporter requires the French importer to obtain a le
GuDViN [60]

Answer:

0.0416483 or 4.16%

Explanation:

Annual percentage rate, APR = 4%

Value of toys sold = $200,000

Note period = 90 day

N = 365 ÷ 90

= $200,000 × [1 - (0.04 × 90/360)]

= $198,000

Effective annual financing cost:

=(\frac{Value\ of\ toys\ sold}{Calculated\ value} )^{\frac{365}{90} }-1

=(\frac{200,000}{198,000} )^{\frac{365}{90} }-1

= 1.0416483 - 1

= 0.0416483 or 4.16%

4 0
2 years ago
Rahls issues stock to investors for $20,000, and has $5,000 of net income in its first year of operations. During Year 2, Rahls
Eva8 [605]

Answer:

The balance in stockholders' equity at the end of year 2 is $31,000

Explanation:

For computing the balance in stockholder equity at the end of year 2, first, we have to compute the balance for year 1  which is shown below:

Year 1 equity balance = Issue of stock + Net income

                                     = $20,000 + $5,000

                                     = $25,000

Now, year 2 balance would equal to

= Year 1 balance + Net income - Dividend paid

= $25,000 + $10,000 - $4,000

= $31,000

Hence, the balance in stockholders' equity at the end of year 2 is $31,000

4 0
3 years ago
O societate producătoare de confecții vinde produse finite la cost de producție de 200 lei, marja de profit 10%, TVA 19% unui an
nlexa [21]

Answer:

Prețul producătorului către angrosist este de 261,8 lei

Prețul vânzătorului cu ridicata către comerciantul cu amănuntul este de 301,07 lei

Prețul vânzătorului cu amănuntul pentru clienți este de 331,18 lei

(Notă: toate prețurile includ TVA)

Explanation:

În primul rând, trebuie să stabilim prețul producătorului către angrosist

Prețul producătorului către angrosist = (Cost de producție + Marja de profit) + TVA

Unde

Costul de producție = 200 lei

Marja de profit = Costul de producție x Rata marjei de profit = 200 lei x 10% = 20 lei

TVA = Preț de vânzare x Tarif TVA = (200 lei + 20 lei) x 19% = 41,8 lei

Prețul producătorului către angrosist = (200 lei + 20 lei) + 41,8 lei = 261,8 lei

Acum calculați prețul angrosistului către comerciantul cu amănuntul

Prețul vânzătorului cu ridicata către vânzătorul cu amănuntul = Prețul producătorului către vânzătorul cu ridicata + Marja de profit a vânzătorului cu ridicata + TVA cu ridicata

Unde

Prețul producătorului către angrosist = 200 lei + 20 lei = 220 lei

Marja de profit = 220 lei x 15% = 33 lei

TVA angrosist = (220 lei + 33 lei) x 19% = 48,07 lei

Plasarea valorilor în formulă

Prețul angrosistului către retailer = 220 lei + 33 lei + 48,07 lei = 301,07 lei

Acum calculați prețul vânzătorului cu amănuntul pentru clienți

Prețul vânzătorului cu amănuntul către clienți = Prețul cu ridicata al vânzătorului cu amănuntul + Marja de profit a vânzătorului cu amănuntul + TVA cu amănuntul

Unde

Prețul angrosistului către retailer = 220 lei + 33 lei = 253 lei

Marja de profit = 253 lei x 10% = 25,3 lei

TVA comerciant cu amănuntul = (253 lei + 25,3 lei) x 19% = 52,88 lei

Plasarea valorilor în formulă

Prețul comerciantului către clienți = 253 lei + 25,3 lei + 52,88 lei = 331,18 lei

Sau / OR

First, we need to determine the Price of the Manufacturer to wholesaler

Price of Manufacturer to wholesaler = ( Production cost + Profit Margin ) + VAT

Where

Production cost = 200 lei

Profit Margin = Production cost x Profit margin rate = 200 lei x 10% = 20 lei

VAT = Selling Price x VAT Rate = ( 200 lei + 20 lei ) x 19% = 41.8 lei

Price of Manufacturer to wholesaler = ( 200 lei + 20 lei ) + 41.8 lei = 261.8 lei

Now calculate the price of the wholesaler to retailer

Price of wholesaler to retailer = Price of Manufacturer to wholesaler + Profit Margin of wholesaler + VAT of wholesaler

Where

Price of manufacturer to wholesaler = 200 lei + 20 lei = 220 lei

Profit Margin = 220 lei x 15% = 33 lei

VAT of wholesaler = ( 220 lei + 33 lei ) x 19% = 48.07 lei

Placing values in the formula

Price of wholesaler to retailer = 220 lei + 33 lei + 48.07 lei = 301.07 lei

Now calculate the price of the retailer to customers

Price of retailer to customers = Price of wholesaler to retailer + Profit Margin of retailer + VAT of retailer

Where

Price of wholesaler to retailer = 220 lei + 33 lei = 253 lei

Profit Margin = 253 lei x 10% = 25.3 lei

VAT of retailer= ( 253 lei + 25.3 lei ) x 19% = 52.88 lei

Placing values in the formula

Price of retailer to customers = 253 lei + 25.3 lei + 52.88 lei = 331.18 lei

7 0
2 years ago
CodeHead Software Inc. does software development. One important activity in software development is writing software code. The m
Irina18 [472]

Answer:

Explanation:

Standard hours per week = 40 hours

Standard rate per hour = $32

Actual rate per hour = $40

Labour rate variance = 40 - 32 = $8 (unfavourable)

Actual cost per week = 40 × 40 = $1600

Standard cost per week = 40 × 32 = $1280

Labour cost variance = actual cost per week - standard cost per week

= 1600 - 1280

= $320 (unfavourable)

Actual codes written in first week = 5650

Standard codes per week = 5 × 25 × 40 = 5000

Actual cost per code = 1600/5660 = $0.2832

Standard cost per code = 1280/5000 = 0.256

Labour efficiency variance = 0.2832 - 0.256 = $0.0272 (unfavourable)

If the team generated 4,650 lines of code according to the original plan:

Code generated = 4650

Number of programmers = 5

Average codes per hour per programmer = 25

Total codes per hour = 25 × 5 = 125

Standard codes per week = 40 × 125 = 5000

Actual time to write 4650 codes = 4650/125 = 37.2 hours

Standard time = 40 hours

Idle time = 40 - 37.2 = 2.8 hours

Labour time variance = 2.8 hours

Cost of idle time = 2.8 × 32 = $89.6 (unfavourable)

4 0
2 years ago
Creative Sound Systems sold investments, land, and its own common stock for $37.0 million, $14.3 million, and $38.6 million, res
worty [1.4K]

Answer:

$18.3 million

Explanation:

Financing activities: It includes those activities which comes under the long term liabilities and shareholder equity balance. The issue of shares is an inflow of cash whereas redemption, dividend, and the purchase of treasury stock is an outflow of cash.

The computation of the amount reported as a net cash flows from financing activities is shown below:

Cash flow from Financing activities  

Issuance of common stock $38.6 million

Less: Purchase of treasury stock -$20.3 million

Net Cash flow from Financing activities           $18.3 million

8 0
3 years ago
Other questions:
  • We are evaluating a project that costs $735,200, has an eight-year life, and has no salvage value. Assume that depreciation is s
    5·1 answer
  • George is considering an investment that will pay $3,250 a year for eight years, starting one year from today. What is the maxim
    7·1 answer
  • Taxes are a part of a civil society, but they have a significant effect on supply and demand for goods. A tax is an extra cost a
    8·1 answer
  • How can pricing range influence pricing strategy
    6·1 answer
  • Fill in the blanks to complete the passage about the economic implications of technological advances. The U.S. dairy cow industr
    10·1 answer
  • A taxi crashed into a telephone pole. The taxi's passenger commenced a negligence action against the taxi driver, properly servi
    15·1 answer
  • Parking Reading Quiz
    5·1 answer
  • Cruise Company produces a part that is used in the manufacture of one of its products. The unit manufacturing costs of this part
    15·1 answer
  • How to develop abusiness mindset​
    15·1 answer
  • In June 2016, you travel to France on vacation and stayed at a hotel in Paris. In January 2018, you took another trip to the sam
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!