Re: Combining Functions



Hi i have to program a code to perform 1 of 5 functions at the users
request, I have got to the part where i have to program the equations
and i cant seem to get them to link together. Basicly when the used
enters his radians i was to link to a sin x function to calculate the
sin of the number also there will be a factorial function and a cos
function. but none of them are linking.

Hi,
It would be helpful if you include the actual error messages.
We are not yet clairvoyant.

If you do math you should also include math.h.
Look in MSDN to see which functions are contained in which library.
There should be no need to program sin and cos functions yourself.

--

Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@xxxxxxxxxxx
Remove only "_nos_pam"


.



Relevant Pages

  • Re: Combining Functions
    ... request, I have got to the part where i have to program the equations ... and i cant seem to get them to link together. ... enters his radians i was to link to a sin x function to calculate the ... What do you mean by "not linking"? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Sine and Cosine Accuracy on AMD64 and Pentium 4
    ... > 2) It seems to me you're testing the output of the log function> as ... Note that this does not depend at all on the accuracy of the sin ... and cos functions. ... important than the accurate kinetic energy. ...
    (comp.compilers)
  • Re: need help with operations stability
    ... > and I need some references where can I solve the next problem: ... either PI/2 is wrong or your sin and cos functions are wrong. ... that sin and cos implemented in the intel processors FPU are a little bit ...
    (comp.lang.cpp)
  • Re: Parametric plot with a data file instead of functions.
    ... my sin and cos functions come from a 3-column data file. ... I am not quite sure what you mean by "sin and cos functions come from ... If you want to plot the cos of column 2 versus the sin of column one, ...
    (comp.graphics.apps.gnuplot)
  • Re: Tough problem...
    ... The sin and cos functions become inaccurate when ... I'm no expert here, and I dont quite get where the i comes from, but ...
    (borland.public.delphi.language.basm)