|Making a simple program|
I was trying out Mathematica 8 and I defined a function I'm using now for my physics class.
ATENSION[a_, b_, w_] := (w*cos[180 - b])/(sen[a]*cos[180 - b] - cos[a]*sen[180 - b])
BTENSION[a_, b_, w_] := (w*cos[a])/(sen[180 - b]*cos[a] - cos[180 - b]*sen[a])
But I get the output in the form of a fraction. I was wishing to know if there's some way the output can be transformed to a totally numerical one. I have tried RealDigits, N, and many other things but can't quite get it to show as a number.
Also, it would be awesome if I could get a way to mix both equations so I only introduce the input one time, and generate both outputs at once. Thanks in advance.