eKristensen

30 Reputation

4 Badges

11 years, 245 days

MaplePrimes Activity


These are questions asked by eKristensen

Hi

 

I'm trying to solve this in maple:

 

solve({0.001=x*exp(0.6/(n*0.026)), 0.01=x*exp(0.68/(n*0.026))},{x,n})

solve({0.001=x*exp(0.6/(n*0.026)), 0.01=x*exp(0.68/(n*0.026))},{x,n})

 

Wolfrom alpha can do it: http://www.wolframalpha.com/input/?i=solve%28%7B0.001%3Dx*exp%280.6%2F%28n*0.026%29%29%2C+0.01%3Dx*exp%280.68%2F%28n*0.026%29%29%7D%2C%7Bx%2Cn%7D%29

 

Why can't i get maple to do it?

 

Thanks in advance!

 

Best regards

Emil

Hi

 

I have some data:

Matrix(10, 2, {(1, 1) = 0, (1, 2) = 0, (2, 1) = .5, (2, 2) = 3.25, (3, 1) = 1.0, (3, 2) = 5.82, (4, 1) = 1.5, (4, 2) = 7.50, (5, 1) = 2.0, (5, 2) = 8.79, (6, 1) = 2.5, (6, 2) = 9.83, (7, 1) = 3.0, (7, 2) = 10.66, (8, 1) = 3.5, (8, 2) = 11.35, (9, 1) = 4.0, (9, 2) = 11.94, (10, 1) = 4.5, (10, 2) = 12.46})

 

I want Maple to make a trendline fitting a Logarithmic function. I can make it output some function with this:

LeastSquares(`<,>`(.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5), `<,>`(3.25, 5.82, 7.50, 8.79, 9.83, 10.66, 11.35, 11.94, 12.46), x, curve = a+b*ln(x))

It outputs:

5.96497783539274+4.25309474196387*ln(x)

 

But please notice, the dataset in the function does not have the first 0 and 0. If i do that:

LeastSquares(`<,>`(0, .5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5), `<,>`(0, 3.25, 5.82, 7.50, 8.79, 9.83, 10.66, 11.35, 11.94, 12.46), x, curve = a+b*ln(x))

It outputs: 

Error, (in Matrix) numeric exception: division by zero

 

Besides that, i need the R-squard value for determinating how well it fits.

 

If i do the same thing i Excel the data set will give a formular: 5.5464ln(x)-0.2175 with a R-sward value of 0.9985.

 

How can i do this i maple?

 

Thanks in Advance!

 

----

Emil Kristensen

Hi. 

 

I have this expresssion:

 

int(sqrt(1+(diff(f(x), x))^2), x = 0 .. 17)

I know the result is:

30.75115129-1.376953493*10^(-8)*I

 

But it takes 13 minutes for maple to get to that solution, and i do not need the part with the I, complex number.

 

Is there any way to make maple evaluate this expression without computeing the complex number? A setting in generel, or some function to put the expression into?

 

Thanks in advance!

 

Emil Kristensen

Hi

I have entered two functions and got a solotion for them:

Now i want to know if there is someway Maple can do this automaticly:

 

So that i not have to do like i did here, manuel copy-paste the values into the function, or re-enter them.

 

Using Maple 17.02 on Windows 64-bit, but i guess that makes no differance, since it's java :) 

 

Try makeing it simple, i'm new with Maple.

 

Thanks in advance!

Emil Kristensen

 

Page 1 of 1