New answers tagged

2

The WriteString in your loop form should be: WriteString[path, 0.01*i, " ", 1/((y[30]^2 + y[30 - Pi/2]^2)) /. First@s, "\n"] This gives you no { } in the file and Imports properly. You could also use Write: Write[path, 0.01*i, OutputForm[" "], 1/((y[30]^2 + y[30 - Pi/2]^2)) /. First@s] That said its usually preferable to generate ...


4

response = {{"N","D","S","C","C"},{"N","D","S","C","C"}, {"Y","R","C","T","T"},{"N","D","S","C","C"}, {"Y","D","C","C","C"},{"Y","R","C","K","T"}, {"Y","R","C","T","T"},{"Y","D","S","C","C"}, {"Y","R","C","T","T"},{"Y","R","C","T","T"}, {"N","D","S","C","T"},{"Y","D","C","K","T"}}; In order for ...



Top 50 recent answers are included