Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#26 2011-07-07 04:22:11

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Hi;

I remind you that i want  an equation of this format: A=B+k*C , mainly i want to find k, but from inserting 4000 A,B and C values.

4000 data entries is not a big problem for Mathematica. You must make sure that the data is entered correctly.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#27 2011-07-07 04:23:28

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

Yeah, thats the main problem.

Offline

#28 2011-07-07 04:24:33

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

I have already provided you with 3 values. Could you please tell me how exactly to enter these 3, and then i will add the rest?

Offline

#29 2011-07-07 04:42:50

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Hi;

The first thing that needs to be done is the data should be entered into mathematica like this: B , C , A and right now you have A,B,C for your columns.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#30 2011-07-07 04:46:59

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

data={{1,3,8},{2,5,13},{3,8,17}}

When i enter the data in the brackets, it is:

1) data={{B,C,A},{B,C,A},{B,C,A}}

OR

2)data={{B,B,B},{C,C,C},{A,A,A}}

?

Offline

#31 2011-07-07 04:49:37

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Hi;

We are looking for

data={{B,C,A},{B,C,A},{B,C,A}}, that is B's in the first position, C's in the middle and A's on the right.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#32 2011-07-07 04:59:07

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

Thanks for everything, i will return from more questions later. Cheers.

Offline

#33 2011-07-07 05:06:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

bobbym wrote:

We are looking for

data={{B,C,A},{B,C,A},{B,C,A}}, that is B's in the first position, C's in the middle and A's on the right.

If you can not do that manually we can have mathematica do it for us.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#34 2011-07-08 00:25:00

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

How can mathematica do this?

Offline

#35 2011-07-08 00:27:35

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

What kind of file type is your data stored in?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#36 2011-07-08 00:30:12

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

excel

Offline

#37 2011-07-08 00:32:02

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

do you want me to send you the file?

Offline

#38 2011-07-08 00:34:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

If you want or I can show you how to do it yourself. It will take some trial and error.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#39 2011-07-08 00:38:31

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

I prefer you to show me how to do it, because i will want to do it again in the future

Offline

#40 2011-07-08 00:39:34

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

i have 3 columns on the excel, with A,B and C inside it.

Offline

#41 2011-07-08 00:41:39

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

The first problem is how to get the data from the file into mathematica for processing...

I need to know a few things about the structure you have chosen. You said your file had this form:

508.463    29.8554    33.3831
515.271    29.8752    33.5417
522.866    29.9544    33.6408
A                B              C

The data has commas between them or not?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#42 2011-07-08 00:45:58

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

can you send me your email so you can see the file please?

Offline

#43 2011-07-08 00:48:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Hi;

[Deleted by Moderator]


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#44 2011-07-08 00:51:53

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

I sent it

Offline

#45 2011-07-08 00:55:59

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

Solar Irradiance is A, Ambient Temperature is B and Module Temperature is C

Offline

#46 2011-07-08 01:09:21

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Okay I have the data. I will need some time now.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#47 2011-07-08 01:15:24

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

Thank you

Offline

#48 2011-07-08 01:18:55

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Is the first piece of data 508.463?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#49 2011-07-08 01:40:53

Old_Trafford
Member
Registered: 2011-07-04
Posts: 44

Re: Finding the equation from a set of numbers

yes

Offline

#50 2011-07-08 02:01:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Finding the equation from a set of numbers

Hi;

I have the data and it is in mathematica. Before I switch columns I have notices a problem in your data. There is a bunch of .741

Here are the first 2:

.741     28.0122      24.3655
.741     27.9527      24.3457
etc.

Duplicates might upset the fitting algorithm after all how can different inputs yield the same A?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB