Cosinesby (no login)I'm trying to work out an angle of a non-right angel triangle. I have the 3 sides and the equation works (checked with excel and a cad package and on calculator) but the angle always comes out wrong in Qbasic. The number is correct until I try to make an angle of it and then it's at least 1% out? at this point it's correct as2 = (((ls * ls) + (kpl * kpl) - (tl * tl)) / (2 * (kpl * ls))) however I go from here to convert it to an angle goes wrong. if I work out a series of these and subtract them, the differences are correct but none of the actual position are? Help |
| Response Title | Author and Date |
| Hmm | on Jul 21 |
| more info | on Jul 22 |
| Don't forget there's no arccos in QB | David on Jul 22 |
| Sorry, disregard what I said. | on Jul 22 |
| Better arccos | Zom-B on Jul 23 |
| Even better... | on Jul 23 |
| That's not better. ππππππππ | Ben on Jul 23 |
| * Then ya gotta SHARE π! I DON'T SHARE π π π π! | on Jul 23 |
| *LOL, keep the new forum handle | on Jul 23 |
| *Why not just 2 * ATN(1)? | on Jul 23 |
| *Didn't see that, you're right | Ben on Jul 23 |
| * Does that make it any better kid? Will DOSBOX run it? :-P | on Jul 24 |
| Thanks Everyone | nik on Jul 27 |
| MAYBE THIS LINK COULD HELP | OPRESION on Jul 22 |