Items tagged with value

Feed
Also available: value

I need a mathematical system that finds the value of k that gives the z value bigger (for loop inside the slider). Moving the slider would seem  k=0.80621762 that give z: 2517.701824

k.mw


The for Statement calculates this mathematical sequence:

a=100 
b=10  

1)c=a-b  
2)d=c*2-k2; k2=(b*2)  
3)e=d*2-k3;k3=k2*2  
4)f=e*2-k4;k4=k3*2  
30) (...)
z=c+d+e+f+(...)
z=?

The paramiter 2 is k (i have to find the value that give me the maximum of z).

 

Hello,

I want plot this equations with values independents x,A,B

But this is error.

Any idea?

Thanks

Hey,

I want to solve this equation and looking at the plot there are at least 3 solutions. I want the greatest/smallest negative solution. Unfortunately using solve with assumptions produces no results and solve without assumptions only finds two solutions.

Can you please help me?

#select greatest negative value from solution

restart:

expr:= ax*cos(lambda)+ay*sin(lambda)-(a+b*lambda)

ax*cos(lambda)+ay*sin(lambda)-b*lambda-a

(1)

ax:=1:ay:=2:a:=0.5:b:=0.25: #examplanatory values

plot(expr)

 

 

assume(-2*Pi<lambda,lambda<0): #does not work

 

sol_lambda:=[solve(expr=0,lambda, useassumptions)];# returns empty list even though without assumption one solution is found

Warning, solutions may have been lost

 

[]

(2)

sol_lambda:=[solve(expr=0,lambda)]; #returns only two solutions even though looking at the plot 3 are there

Warning, solve may be ignoring assumptions on the input variables.

 

Warning, solutions may have been lost

 

[2.190357220, -.2688724573]

(3)

sol_l_v:=evalb~(sol_lambda<~0); #dirty workaraound

[false, true]

(4)

sol_l_add:=[ListTools:-SearchAll(true,sol_l_v)] ; #this seems overly complicated

 

[2]

(5)

lambda:=sol_lambda[sol_l_add[-1]];  #to select the last entry

 

-.2688724573

(6)

expr; #test

 

0.

(7)

 


Download select_solution.mw

Thanks!

Honigmelone

Hi 

My teacher (im studing Technology Management and Marine engineering) only allow that we use maple if we display the results between calculations. Is that posible:

 

a := 4;

b := 5;

Instead of :

a+b=9

I want it displayed as:

a+b= 4+5= 9;

or just

4+5 = 9; where a and b are Automatically replaced with the respective values, when i run the !!! button

 

A lot of my calculations are done by defining the variables in the top. 

Any ideas??

 

Thanks in advance.

 

Best regards  Carsten Moller

 

 

 

                                                                                                                                         

Dear all;

 

Hello everybody, I need your help to dispaly some values obtained using my function f. When I run the code there is no results obtained. Many thanks.

restart:

# The vectors e(i) satify the folowing conditions
e(0)*e(1)=e(n-1) assuming  1<n;
e(0)*e(0)=e(2):
e(1)*e(1)=e(n-1) assuming  1<n: :
e(2)*e(1)=e(n) assuming  1<n:
#
for i from 1  to n-1 do
e(i)*e(0)=e(i+1);
end do:

# We define the function f
f:=e(0)->e(0)+(n-3)*e(1);
f:=e(1)->(n-2)*e(1);
for i from 2  to 3 do
f:=e(i)->(n+i-3)*e(i)+(i-1)*(n-3)*e(n-3+i);
end do:

for i from 4 to n do
f:=e(i)->(n+i-3)*e(i)
end do:

# We define the two vectors
x:=sum(alpha(k)*e(k),k=0..n);
y:=sum(beta(k)*e(k),k=0..n);

#Question : I would like to compute the following  but there is no display of the solution. 
(x*y);
f(x*y);
f(x);
f(y);
x*f(y);
f(x)*y;
f(x*y)- f(x)*y-x*f(y);

I try to assign a value "y" function "g" but not working. Should be g(0.5,y)=800, but it is not appear in screen. Regards.

value_function.mw

``

restart

``

``

``

g(.5, y) := 200*y;

200*y

(1)

y := 4;

4

(2)

g(.5, y)

g(.5, 4)

(3)

``

``



Download value_function.mw

 

Dear all,

Thank you for helping me  to generate a table of values of f(x) starting with x=0 to 100 in steps of 1, that is for x=0,1,2,3,...,100.

 

I tried:

f:=x->2*sqrt(3)*a1*a2*(sum(pochhammer(1/3,k)*3^k*x^(3*k)/(3*k)! ,k=0..infinity)*sum(pochhammer(2/3,k)*3^k*x^(3*k+2)/(3*k+2)!  ,k=0..infinity)-sum(pochhammer(2/3,k)*3^k*x^(3*k+1)/(3*k+1)!  ,k=0..infinity)*sum(pochhammer(1/3,k)*3^k*x^(3*k+1)/(3*k+1)!  ,k=0..infinity));

tab_values:=[evalf(simplify(seq(Ni1(xx),xx=0..100)))];

But I the result is amazing.... I don't understand the problem.

Thanks

 

I try to find the exact (symbolic) value of

(-2*sqrt(7)-4)*EllipticK((1/8)*sqrt(2)*(-3+sqrt(7)))^2+4*EllipticE(-(1/8)*sqrt(2)*(-3+sqrt(7)))*sqrt(7)*EllipticK((1/8)*sqrt(2)*(-3+sqrt(7)))

I tried 'simplify' with different options and 'convert'. It would be pi=3.141... as numerical approximation suggests.

Many thanks.

I want Positive values of Arcsin but maple give to me Negative values of Arcsin?

my function is f=arcsin(1-x), 0<x<2 and f>0. and f(2)=3 pi/2 but in maple f(2)=-pi/2.

I want positive values of f Without adding anything to f.

Thanks.

f=2*x*(int(sqrt(1+y^2*(t*x-1)^2/(1-(t*x-1)^2)), t = 0 .. 1))    ,0<x<2,   0<y<1,

I want to Determine the value of f for the various values of x,y For a domain So that x , y Changing with steps 0.1. for example:

x y f
0.1 0.1  
0.2 0.1  
0.3 0.1  
0.4 0.1  
0.5 0.1  
0.6 0.1  
0.7 0.1  
0.8 0.1  
0.9 0.1  
0.2 0.2  
0.3 0.2  
.:::

f=2*x*(int(sqrt(1+y^2*(t*x-1)^2/(1-(t*x-1)^2)), t = 0 .. 1))    ,0<x<2,   0<y<1,

I want to Determine the value of f for the various values of x,y For a domain So that x , y Changing with steps 0.1. for example:

x y f
0.1 0.1  
0.2 0.1  
0.3 0.1  
0.4 0.1  
0.5 0.1  
0.6 0.1  
0.7 0.1  
0.8 0.1  
0.9 0.1  
0.2 0.2  
0.3 0.2  
.:::

I'm solving a problem described in this topic.

It's sufficient for me to obtain N variable via this manual procedure: file4.mw

However when I want to quantify an expression (f) for any N (e.g. N=40), Maple shows a value with some I variable:

screen

What does it mean?

Hi

Hope somebody can help me! I installed Maple on my computer, but everything is very small , for example the bar in the top with all the small icons. It is the same thing when I make plots. The values on the axes are very small. How can I change this?

I have taken a photo of the problem, don't know if it helps.

Hi

 

f := x->x^2:

AB(f, 0, 5);

But my proc is not true for below example:

f := x -> x^3-2*x;
AB(f, -1, 4);
I think c has two value and it is not true.

How can I add a condition to my proc that c be between a and b (a<c<b)?

 

 

1 2 3 4 5 6 7 Page 1 of 7