The Philippine Electronics and Technology Forum
February 10, 2012, 02:03:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: 1 ... 3 4 [5]   Go Down
  Print  
Author Topic: Anong pinakamahirap na problem sa math ang na-solve ninyo?  (Read 6393 times)
eveready battery
Diesel Generator
*

Pogi/Ganda Points: 38
Offline Offline

Posts: 1221


Garbage In Garbage Out.


« Reply #80 on: December 16, 2010, 06:25:00 PM »

Durog sa application ng D.E.

musta na pala engr. maximus,pasado ba sa board exam ngayon?
Logged

Signing Off...
The Philippine Electronics and Technology Forum
« Reply #80 on: December 16, 2010, 06:25:00 PM »

 Logged
xperryment
Size AAA Battery
***

Pogi/Ganda Points: 1
Offline Offline

Posts: 64


« Reply #81 on: January 05, 2011, 05:26:16 PM »

ahmmmm so far for me mathematical model of a 2 wheel balancing robotA(inverted pendulum)
Logged
treacher88
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Posts: 30


« Reply #82 on: August 05, 2011, 08:20:36 AM »

di pa kasi tumatanda si math kaya sa atin pinapasolve problems nia  Grin
Logged
a.out (drako65)
Size C Battery
*****

Pogi/Ganda Points: 29
Offline Offline

Gender: Male
Posts: 176


« Reply #83 on: August 05, 2011, 08:35:12 AM »

nag try ako sa christmas yr2ooo challenge ni queena lee, "eureka" columnist ng phil daily inq. dun lang na reproduce ng 100,000X(?) ang pangalan ko nationwide(?). hint: ang ginamit/ pinadala kong answer sheet lumang dyaryo with barbed/jagged edge. pinunit ko lang just to make an impression. hindi laway pinandikit ko sa sobre- kanin, pinalamanan ko pa ng kanin yung contact edge ng sobre. before pa to ng internet na 24hrs. kasi ng mga sumunod na christmas challenge niya w/c appears on the sat issue of the PDI, may internet na dyan sa metro na 24hrs, yung mga ng submit- 15-30 mins after publication. wala ng laban mga tiga probinsiya. Smiley
astig ka! nabigyan nya din ako ng book nya may dedication at signature nya, collector's item Cute pa sya noon, he he kaya inspired akong magsolve
Logged

==============================
od</dev/urandom
pabzjose
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Posts: 38


« Reply #84 on: November 07, 2011, 09:17:41 AM »

pan po ito e solve?

(2^345)/29. find the remainder?
Logged
motion55
Technical People
Diesel Generator
*****

Pogi/Ganda Points: 189
Offline Offline

Gender: Male
Posts: 1252


Been there and done that already.


« Reply #85 on: November 16, 2011, 09:08:17 AM »

pan po ito e solve?

(2^345)/29. find the remainder?

2^345 sa binary is just 1 followed by 345 zeroes. Brute force long division kaya naman.

Wala lang but the answer is 21.

(2^345)/29 = 17186261501689712417186261501689712417186261501689712417186261501689712417186261501689712417186261501689712417 remainder 21.

Actually a short C language program did it in a flash.

Code:
#include <stdio.h>

#define DIVISOR 29

typedef unsigned char INT8;

void main ()
{
INT8 INT345[44];
INT8 OUT345[44];

int i, input;

input = 0;

// initialize 2^345
for (i=0; i<44; i++)
{
INT345[i] = 0;
OUT345[i] = 0;
}

INT345[43] = 2; // 1 followed by 345 zeroes

for (i=43; i>=0; i--)
{
input = (input<<8) + INT345[i];
OUT345[i] = input/DIVISOR;
input = input%DIVISOR;  //Save the remainder for carry.
}

printf("\n");
for (i=43; i>=0; i--)
{
printf("%i", OUT345[i]);
}
printf("\n Remainder is %i", input);
}
Logged

"Set your mind free!"
motion55
Technical People
Diesel Generator
*****

Pogi/Ganda Points: 189
Offline Offline

Gender: Male
Posts: 1252


Been there and done that already.


« Reply #86 on: November 16, 2011, 09:48:31 AM »

Oops I rechecked my code and the correct answer is 19.

(2^345)/29 =

11A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611A7B9611 (hex)

remainder is 19.

Code:
#include <stdio.h>

#define DIVISOR 29

typedef unsigned char INT8;

void main ()
{
INT8 INT345[44];
INT8 OUT345[44];

int i, input;

input = 0;

// initialize
for (i=0; i<44; i++)
{
INT345[i] = 0;
OUT345[i] = 0;
}

INT345[43] = 2; // 2 followed by 86 zeroes in hexadecimal

for (i=43; i>=0; i--)
{
input = (input<<8) + INT345[i];
OUT345[i] = input/DIVISOR;
input = input%DIVISOR;
}

printf("\n");
for (i=43; i>=0; i--)
{
printf("%X", OUT345[i]);
}
printf("\n Remainder is %i", input);
}
Logged

"Set your mind free!"
a.out (drako65)
Size C Battery
*****

Pogi/Ganda Points: 29
Offline Offline

Gender: Male
Posts: 176


« Reply #87 on: November 17, 2011, 12:50:47 PM »

> echo '2^345%29' | bc
Logged

==============================
od</dev/urandom
zrehtiek/keitherz
Lead Acid Battery
*******

Pogi/Ganda Points: 31
Offline Offline

Gender: Male
Posts: 535



« Reply #88 on: November 17, 2011, 01:19:29 PM »

^ walang thrill. Cheesy
galing talaga ni si motion55. gagamit pa sana ako ng BigInteger library ng java e. +1!
di ko naisip mag mano mano ng long division. Grin
Logged
a.out (drako65)
Size C Battery
*****

Pogi/Ganda Points: 29
Offline Offline

Gender: Male
Posts: 176


« Reply #89 on: November 18, 2011, 09:37:15 AM »

sige mano manohin mo, marami pa akong gagawin, he he
Logged

==============================
od</dev/urandom
zrehtiek/keitherz
Lead Acid Battery
*******

Pogi/Ganda Points: 31
Offline Offline

Gender: Male
Posts: 535



« Reply #90 on: November 18, 2011, 06:47:27 PM »

^ ginawa na nga ni sir motion55.
Logged
a.out (drako65)
Size C Battery
*****

Pogi/Ganda Points: 29
Offline Offline

Gender: Male
Posts: 176


« Reply #91 on: November 19, 2011, 11:06:41 AM »

Try this in C (if you can)
1. Calculate pi to 5000 decimal places.
2. Calculate 6^6^6. (fyi: it is the number of parallel universes in Heinlein's "The Number of the Beast")
Logged

==============================
od</dev/urandom
The Philippine Electronics and Technology Forum
   

 Logged
Pages: 1 ... 3 4 [5]   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Anong bootloader ang gamit ninyo? « 1 2 »
Microcontroller/Microprocessor Unit Projects and Programming
alyas 24 2926 Last post August 01, 2009, 12:54:33 PM
by paranz
pwede ba magpa solve ng assignment sa math dito?
Mathematics
Lena 13 2427 Last post June 20, 2008, 10:51:56 PM
by bangthai
anong pinakamahirap na napagdaanan nyo with LOVE « 1 2 3 4 5 »
Culture and Lifestyle
gadudo 97 4384 Last post December 29, 2010, 09:58:03 AM
by Oj0vO
Anong Math ang Pinakamahirap para sa inyo?? « 1 2 ... 5 6 »
Mathematics
torpedo212001 116 10604 Last post December 19, 2011, 11:58:47 AM
by iNgine
Anong pinakamahirap na experience nyo mula simula in repairing a computer? « 1 2 ... 6 7 »
Computer Repair (Computer Technicians Forum)
jhalot 139 10727 Last post January 31, 2011, 10:43:23 PM
by piona
Anong mga magandang bagay na ma suggest ninyo sa IECEP?
Professional People
Kid Kulafu 19 1352 Last post December 06, 2010, 03:43:02 PM
by switch_link
Anong nangyari sa unang proposal-thesis ninyo? (mock defense)
ECE Students
Ngarus! 2 809 Last post October 08, 2009, 10:36:55 AM
by Ngarus!
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!