All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math > Calculus
Second derivative of a cosine product (Posted on 2024-02-27) Difficulty: 4 of 5
For natural number n, define f_n(x) as the product cos(x) * cos(2x) * cos(3x) * .... * cos(nx).

What is the smallest n such that |f_n''(0)| > 2024?

No Solution Yet Submitted by Brian Smith    
Rating: 5.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution (spoiler) | Comment 1 of 5
The smallest such n is 18: The second derivative for the resulting function is -2109 at x=0.

fs='f=1';
syms x
for n=1:100
  fs=[fs '*cos(' num2str(n) '*x)'];
  eval([fs ';']);
  f1 =diff(f);
  f2 = diff(f1);
  v=vpa(subs(f2,x,0));
  disp([n v])
  if abs(v)>2024
    n
    break
  end
end

finds

 n  second derivative
       at x = zero
 
[1, -1.0]
[2, -5.0]
[3, -14.0]
[4, -30.0]
[5, -55.0]
[6, -91.0]
[7, -140.0]
[8, -204.0]
[9, -285.0]
[10, -385.0]
[11, -506.0]
[12, -650.0]
[13, -819.0]
[14, -1015.0]
[15, -1240.0]
[16, -1496.0]
[17, -1785.0]
[18, -2109.0]
n =
    18
>> 

  Posted by Charlie on 2024-02-27 12:18:43
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information