yendis

30 Reputation

One Badge

11 years, 284 days

MaplePrimes Activity


These are questions asked by yendis

I need to write a procedure that takes an integer N and a boolean function F as in14 as arguments, returns nothing, and plots a square N × N lattice of points, coloring the points (i, j) with F (i, j) true in red and the other ones blue. 

Thank you in advance. Any help with this would be apreciated. 

I have a procedure I need to place Inline and am not sure how to do this. 


if ((a.d-b.c)=0) then print([0,0,0,0])
fi;
MARK:=(a,b,c,d)->[d/(a.d-b.c),-b/(a.d-b.c),-c/(a.d-b.c),a/(a.d-b.c)];

Is it possible to show using maple if a given line in 3d space intersects a 2d plane with given co-ordinal vertices?

Ive been given a task to write a fuction that will print true/false to if a given line will intersect a triangle given the co-ordinates of the vertices. 
I have a general idea on what needs to be done mathmaticly, but i have poor maple skills and the syntax is killing me.
I would appreciate some help in this regard.

 

Thanks.

1 2 Page 1 of 2