[GAP Forum] Need help: Solution to a simultaneous equation
muniru asiru
maasiru at yahoo.com
Wed Apr 11 11:31:12 BST 2007
a:=100;;
y1=1+ 401/a*10^-14*b+ 118/a*10^-14*c+
260/a*10^-14*d+ 331/a*10^-27*e
y1=1+ 457/a*10^-14*b+ 127/a*10^-14*c+
330/a*10^-14*d+ 255/a*10^-27*e
y1=1+ 765/a*10^-14*b+ 383/a*10^-14*c+
595/a*10^-14*d+ 380/a*10^-27*e
y1=1+ 101/a*10^-14*b+ 266/a*10^-14*c+
797/a*10^-14*d+ 428/a*10^-27*e
y1=1+ 135/a*10^-14*b+ 354/a*10^-14*c+
106/a*10^-14*d+ 586/a*10^-27*e
I need help. I like to solve the above simultaneous
equations to determine the
values y1, b,c,d, and e.
I can write some simple codes in Gap, but this doesn't
appear to help.
I wiil be grateful if you will help me out. My
program is shown below.
k0:=[-2^25,(-2^25-1)..2^25];; a:=100;;
k1:=[];;
for y1 in k0 do for b in k0 do for c in k0 do for d in
k0 do for e in k0 do if
[[y1],[y1],[y1],[y1],[y1]]=[
10^30*[1+ 401/a*10^-14*b+ 118/a*10^-14*c+
260/a*10^-14*d+ 331/a*10^-27*e],
10^30+[1+ 457/a*10^-14*b+ 127/a*10^-14*c+
330/a*10^-14*d+ 255/a*10^-27*e],
10^30+[1+ 765/a*10^-14*b+ 383/a*10^-14*c+
595/a*10^-14*d+ 380/a*10^-27*e],
10^30+[1+ 101/a*10^-14*b+ 266/a*10^-14*c+
797/a*10^-14*d+ 428/a*10^-27*e],
10^30+[1+ 135/a*10^-14*b+ 354/a*10^-14*c+
106/a*10^-14*d+ 586/a*10^-27*e]]
then Add(k1,[Int(y1),Int(b),Int(c),Int(d),Int(e)]);
fi; od; od; od; od; od; k1;
Gap cannot give me the value of k1. How do I overcome
this problem.
Thanks
sincerely,
maa
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
More information about the Forum
mailing list