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?
Type: Posts; User: mr_diss
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?
impinduc=2*3.142*workingfreq*indctnce;
I just want to use the exact value of pi instead of 3.142!
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!
Thanks for that! It's working now :D
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...