What are these on the computer? Like to get SIN 45, what do I type?
ex.
(label1.caption = SIN45)
also, what are SQUAREROOT and ABS function?
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
Tells you the square root of the number in the text box.
VB Code:
Private Sub Command1_Click()
MsgBox (Sin(45))
End Sub
Will tell you the sine of the angle.
Last edited by Nightwalker83; Dec 7th, 2003 at 07:42 PM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
MsgBox (Cos(45)) ' Replace 45 with the number you want.
End Sub
Use the following to the tangent of an angle.
VB Code:
Private Sub Command1_Click()
MsgBox (Tan(45))
End Sub
The sin function is in my other post.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
There must be something wrong with the rest of your code (or the way you've used the formula), because i see no reason why that shouldn't do what it's supposed to. Although of course it might draw the line in a wierd place because of incorrect values.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
and why is SIN in blue when I post it in the forume but not when i'm coding in my visual basic?
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
It's blue here because the designers of this forum decided that sin was used often enough by people that it should be lighlighted along with keywords.
As for VB, mine doesn't highlight it either, so that doesn't matter.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Sin, Cos, and Tan use radians instead of degrees so you have to multiply by Pi / 180. You'd get a very slight speed boost by making Pi / 180 a constant and using that, although it doesn't matter unless you're going to be calling this procedure exceedingly often.
Edit: ABS is Abs
The time you enjoy wasting is not wasted time. Bertrand Russell
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
oh wait, I found my mistake, but now I need someone to tell me what Sin-1 is in VB!!
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
funny, I don't have this great utility installed, thats why I ask.
ArcSin(X) doesn't work though
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent