Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

## Post a reply

Write your message and submit
|
Options

## Topic review (newest first)

krassi_holmz
2005-12-31 09:10:18

You'll learn a lot from us.

Anne54321
2005-12-31 09:07:09

My mistake. It works perfectly. Many thanks for al your help. I've learnt a lot from you all.

krassi_holmz
2005-12-30 10:01:31

Anne54321
2005-12-30 08:44:34

I have tried these equations in a computer program and I don't think they're yielding the correct answers.

If you take

MARGIN+PICNUM*(MARGIN+WIDTH)+MARGIN+WIDTH=PICW/2

and then use say MARGIN=10,PICNUM=7,WIDTH=10 and use these numbers to derive PICW

and then use one of the WIDTH solution equations with these numbers inserted they don't balance up ( by my reckoning!) Am I at fault or are these solutions ( which all yield the same answers) missing something ? Is it maybe a question of operator precedence?

seerj
2005-12-30 02:05:41

MARGIN+PICNUM*(MARGIN+WIDTH)+MARGIN+WIDTH=PICW/2

Let m MARGIN  p PICNUM  x WIDTH   q PICW
Then

m+p*(m+x)+m+x=q/2

px+x=q/2 -m -pm -m

x ( p+1 )=q/2-2m-pm

x= (q-4m-2pm)/2*(p+1)

x= (q-2m*(2+p)) / (2*( p+1 ))

WIDTH=( PICW-2MARGIN*(2+PICNUM))/(2*( PICNUM+1))

krassi_holmz
2005-12-30 00:32:23

Why not
w=(pw/2-m)/(pn+1)-m

mathsyperson
2005-12-30 00:14:56

MARGIN+PICNUM*(MARGIN+WIDTH)+MARGIN+WIDTH=PICW/2

Put the additional MARGIN+WIDTH inside the brackets by factorising:
MARGIN+(PICNUM+1)*(MARGIN+WIDTH)=PICW/2

Put the MARGIN on the right-hand side:
(PICNUM+1)*(MARGIN+WIDTH)=PICW/2-MARGIN

Divide by (PICNUM+1):
MARGIN+WIDTH=(PICW/2-MARGIN)/(PICNUM+1)

Take away MARGIN:
WIDTH=[(PICW/2-MARGIN)/(PICNUM+1)]-MARGIN

Anne54321
2005-12-29 23:09:35

Hi

If MARGIN+PICNUM*(MARGIN+WIDTH)+MARGIN+WIDTH=PICW/2

then WIDTH= ?

Thanks