Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Ridiculously complex calculus question  (Read 4950 times)

Peewee

  • Bay Watcher
  • Watcher Of Bays
    • View Profile
Re: Ridiculously complex calculus question
« Reply #15 on: May 31, 2011, 02:58:36 am »

Can anyone help me find the second derivative of

f(x) = cosx/(2+sinx)

And also its NSPI points? (or when f''(x)=0)

Not exactly overly challenging, but I've been having a bit of trouble on it.

Try u = cos(x), v = (2+sin(x)) for the first derivative.


Oh, and someone should probably link to the math help thread.

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Ridiculously complex calculus question
« Reply #16 on: May 31, 2011, 08:50:06 am »

Can anyone help me find the second derivative of

f(x) = cosx/(2+sinx)

And also its NSPI points? (or when f''(x)=0)

Not exactly overly challenging, but I've been having a bit of trouble on it.
d(f(x)*g(x))/dx = f(x)*dg(x)/dx + g(x)*df(x)/dx, applied twice. That should get you on your way.
Logged

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: Ridiculously complex calculus question
« Reply #17 on: May 31, 2011, 09:32:52 am »

This is a division, which can be simplified thusly:

(f(x)/g(x))'=(f'(x)g(x)-f(x)g'(x)/g(x)2
Logged

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Ridiculously complex calculus question
« Reply #18 on: May 31, 2011, 09:48:37 am »

That is actually the same formula as the multiplication rule I gave, but with the division worked into it. Both will give the same answer, it'll just look different at a first glance (which is also the reason I always forget the division rule)
Logged

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: Ridiculously complex calculus question
« Reply #19 on: May 31, 2011, 09:51:48 am »

Yeah, it's because it's jus' (f(x)h(x)-1)'
But this is kinda easier to remember imo.
Logged

Karlito

  • Bay Watcher
    • View Profile
Re: Ridiculously complex calculus question
« Reply #20 on: May 31, 2011, 05:24:07 pm »

So here's a trickier question:

What is the divergence of Vector?
Logged
This sentence contains exactly threee erors.

noodle0117

  • Bay Watcher
  • I wonder what would happen if I pull it.
    • View Profile
Re: Ridiculously complex calculus question
« Reply #21 on: May 31, 2011, 05:25:59 pm »

I know the formulas and stuff, but I'm just not very good at simplifying my results.
Logged

Cecilff2

  • Bay Watcher
  • PikaaAAAAあああああ
    • View Profile
Re: Ridiculously complex calculus question
« Reply #22 on: June 01, 2011, 02:39:36 pm »

|xxdx

Do it.
Logged
There comes a time when you must take off the soft, furry slippers of a boy and put on the shoes of a man.
Unless of course they don't fit properly and your feet blister up like bubble wrap.
Oh ho ho, but don't try to return the shoes, because they won't take them back once you've worn them.
Especially if that fat pig Tony is at the desk.

Blargityblarg

  • Bay Watcher
  • rolypolyrolypolyrolypoly
    • View Profile
Re: Ridiculously complex calculus question
« Reply #23 on: June 01, 2011, 04:36:46 pm »

Is that pipe meant to mean an integral?
Logged
Blossom of orange
Shit, nothing rhymes with orange
Wait, haikus don't rhyme

Cecilff2

  • Bay Watcher
  • PikaaAAAAあああああ
    • View Profile
Re: Ridiculously complex calculus question
« Reply #24 on: June 02, 2011, 10:59:41 am »

Indeed it is.
Logged
There comes a time when you must take off the soft, furry slippers of a boy and put on the shoes of a man.
Unless of course they don't fit properly and your feet blister up like bubble wrap.
Oh ho ho, but don't try to return the shoes, because they won't take them back once you've worn them.
Especially if that fat pig Tony is at the desk.

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Ridiculously complex calculus question
« Reply #25 on: June 02, 2011, 01:18:49 pm »

|xxdx

Do it.


Wolfram chokes on that and only gives a series expansion. I am disappointed...
Logged

Peewee

  • Bay Watcher
  • Watcher Of Bays
    • View Profile
Re: Ridiculously complex calculus question
« Reply #26 on: June 03, 2011, 05:36:22 pm »

|xxdx

Do it.

Let there be a function F, such that dF/dx = x^x.

Your answer is F(x).  :D

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Ridiculously complex calculus question
« Reply #27 on: June 10, 2011, 03:31:22 pm »

I have one for sufficiently vague definitions of calculus.

What is a/the algorithm capable of generating any/all valid sudoku board(s) that does not suffer from the halting problem.

I suspect that there is not one.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: Ridiculously complex calculus question
« Reply #28 on: June 10, 2011, 04:18:03 pm »

It should be possible, but the exact way to do it eludes me at the moment. The trick is to recurse from the top left corner to the bottom right corner and at each square generate a random, valid value. If no valid value is possible, you back up to the parent node in the recursion tree and try a different value at that level (gotta remember what values have been tried at each level). Since you iteratively exclude impossible solutions that way and there is a finite amount of impossible solutions (proof is left as an exercise to the reader) you should eventually hit a valid solution and thus you can't get stuck in infinite recursion.

Actually for any problem with a finite solution set and an objective way to determine the validity of the solution, if it is possible to generate all solutions without having a chance to generate a single solution an infinite amount of times, the problem can be solved by generating all possible solutions and checking their validity. This does not mean said approach is going to be viable to implement in a real-world context, but in theory it is possible.
« Last Edit: June 10, 2011, 04:24:27 pm by Virex »
Logged

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Ridiculously complex calculus question
« Reply #29 on: June 10, 2011, 04:55:08 pm »

Now I feel embarrassed. I should have thought of that.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.
Pages: 1 [2]