Solve - Mapping problem & combining list output

Hi All,

Question 1 - I am trying to “Solve” for each element in the below “data” list… I am trying to Map or Thread each element in the list “data” through Solve but I don’t know how to do it. Please could someone help me setup the coding.

Please see attached - Solve - Mapping problem & combining list output- 23 April 2016
Further questions added - to formatting the output of the lists.

Many thanks for your help attention.
Best regards,
Lea…

You can do it this way

Map[Solve[lineTA1[deg] == #, deg] &, data]

or also this way:

Table[Solve[lineTA1[deg] == n, deg], {n, data}]

Solve - Mapping problem & combining list output- 23 April 2016

Please help with additional questions.
Really appreciate your help & attention.
Lea…

Hi Gianluca,

I have added further questions to your response.
Please review & advise.

Many thanks for your help & attention.

Kind regards,
Lea…

The following gives the deg values in a simple list:

Table[deg /. First@Solve[lineTA1[deg] == n, deg], {n, data}]

You get datum & deg pairs this way:

Table[{n, deg /. First@Solve[lineTA1[deg] == n, deg]}, {n, data}]

Since your equations are linear you may consider using LinearSolve instead of Solve, with a simpler syntax.

It is good that someone ask this question. now i know how to do it.
How about going to a concert? I propose attending Keith Urban concert which have been just awesome in the past few years.

Excellent.
Thanks so much for your help.
Kind regards, Lea…