Re: hellow Programming Software Development by Ancient Dragon trig will help for the math part but is useless for the gui part. What you want is an easy way to draw pie charts in C or C++. Read some of [URL="http://www.google.com/search?hl=en&q=c%2B%2B+program+to+draw+pie+charts&aq=f&oq="]these google links.[/URL] Re: hellow Programming Software Development by William Hemsworth Trig isn't all that difficult.. I put together a small … Computer Science with calc based or trig based Physics? Programming Computer Science by ihatestarch … whether I take a calculus-based physics course or a trig-based physics course? I mean . . . does it matter to the… want to go to grad school? I'd rather take trig-based as I hear it's less grueling. Re: Computer Science with calc based or trig based Physics? Programming Computer Science by mrnutty No it dosen't matter. You are a computer scientist. But for your own good I would advice you to take trig based physics. In computer graphics programmer, you will use more trig and vectors than calculus. Its good if you know calculus with addition. Anyways, its your choice, why not ask one of your computer science teacher? Rotating w/ trig Programming Game Development by CoolGamer48 Hey, I'm trying to use trig to create a rotating tank (you rotate the tank by … Accuracy with trig functions Programming Software Development by MONODA Hello, I am writing an application which uses the trig functions of the math module in python but for some … Re: Accuracy with trig functions Programming Software Development by woooee ….2/lib/module-decimal.html[/url] but add on the trig functions from here [url]http://pypi.python.org/pypi/AJDecimalMathAdditions… Python, Trig, and Taylor Series Programming Software Development by thesinik … so I want to write a program that will compute trig functions (sin, cos, tan, arcsin, etc.). Basically I'm ignoring… Re: Python, Trig, and Taylor Series Programming Software Development by Ene Uran Good show! So the question is, can you use your program to compute all the trig functions you wanted (sin, cos, tan, arcsin, etc.). Fastest way to compute trig functions Programming Software Development by TheWolverine … I was wondering what the fastest way is to compute trig functions. I profiled my code and to my astonishment discovered… Re: Fastest way to compute trig functions Programming Software Development by nezachem … I was wondering what the fastest way is to compute trig functions. [/QUOTE] libm [QUOTE] I profiled my code and to… Why does this trig calculation only give results in one quadrant? Programming Software Development by Curious Gorge … finding my angle, then put that value into the right trig functions. The problem is the results of these functions only… Re: Why does this trig calculation only give results in one quadrant? Programming Software Development by Curious Gorge Nevermind, you guys are helpful but I asked this question somewhere else and they provided a *helluva* lot simpler solution for what I was working on... thank you though! I didn't even need to use the trig functions! Re: Whats wrong with my forumla? (Trig) Programming Computer Science by wildgoose Use fmod to handle angles set > < 360 degrees. If you decide to use trig functions don't forget to convert degrees to radians. PI is 180 degrees. +/- PI. Help with sub Classing Programming Software Development by Sumal … -1; return ans; } /* * Trigonometric function solver. */ double trig(){ double ans = 0; boolean found = false; if( s.indexOf(…quot; ) == 0 ){ s = s.substring( 3 ); ans = Math.tan( trig() ); found = true; } if( !found ){ ans = exp(); } return … Copying only part of a character sequence Programming Software Development by ShellB12 … array of length 3. For instance, if I use char trig [10] = "cos(50)"; //declare and assign the char… array "trig" char t [3]; //declare char array t to store… "cos" part of the trig array t[0] = trig[0]; t[1] = trig[1]; t[2] = trig[2]; Whenever I do this… Re: Copying only part of a character sequence Programming Software Development by William Hemsworth … to do it would be like this: [CODE=CPP] char trig [10] = "cos(50)"; //declare and assign the char… array "trig" char t [4]; //declare char array t to store… "cos" part of the trig array t[0] = trig[0]; t[1] = trig[1]; t[2] = trig[2]; t[3] = '\0'; [/CODE… Re: Help with sub Classing Programming Software Development by Sumal …*= -1; } return ans; } @Override public double trig() { double ans = 0; boolean found = false; … { s = s.substring(3); ans = Math.tan(trig()); found = true; } if (!found) { ans … sending commands to signal generator and serial RS232 com1 port Programming Software Development by Kevin_160 …enter the command string: [code] do{trig = getc(stdin);}while(trig =='\n'); /* Huidig probleem is dat…query komt*/ printf("\n"); switch (trig){ case 'Q': printf("%s\n"…adressstring[16] = {0}; char command[256] = { 0 }; char trig; HANDLE my=SerialInit("com1"); HANDLE *ptr; *ptr = my… Why do i get an "ArrayIndexOutOfBoundsException" for this ? Programming Software Development by Sumal … -1; return ans; } /* * Trigonometric function solver. */ double trig(){ double ans = 0; boolean found = false; if( s.indexOf(…; ) == 0 ){ s = s.substring( 3 ); ans = Math.tan( trig() ); found = true; } if( !found ){ ans = term(); } return… Graphing 2 Lines Programming Web Development by <M/> …==-1) { inBrackets=false; } } return index; }; var findLastTrig = function(trig, value) { var matches=0; var index=-1; var r=0…;cos") { r=/(a)?cos/g; } else if (trig=="tan") { r=/(a)?tan/g; } else { return -… Re: Copying only part of a character sequence Programming Software Development by ShellB12 Nope. It didnt work. Still gives me the t address. Before I tried using a pointer as an intermediary beten trig and t... it sorta worked. I got something like cos[[[[[]]]8someweirdshit***& Help with math module Programming Software Development by cadtel …=lambda x: math.sqrt(x) p2=lambda x: x**2 #trig functions sin=lambda x: math.sin(rad(x)) cos=lambda… x: math.cos(rad(x)) #trig inverses asin=lambda x: deg(math.asin(x)) acos=lambda… x: deg(math.acos(x)) #trig measurements deg=lambda x: math.degrees(x) rad=lambda x… Taylor series cosine function help please! Programming Software Development by blindislands … You should put the function cos() in the file called trig.c. You can use the function pos_power() in your exponent…-num2 >=0.00005) {return 0;} else {return 1;} } **My trig.c file**: #include<stdio.h> #define PI 3…need to put the function double cos(float) in the trig.c file, but I don't know what to do… Re: Taylor series cosine function help please! Programming Software Development by blindislands …). You should put the function cos() in the file called trig.c. You can use the function pos_power() in your exponent… should update the makefile to compile and link driver1.c, trig.c, util.c and exponent.c when you type… file comparison Programming Software Development by prakasnisha …-09 powerup_time_u_switch_ring/u2_hs65_ls_sw3l60 = 6.3951e-09 targ = 6.9051e-09 trig = 5.1000e-10 temper = 2.5000e+01 alter# = 1.0000e….9415e-09 pg_cell = 6.3977e-09 targ = 6.9066e-09 trig = 5.1000e-10 temper = 2.5230e+01 alter# = 1.1111e… Re: file comparison Programming Software Development by prakasnisha …-09 powerup_time_u_switch_ring/u2_hs65_ls_sw3l60 = 6.3951e-09 targ = 6.9051e-09 trig = 5.1000e-10 temper = 2.5000e+01 alter# = 1.0000e… am not able to extract the value for at , target, trig. can u hepl me plz. thanks in advance. > sounds… Looking for assistance. Programming Software Development by IrishUpstart … way to approach this. I'm not hip on the trig aspect as it's been about 13 years since i…'ve taken a trig class. Something tells me this is a lot more complicated… Char problem in C++ Calculator Programming Software Development by matharoo … the program does not calculate anything after i do so! trig= sin(fno*pi/180); cout<<endl<<…("<<fno<<") = "<<trig<<endl<<endl; break; }[/CODE] Any help… Trigonometry in 3d space Programming Software Development by FallenPaladin … to be used to calculate the angle (a) based on trig functions tan a = yd / Vxz once I have this i…, if not any help with the syntax required for the trig functions would be greatly apreciated. Thanks and sorry for the…