MAths problem... can u answer it?

The forum that sees the most traffic
User avatar
Sufian
Pro and hardcore
Posts: 2176
Joined: Sat Sep 20, 2008 12:10 am

MAths problem... can u answer it?

Post by Sufian »

Find the smallest number which can be
multiplied by 112 to give a square number.

talking trash lah... if u can, good. Sec 1 question. haha
"the more u sweat in training, the less u bleed in battle"
Click below for free tabata timer...
http://www.speedbagforum.com/timer
User avatar
Bryan
MD, Team Biceps
Posts: 1516
Joined: Sun Sep 21, 2008 2:18 pm

Post by Bryan »

iya so easy
User avatar
Twxian
Pro and hardcore
Posts: 1283
Joined: Sun Sep 21, 2008 11:04 am

Post by Twxian »

no answer no talk....
User avatar
Twxian
Pro and hardcore
Posts: 1283
Joined: Sun Sep 21, 2008 11:04 am

Post by Twxian »

0 7 28 63 .....
User avatar
galapogos
GM, Team Biceps
Posts: 10410
Joined: Tue Jan 13, 2004 2:35 am
Location: In front of my computer
Contact:

Re: MAths problem... can u answer it?

Post by galapogos »

Sufian wrote:Find the smallest number which can be
multiplied by 112 to give a square number.

talking trash lah... if u can, good. Sec 1 question. haha

Code: Select all

#include <stdio.h>
#include <math.h>
void main()
{
  const int num = 112;
  int i;
  double result;
  for (i=1;i<112;i++)
  {
    result = sqrt(i*num);
    if (result == floor(result))
      break;
  }
  printf("The smallest number which can be multiplied by %d to give a square number is %d\n", num, i);
}
User avatar
Sufian
Pro and hardcore
Posts: 2176
Joined: Sat Sep 20, 2008 12:10 am

Post by Sufian »

haha....

ok lah.. i show u how to derive the answer...

112
= 2 X 2 X 2 X 2 X 7
= (2 X 2 X 7) X (2 X 2)

so... from the above.... answer is?
"the more u sweat in training, the less u bleed in battle"
Click below for free tabata timer...
http://www.speedbagforum.com/timer
nakorius
Fat Bastard
Posts: 1806
Joined: Thu Sep 25, 2008 5:40 pm

Post by nakorius »

MKLGHLG! :twisted: :twisted: :oops:
Nothing posted by this fat bastard should be taken seriously. SOME are for entertainment purposes only.
User avatar
Sufian
Pro and hardcore
Posts: 2176
Joined: Sat Sep 20, 2008 12:10 am

Post by Sufian »

huh??
"the more u sweat in training, the less u bleed in battle"
Click below for free tabata timer...
http://www.speedbagforum.com/timer
User avatar
manyu882
Pro and hardcore
Posts: 1342
Joined: Tue Nov 04, 2008 6:49 pm
Location: Behind a chiobu

Post by manyu882 »

Sufian wrote:haha....

ok lah.. i show u how to derive the answer...

112
= 2 X 2 X 2 X 2 X 7
= (2 X 2 X 7) X (2 X 2)

so... from the above.... answer is?
112
= 2 X 2 X 2 X 2 X 7
= (2 X 2 X 7) X (2 X 2) (7)


ans 7

got prize? 8)
Last edited by manyu882 on Mon Jan 12, 2009 7:53 pm, edited 1 time in total.
POSB saving account no: 209-06968-7
nakorius
Fat Bastard
Posts: 1806
Joined: Thu Sep 25, 2008 5:40 pm

Re: MAths problem... can u answer it?

Post by nakorius »

galapogos wrote:
Sufian wrote:Find the smallest number which can be
multiplied by 112 to give a square number.

talking trash lah... if u can, good. Sec 1 question. haha

Code: Select all

#include <stdio.h>
#include <math.h>
void main()
{
  const int num = 112;
  int i;
  double result;
  for (i=1;i<112;i++)
  {
    result = sqrt(i*num);
    if (result == floor(result))
      break;
  }
  printf("The smallest number which can be multiplied by %d to give a square number is %d\n", num, i);
}
Basket... use C programming to solve it ah? :shock:
Nothing posted by this fat bastard should be taken seriously. SOME are for entertainment purposes only.
User avatar
manyu882
Pro and hardcore
Posts: 1342
Joined: Tue Nov 04, 2008 6:49 pm
Location: Behind a chiobu

Post by manyu882 »

eh post somemore math qn
POSB saving account no: 209-06968-7
User avatar
galapogos
GM, Team Biceps
Posts: 10410
Joined: Tue Jan 13, 2004 2:35 am
Location: In front of my computer
Contact:

Post by galapogos »

My program already calculates and prints out the answer lor. Don't believe save it as main.c, boot up in Linux and run "gcc main.c -o main -lm" and then run "./main" and see what it prints out. Don't need to be 112 or square root or multiplication also. Can solve for every number and every operation. Power right? :D
User avatar
manyu882
Pro and hardcore
Posts: 1342
Joined: Tue Nov 04, 2008 6:49 pm
Location: Behind a chiobu

Post by manyu882 »

galapogos wrote:My program already calculates and prints out the answer lor. Don't believe save it as main.c, boot up in Linux and run "gcc main.c -o main -lm" and then run "./main" and see what it prints out. Don't need to be 112 or square root or multiplication also. Can solve for every number and every operation. Power right? :D
chim. i learn c prog before but i throw back everything to lecturer liao. tt one u post out suddenly i remember what i learn.
POSB saving account no: 209-06968-7
Derek
15lb curler
Posts: 601
Joined: Sun Sep 21, 2008 11:51 am

Post by Derek »

Interestingly a study was done which showed that the reason why Asians are better at Math than Westerners is because we don't give up as quickly. The correlation was too strong to ignore.

From the book Outliers by Malcom Gladwell. :)
Work Smart, Work Hard, and Kick Ass.

Skinny twig... Time to bulk up!
User avatar
lips
CEO, Team Biceps
Posts: 1288
Joined: Tue Sep 23, 2008 10:33 pm

Post by lips »

sec 1 qn? maybe i should retake my psle
Score Fitness with Kevin.
http://kevinchia.sg/
User avatar
Steph_Parker
Pro and hardcore
Posts: 1446
Joined: Wed Dec 03, 2008 12:12 pm

Post by Steph_Parker »

never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
Beauty may only be skin deep, but lethal is to the bone.
User avatar
Weib
Pro and hardcore
Posts: 2668
Joined: Sat Sep 20, 2008 1:09 am

Post by Weib »

Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
you forgot to add that you're fat too =)
Working "hard," or the perception of working hard, doesn't really mean anything. Sweating, vomiting, and breathing hard could be a good workout or a tropical disease kicking in.-Dan John
User avatar
Steph_Parker
Pro and hardcore
Posts: 1446
Joined: Wed Dec 03, 2008 12:12 pm

Post by Steph_Parker »

Weib wrote:
Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
you forgot to add that you're fat too =)
eh
THANKS FOR REMINDING ME THAT AH.
TRYING TO BE FUNNY ISSIT.
ok la ok la, am fat lah =(
Beauty may only be skin deep, but lethal is to the bone.
Derek
15lb curler
Posts: 601
Joined: Sun Sep 21, 2008 11:51 am

Post by Derek »

Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
That is actually a misnomer. The people who are good at math are good because they try harder and more often than those who are supposingly sucky at math.
Work Smart, Work Hard, and Kick Ass.

Skinny twig... Time to bulk up!
User avatar
Weib
Pro and hardcore
Posts: 2668
Joined: Sat Sep 20, 2008 1:09 am

Post by Weib »

Steph_Parker wrote:
Weib wrote:
Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
you forgot to add that you're fat too =)
eh
THANKS FOR REMINDING ME THAT AH.
TRYING TO BE FUNNY ISSIT.
ok la ok la, am fat lah =(
You like to call yourself fat then i acknowledge lo..
besides take a bigger one to call out smaller one right :wink:
Working "hard," or the perception of working hard, doesn't really mean anything. Sweating, vomiting, and breathing hard could be a good workout or a tropical disease kicking in.-Dan John
User avatar
Steph_Parker
Pro and hardcore
Posts: 1446
Joined: Wed Dec 03, 2008 12:12 pm

Post by Steph_Parker »

Weib wrote:
Steph_Parker wrote:
Weib wrote:
Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
you forgot to add that you're fat too =)
eh
THANKS FOR REMINDING ME THAT AH.
TRYING TO BE FUNNY ISSIT.
ok la ok la, am fat lah =(
You like to call yourself fat then i acknowledge lo..
besides take a bigger one to call out smaller one right :wink:
xiao pang =(
Beauty may only be skin deep, but lethal is to the bone.
User avatar
Twxian
Pro and hardcore
Posts: 1283
Joined: Sun Sep 21, 2008 11:04 am

Re: MAths problem... can u answer it?

Post by Twxian »

galapogos wrote:
Sufian wrote:Find the smallest number which can be
multiplied by 112 to give a square number.

talking trash lah... if u can, good. Sec 1 question. haha

Code: Select all

#include <stdio.h>
#include <math.h>
void main()
{
  const int num = 112;
  int i;
  double result;
  for (i=1;i<112;i++)
  {
    result = sqrt(i*num);
    if (result == floor(result))
      break;
  }
  printf("The smallest number which can be multiplied by %d to give a square number is %d\n", num, i);
}
wah chius use C... i ish use php.... :oops:
User avatar
manyu882
Pro and hardcore
Posts: 1342
Joined: Tue Nov 04, 2008 6:49 pm
Location: Behind a chiobu

Post by manyu882 »

Derek wrote:
Steph_Parker wrote:never like math cuz i suck at it.
they say...
people who are good at math are intelligent.
guess im not :?
That is actually a misnomer. The people who are good at math are good because they try harder and more often than those who are supposingly sucky at math.

eh the book got say something along this line or not.

if never solve the question will never feel the satisfaction. then solve already want to solve somemore question. until the brain is tired.
POSB saving account no: 209-06968-7
User avatar
galapogos
GM, Team Biceps
Posts: 10410
Joined: Tue Jan 13, 2004 2:35 am
Location: In front of my computer
Contact:

Re: MAths problem... can u answer it?

Post by galapogos »

Twxian wrote:
galapogos wrote:
Sufian wrote:Find the smallest number which can be
multiplied by 112 to give a square number.

talking trash lah... if u can, good. Sec 1 question. haha

Code: Select all

#include <stdio.h>
#include <math.h>
void main()
{
  const int num = 112;
  int i;
  double result;
  for (i=1;i<112;i++)
  {
    result = sqrt(i*num);
    if (result == floor(result))
      break;
  }
  printf("The smallest number which can be multiplied by %d to give a square number is %d\n", num, i);
}
wah chius use C... i ish use php.... :oops:
i ish old school, dunno php wan.
User avatar
Sufian
Pro and hardcore
Posts: 2176
Joined: Sat Sep 20, 2008 12:10 am

Post by Sufian »

I posted this question because I realise that when posting this to the sec 3, almost half of them asked for more clue. Thus, being stuck because cannot figure out the 1st step.

During our time in school (Goi, Xian, me, Ben,etc), I believe these questions are the norm.
"the more u sweat in training, the less u bleed in battle"
Click below for free tabata timer...
http://www.speedbagforum.com/timer
User avatar
galapogos
GM, Team Biceps
Posts: 10410
Joined: Tue Jan 13, 2004 2:35 am
Location: In front of my computer
Contact:

Post by galapogos »

No leh, mine usually all just a lot of brute force calculation.
User avatar
Twxian
Pro and hardcore
Posts: 1283
Joined: Sun Sep 21, 2008 11:04 am

Post by Twxian »

yah a lot of things can solve brute force or working backwards one
no need to think so much
kuro
I'll just hit the stairmaster
Posts: 42
Joined: Sat Sep 20, 2008 4:01 pm

Post by kuro »

what is square number
User avatar
galapogos
GM, Team Biceps
Posts: 10410
Joined: Tue Jan 13, 2004 2:35 am
Location: In front of my computer
Contact:

Post by galapogos »

i.e. an integer whose square root is also an integer.
User avatar
h
Pro and hardcore
Posts: 1579
Joined: Sat Sep 20, 2008 3:56 pm

Post by h »

...how about this:

In chess, is it possible for the knight to go (by allowable moves) from the lower left-hand corner of the board to the upper right-hand corner and in the process to light exactly once on each square?

note: look at a chessboard, then it's easy.
Post Reply