Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho …Radians Player.MoveX = Cos(Player.Radians) * Speed Player.MoveY = Sin(Player.Radians) * Speed ElseIf (KeyCode = vbKeyRight) Then Player.…Player.MoveX = Cos(Player.Radians) * Speed Player.MoveY = Sin(Player.Radians) * Speed ElseIf (KeyCode = vbKeyUp) Then If … Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho … PI Player.MoveX = Cos(Player.Radians) * Speed Player.MoveY = Sin(Player.Radians) * Speed ElseIf (KeyCode = vbKeyRight) Then Player.Radians…Player.MoveX = Cos(Player.Radians) * Speed Player.MoveY = Sin(Player.Radians) * Speed ElseIf (KeyCode = vbKeyUp) Then If … Re: Change-a-Letter-or-Two-Game Community Center Geeks' Lounge by paramasivan sin Re: sin, cos, tan Programming Software Development by mrnutty Sin(x) = x - x^3/3! + x^5/5! + x^7/…^2/2! + x^4/4! - x^6/6! ... Cos(x) = Sin( x - 90 ) ; //assuming x is in degrees Tan(x…) = Sin(X)/cos(X) "!" means factorial. for example to …calculate Sinus you can do this : [code] //Sin(x) = x - x^3/3! + x^5/5! + x^7… Re: Determine the volume of the spindle? Programming Computer Science by Rashakil Fol > sin^(2) *((Pi*x)/4) Lolwut? Re: calculate the x and y coordinate of a point with the polar coordinates Programming Software Development by JamesCherrill sin. cos etc use angles in radians, your data (30) looks like degrees. Re: Word Association Game Community Center Geeks' Lounge by samaru Sin --> Sin^2(x) + Cos^2(x) = 1 :) Re: Word Association Game Community Center Geeks' Lounge by mmiikkee12 sin --> bad Re: Word Association Game Community Center Geeks' Lounge by ~s.o.s~ sin -> taboo Re: How High Can We Count - Game Community Center Geeks' Lounge by ~s.o.s~ sin(0) + cos (0) + 665 => 666 Re: Fantastic word game Community Center Geeks' Lounge by The Dude Sin isnt good. Re: How High Can We Count - Game Community Center Geeks' Lounge by paramasivan sin^2 145[I] [/I]+ cos^2 145[I] [/I]= 1 Re: Word Association Game Community Center Geeks' Lounge by vinod_javas sin -> wicked Re: small logic error Programming Software Development by vmanes sin( ) and cos( ) take angles in radians, not degrees. Take your degree angle and multiply by (PI/180). Note that you will find a very good value of PI in the cmath library - check what you need to access it with your compiler. Re: Synaptics touchpad suddenly stopped working Hardware and Software Hardware by jhonrangel1 SIN TANTA HABLADERA, PRESIONA FCN+F7 POR LO MENOS ENVÍAME UN MENSAJE PARA AGRADECERME A: [email]jhonrangel1@hotmail.com[/email] GRACIAS Re: Prime numbers in range. Programming Software Development by LatSo sin I really appreciate it but is this snippet do the … Re: Prime Number C++ Programming Software Development by LatSo sin i replied in your post Re: The "answer movie name with movie name" game Community Center Geeks' Lounge by mike_2000_17 Sin City "sin" function question Programming Software Development by iammfa …tried practice "library functions" especially "sin" function, I wrote this trivial program to…answer like calculator..? This is my code: [CODE]//calculate sin angle | library functions #include <iostream> #…"; cin >> angle; answer = sin(angle); cout << "sin " << angle << … Re: "sin" function question Programming Software Development by Stefano Mtangoo …; using namespace std; #define PI 3.14 int main(){ //calculate sin angle | library functions double angle, angle_rad, answer; cout <<… >> angle; angle_rad = PI*angle/180; answer = sin(angle_rad); cout << "sin " << angle << "… sin function Programming Software Development by w2s … an a equation instead of the function of sin in cmath libry. "the equation is like this Tn = (… sin x expansion Programming Software Development by CHETNA_1 Write a C++ program to print out the value of sin(x) or cos(x) depending on a user input (1 = sin, 2 = cos)and continue the expansion until successive terms differ from each other by less than 0.0001 (in terms of absolute value). Report how many terms are necessary. sin parabola with straight lines Programming Software Development by lithuanian … of my weak knowledge. I need to draw half of sin parabola with straight lines . Like this [url]http://www.mif… Re: sin, cos, tan Programming Software Development by ShawnCplus … number is the value of sin(1) so he's essentially getting sin(x) by doing sin(1)*x which is quite wrong… Re: sin, cos, tan Programming Software Development by alexa868 …] #include<iostream> #include <stdio.h> #define sin 0.017452406437283512819418978516316 using namespace std; int main() { int valor; long…: "<<endl; cin>>value; seno=value*sin; cout<<"Sinus of "<<value… Re: sin, cos, tan Programming Software Development by mrnutty … trying to mislead OP?[/QUOTE] Oops the sign must alternate, Sin(x) = x - x^3/3! + x^5/5! - x^7…/7! + x^9/9! ... [code] //Sin(x) = x - x^3/3! + x^5/5! - x^7… Re: sin, cos, tan Programming Software Development by nezachem [QUOTE=firstPerson;1104661]Sin(x) = x - x^3/3! + x^5/5! + x^7/7! ... [/QUOTE] Just wondering: are you intentionally trying to mislead OP? how to get the al information from the brackets of each sin() Programming Software Development by pradeepreddy …code to get all information with in brackets of each sin() ,which i would like to give as my …exactly, for example i write "sin(90*2)+sin(60)+sin(60+(75*2))+sin(50)+sin(20)" in textbox i need …To TextBox1.Text.Length - 1 startPos = TextBox1.Text.IndexOf("sin(", j) + 4 For i As Integer = startPos To… To find the Sin value , give me a small support Programming Software Development by vijaysoft1 I have a program to find the [B]Sin[/B] value of a given value(in radian) .…n"; cout<<sin(x)<<"\n"; fabs(s-(sin(x))); n=2; while(fabs…(s-sin(x))>0.0001 ) { s… term*f; n=n+2; } cout<<"Sin "<<k<<"="<<… Re: To find the Sin value , give me a small support Programming Software Development by mvmalderen You can use the [ICODE]sin[/ICODE] function from the C++ library ... (Look [URL="http://www.cplusplus.com/reference/clibrary/cmath/sin/"]here[/URL] for a reference)