News
:
Nomination phase in the ModDB Mod Of The Year 2008 Awards has begun! Help MWLL by voting for us!
Home
Forum
Calendar
Login
Register
MechWarrior: Living Legends
>
Off Topic
>
Toast
>
A little math help?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: A little math help? (Read 485 times)
JesseG88
Bondsman
Offline
Posts: 4
A little math help?
«
on:
February 24, 2008, 10:31:45 PM »
So I'm taking derivatives of trig functions. I know that if y=sin(x), then y'=cos(x). I'm wondering if you know calculus, what is y' if y=sin
2
(x)? I'm not sure if I'm supposed to use the power rule(
dy/dx x
n
= nx
n-1
) and/or the chain rule(
dy/dx f(g(x)) = f'(g(x))g'(x)
).
Logged
MWLLKeeper
Professional Amature
MWLL DEV
Lance Sergeant
Offline
Posts: 445
Re: A little math help?
«
Reply #1 on:
February 25, 2008, 02:56:06 AM »
2cos(x) unless i'm mistaken.
HA, I was way off.
http://library.wolfram.com/webMathematica/Education/WalkD.jsp
http://calc101.com/webMathematica/derivatives.jsp#topdoit
Always use the web to answer questions like these, there are plenty of really helpful and informative tools like this hidden out there. It's surprising what a good search will pop up (I used "derivative calculator").
It was the chain rule btw, and treat it as (sin(x))^2 and it's a little clearer. Comes to 2sin(x)cos(x) which is equal to sin(2x). Hope that helped
Logged
Masakari
I wont forgot to brung it next time :downs:
MWLL DEV
Star Captain
Online
Posts: 1071
Better safe than sorry.
Re: A little math help?
«
Reply #2 on:
February 25, 2008, 08:26:51 AM »
Assuming you mean sin(2x)... {{not sin^2(x)...}} it'd be 2cos(2x).
Let's work through it.
You can always substitute one variable for another if you're in a bind... so let's sub u for 2x.
So -- what's the derivative of sin(u)... well, that's be cos(u) as you just said.
Okay -- but the chainrule says we need to multiply by the derivative of u.
Well -- since u = 2x... what's the derivative of 2x?
Well... that's 2.
... So we multiply cos(u) by 2.
... which is 2cos(u)
... which is 2cos(2x)
... if you can do it by eye (which -- yea you eventually definitely will be able to) then you don't need to do substitutions... but that's just easier to read. (and is something you're going to be doing FOREVER)
If you actually did mean sine_squared(x) -- it would be 2sin(x)cos(x).
The power rule and the chainrule are actually the same thing, sorta...
{sin(x)}^2... sub sin(x) for "u".
u^2 differentiates to 2u. Well -- you need to multiply by the derivative of u again, by the chainrule... what's the derivative of u?... well what's the derivative of sin(x)? ... cos(x).
Therefore -- 2*u*cos(x) which is 2*sin(x)*cos(x).
If you wish me to explain it better -- I'll do it tomorrow after class.
Obviously "^" is the sign for "to the power of"...
Logged
:conspiracy:
Quote from: ATLAS2696 on May 14, 2008, 08:00:44 PM
How i play this is it just for making it or playing and making it
Fail
JesseG88
Bondsman
Offline
Posts: 4
Re: A little math help?
«
Reply #3 on:
February 25, 2008, 06:32:34 PM »
Thanks for the help!
Logged
death_grin
MWLL DEV
Star Captain
Offline
Posts: 850
Level Design/Enviromental artist
Re: A little math help?
«
Reply #4 on:
March 12, 2008, 09:45:46 AM »
wheres my gun..
Logged
PanzerBoxb
Captain Cheese™
Star Captain
Offline
Posts: 1150
Re: A little math help?
«
Reply #5 on:
March 12, 2008, 11:13:05 AM »
No gun, but after reading this thread I do have a bottle of Excedrin Migraine pills.
Logged
zaha
Code Monkey, Another One
MechWarrior
Offline
Posts: 269
Re: A little math help?
«
Reply #6 on:
March 12, 2008, 12:09:11 PM »
help, everything was absolutely clear to me!
Something's wrong with me, isn't it? ;_;
Logged
I've been waiting for a long time, for this moment to come.
I'm destined for anything...at all.
PanzerBoxb
Captain Cheese™
Star Captain
Offline
Posts: 1150
Re: A little math help?
«
Reply #7 on:
March 12, 2008, 01:17:42 PM »
Quote from: zaha on March 12, 2008, 12:09:11 PM
help, everything was absolutely clear to me!
Something's wrong with me, isn't it? ;_;
Apparently so.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Public Discussion
-----------------------------
=> General Discussion
=> Community Involvement
=> Ideas and Suggestions
=> Tech Forum
=> Join The Team
=> Battletech Universe
=> Player Communities Recruiting
-----------------------------
Off Topic
-----------------------------
=> Other Gaming
=> Toast
Loading...