Thread: Please help me with a math problem

  1. #1
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812

    Please help me with a math problem

    It's been around 10 years since I've done any serious maths, so I'm struggling with this.

    I have an equation y = f(x) which looks like

    y = c ( sin(2x) + x )

    I want to re-arrange this to get the reverse, i.e. an equation for x given a value for y. So I would have x = f'(y)

    But I can't seperate the x's all onto one side. The nearest I can get is:

    x = 0.5 * asin( (y/c) - x )

    but this leaves me with x buried on the right hand side.

    Help please!

  2. #2
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    this is all i can get
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  3. #3
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    sin(2x) = sin(x + x) = sin(x)cos(x) + sin(x)cos(x) = 2sin(x)cos(x)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. Help!!c problem in math
    By feelsunny in forum Tech Board
    Replies: 2
    Last Post: 10-06-2007, 03:35 AM
  3. Math Problem....
    By NANO in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 11-11-2002, 04:37 AM
  4. math problem
    By unixOZ in forum Linux Programming
    Replies: 4
    Last Post: 10-19-2002, 12:17 AM
  5. Little math problem
    By Thantos in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-27-2001, 07:44 PM