Search:

Type: Posts; User: mr_diss

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,667

    Thanks that works a bit better, is there no...

    Thanks that works a bit better, is there no constant for just pi?

    I presume that's using the inverse tan of 1 or something is it?
  2. Replies
    8
    Views
    2,667

    impinduc=2*3.142*workingfreq*indctnce; I...

    impinduc=2*3.142*workingfreq*indctnce;


    I just want to use the exact value of pi instead of 3.142!
  3. Replies
    8
    Views
    2,667

    OK now this one really is a stupid question: ...

    OK now this one really is a stupid question:

    How do I use pi in calculations?

    I've included math.h, and i've tried M_PI but it doesn't work


    Thanks again!
  4. Replies
    8
    Views
    2,667

    Thanks for that! It's working now :D

    Thanks for that! It's working now :D
  5. Replies
    8
    Views
    2,667

    Opening a user-defined file

    Hi. This is probably a really simple question but I can't find how to do it in any of my notes!


    I am writing a program in C and part of it needs to create a file, the name of which is inputted...
Results 1 to 5 of 5