Click here to Skip to main content
16,015,594 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: calculus... Pin
Anton Afanasyev10-Oct-06 22:10
Anton Afanasyev10-Oct-06 22:10 
GeneralRe: calculus... Pin
Ryan Binns10-Oct-06 22:15
Ryan Binns10-Oct-06 22:15 
GeneralRe: calculus... [modified] Pin
Vikram A Punathambekar10-Oct-06 21:43
Vikram A Punathambekar10-Oct-06 21:43 
GeneralRe: calculus... Pin
Anton Afanasyev10-Oct-06 22:11
Anton Afanasyev10-Oct-06 22:11 
GeneralRe: calculus... Pin
Ryan Binns10-Oct-06 22:20
Ryan Binns10-Oct-06 22:20 
GeneralRe: calculus... Pin
Vikram A Punathambekar10-Oct-06 23:00
Vikram A Punathambekar10-Oct-06 23:00 
GeneralRe: calculus... Pin
Ryan Binns10-Oct-06 23:04
Ryan Binns10-Oct-06 23:04 
GeneralRe: calculus... [modified] Pin
Stephen Hewitt12-Oct-06 13:59
Stephen Hewitt12-Oct-06 13:59 
First I'll rephrase the question:
  f(x) = g(x).h(x); where
  g(x) = x; and
  h(x) = 8cos(x) - 2sin(x)
  f'(x) = ?
 
Now some basic calculus results you should know by heart:
  sin’(x) = cos(x); and
  cos’(x) = -sin(x)
 
Finally the product rule:
  (g(x).h(x))’ = g’(x).h(x) + g(x).h’(x)
 
So in our case:
  g’(x) = 1; and
  h’(x) = -8sin(x) – 2cos(x)
Thus:
  f’(x) = g’(x).h(x) + g(x).h’(x)
   = 1.(8cos(x) - 2sin(x)) + x.(-8sin(x) – 2cos(x))
   = 8cos(x) - 2sin(x) – 8.x.sin(x) – 2.x.cos(x)
   = cos(x).(8-2x) – sin(x).(2+8x)
 
Now you can use f’(x) to find the gradient of the tangent and any point.

Once the gradient is known all that needs to be done is to plug it into y=mx+c and choose a c so that it touches the curve at the desired location.

Steve

QuestionSearch Algorithm Pin
MoustafaS10-Oct-06 10:28
MoustafaS10-Oct-06 10:28 
AnswerRe: Search Algorithm [modified] Pin
Kastellanos Nikos10-Oct-06 23:42
Kastellanos Nikos10-Oct-06 23:42 
AnswerRe: Search Algorithm Pin
Kastellanos Nikos11-Oct-06 0:02
Kastellanos Nikos11-Oct-06 0:02 
GeneralRe: Search Algorithm Pin
Anand Vivek Srivastava11-Oct-06 4:31
Anand Vivek Srivastava11-Oct-06 4:31 
Questiondeterminant of a matrix Pin
cagdasanilan4-Oct-06 4:15
cagdasanilan4-Oct-06 4:15 
AnswerRe: determinant of a matrix Pin
User 66588-Oct-06 13:28
User 66588-Oct-06 13:28 
AnswerRe: determinant of a matrix Pin
cagdasanilan8-Oct-06 22:58
cagdasanilan8-Oct-06 22:58 
AnswerRe: determinant of a matrix Pin
ejuanpp18-Oct-06 11:48
ejuanpp18-Oct-06 11:48 
GeneralRe: determinant of a matrix Pin
cagdasanilan21-Oct-06 8:07
cagdasanilan21-Oct-06 8:07 
GeneralRe: determinant of a matrix Pin
ejuanpp22-Oct-06 22:47
ejuanpp22-Oct-06 22:47 
GeneralRe: determinant of a matrix Pin
cagdasanilan26-Oct-06 4:06
cagdasanilan26-Oct-06 4:06 
QuestionPort To Application Mapping (aka PAM)... Pin
Shy Agam29-Sep-06 11:06
Shy Agam29-Sep-06 11:06 
Questionimage convolution Pin
Prinz Ryoiji27-Sep-06 22:02
Prinz Ryoiji27-Sep-06 22:02 
AnswerRe: image convolution Pin
Dominik Reichl29-Sep-06 7:43
Dominik Reichl29-Sep-06 7:43 
AnswerRe: image convolution [modified] Pin
ejuanpp2-Oct-06 1:46
ejuanpp2-Oct-06 1:46 
Questionlooking for a source code... Pin
good_buttercup27-Sep-06 19:04
good_buttercup27-Sep-06 19:04 
AnswerRe: looking for a source code... Pin
User 58385227-Sep-06 20:45
User 58385227-Sep-06 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.