1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: I really need help with a MATLAB iteration code

  1. Jan 18, 2013 #1
    1. The problem statement, all variables and given/known data

    Hello, I want to obtain a solution to a, where k is a constant. The formula is:

    k/a = tan(a)

    I need to write a MATLAB code for this but I have been struggling for hours. And I must send the project to my professor in an hour. :(

    2. Relevant equations

    I know that I need to do an iteration but how? I tried doing a fixed point iteration but it didn't work.

    3. The attempt at a solution

    Very limited so far. I would be so so grateful for any help! Thanks!
  2. jcsd
  3. Jan 18, 2013 #2


    User Avatar

    Staff: Mentor

    You need to show us what you have done so far. We do not do your work for you here.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook