epk

0 Reputation

2 Badges

13 years, 213 days

MaplePrimes Activity


These are questions asked by epk

So, i'm using Maple 13 in my school, and our homework was to make two procedures which could calculate something.

 

I'm interested in making a procedure which can calculate out the angles of my triangle with the law of cosines, and this is how my procedure looks so far:

 

findA := proc (a, b, c)

local solA;

solA := arccos((b^2+c^2-a^2)/(2*b+2*c));

return evalf(solA);

end proc

 

findA(67, 50, 34)

Page 1 of 1