| Author |
Comment/Response |
VB
|
03/21/01 4:07pm
I have read the messages for FindRoot ans Solve --Thanks for the tips. However my problem is that i have wish to fill a Table with values from the Solve results without the {}braces. I used the tip to extract the solution but still the {} remain so when i send this Table to ListPlot it does not like it and errors.
Here is the code.
(* Make a funtion*)
f[z0_,z1_,a_,b_,U_]:=Solve[BetaRegularized[z0,z1,a,b==U,z1];
A=Table[0,{i,2}]
B=Table[0,{i,2}]
U=Table[0,{i,2}]
x=Table[0,{i,2}]
A[[1]]=1
A[[2]]=1
B[[1]]=1
B[[2]]=1
U[[1]]=100
U[[2]]=100
Print[''Results'']
(* I am trying to fill Table x with only the numbers not any other characters --but can't :( *)
Do[Do[x[[i]]=z1/.f[0,z1,A[[i]],B[[i]],U[[i]]];Print[x[[i]]],{i,2}],{1}]
(* ERROR MESG HERE*)
ListPlot[x,PlotJoined->True]
Any suggestions would be very helpful.
thanks
VB
URL: , |
|