• Support PF! Buy your school textbooks, materials and every day products Here!

Mathematica notebook not working

  • Thread starter Shukie
  • Start date
  • #1
96
0

Homework Statement


I am trying to find Rydberg's constant. I took measurements using a spectroscope and now I want to do a NonLinearModelFit on the following function:

[tex]\theta = \theta_0 + \alpha + \Arcsin{p k - \Sin{\alpha}}[/tex]

Where p is 1/(d*Rh). I know [tex]d[/tex] and so I can calculate [tex]R_H[/tex] if I know [tex]p[/tex]. Problem is, I can not get the fit method to work in mathematica, but I don't see what is wrong.

The Attempt at a Solution



View attachment 24028

Could anyone please take a look?
 
Last edited:

Answers and Replies

  • #2
Mapes
Science Advisor
Homework Helper
Gold Member
2,593
20
Try giving p an initial value of 0.
 

Related Threads on Mathematica notebook not working

  • Last Post
Replies
2
Views
328
  • Last Post
Replies
5
Views
5K
  • Last Post
Replies
1
Views
296
Replies
1
Views
818
  • Last Post
Replies
1
Views
722
  • Last Post
Replies
1
Views
1K
Replies
9
Views
948
Replies
0
Views
2K
Replies
12
Views
2K
Top