Profit or Loss on a Computer Purchase

April 15, 2026

Problem

A man bought computer with ₹ 33000 and install RAM in ₹4000 and sold it out in ₹39,980. Did he gain or loss.

Explanation

We want to check whether the man made a profit (gain) or a loss when selling his computer, and by how much.


1. Understanding the given data

  • Cost price of computer: ₹33,000
  • Cost of installing RAM: ₹4,000
  • Selling price of the computer (after RAM): ₹39,980

The total cost price (CP) is the sum of all money spent:

Total CP=33,000+4,000=37,000\text{Total CP} = 33{,}000 + 4{,}000 = 37{,}000

The selling price (SP) is:

SP=39,980\text{SP} = 39{,}980

2. Profit or loss amount

Compare SP and CP:

  • If SP > CP → Profit
  • If SP < CP → Loss

Here:

SPCP=39,98037,000=2,980\text{SP} - \text{CP} = 39{,}980 - 37{,}000 = 2{,}980

Since SP > CP, the man made a profit of ₹2,980.


3. Profit percentage

Profit percentage is:

Profit%=ProfitCP×100\text{Profit\%} = \frac{\text{Profit}}{\text{CP}} \times 100

So,

Profit%=2,98037,000×1008.05%.\text{Profit\%} = \frac{2{,}980}{37{,}000} \times 100 \approx 8.05\%.

So he gained about 8.05% on his total investment.


4. What this visualization shows

This interactive visualization treats the problem as a simple profit–loss model:

  • The cost bar stacks: base computer cost + RAM cost.
  • The selling price bar is shown beside it.
  • The difference between the bars is shaded as profit (if selling price is higher) or loss (if selling price is lower).
  • You can adjust the sliders to see how changing the base price, extra cost (RAM), and selling price changes the profit/loss and the percentage.

The vertical axis is money (₹), scaled automatically. Neon colors show:

  • Cyan: Base cost of computer
  • Pink: Extra cost (RAM)
  • Yellow: Selling price
  • Bright green outline region: Profit
  • Red outline region: Loss

Interactive Visualization

Parameters

33000.00
4000.00
39980.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Profit or Loss on a Computer Purchase | MathSpin