Thomas Dean

227 Reputation

10 Badges

16 years, 169 days

MaplePrimes Activity


These are answers submitted by Thomas Dean

Use a function and map

f:=(x)->convert(x,parfrac);


map(f,M);

The correct syntax depends on where the file is actually located.  Most likely, if it is a file you created, it will be in some form like

read "/home/<username>/Desktop/code.txt"

Where <username> is the login name of the user.

To get some idea of the equation form, try:

restart;
with(geom3d);
eq1 := {4*x+3*y+z = 0, x+y-z-15 = 0};
eq2 := {9*x+y-3*z-5 = 0, 12*x+5*y+7*z-13 = 0};
plane(P1, eq1[1], [x, y, z]);
plane(P2, eq1[2], [x, y, z]);
plane(P3, eq2[1], [x, y, z]);
plane(P4, eq2[2], [x, y, z]);
intersection(L1, P1, P2);
intersection(L2, P3, P4);
detail(L1);
detail(L2);

1 2 Page 2 of 2