ThU

891 Reputation

13 Badges

14 years, 131 days

MaplePrimes Activity


These are answers submitted by ThU

asd*~asf

 

see ?operators,elementwise for more information

You have a fourth root in your expression, not a square root. A mistake? I see sqrt and ^(1/2) in the same expression. And its form is k*(a+b^(1/4)), you probably wouldn't want to expand this big expression further

patmatch(f1, k::algebraic*(XT::algebraic+YT::algebraic^(1/4)), 'q1');q1;

 

f := (4*x^2+3)/exp(-x)+sqrt((2-sin(x))/(x^2+1));

patmatch(f, a::algebraic+sqrt(b::algebraic), `s`); s;

 

We can declare variables to be noncommutative to Multiplication with the Physics package:

restart:with(Physics):
Setup(noncommutativeprefix={x,y,q});

f:= x*y^n-q^n*y^n*x;

eq1 := x*y-q*y*x = 1;

 

#Edit: my attempt to solve below is wrong because solve does not respect the noncommutativity property of x,y,q.

solve(eq1, x);Factor(%);eval(f,x=%);

see https://www.maplesoft.com/products/maple/new_features/maple2016/interface.pdf

after cntrl-T, write your text and use shift-F5 for formulas, which will not be executed

I also wished there would be a way to have control over auto simplification. Another stick-and-bubblegum-solution:

restart; 
`%*`(1/3, 3*Matrix([[1/3, 1/3], [1/3, 1/3]]));
value(%);

 

 

Maple 17 is not officially supported on Windows 10, but it should work. It does not matter if Home or Pro.

p := plots:-fieldplot3d([sin(x), sin(y), sqrt(sin(x)^2+sin(y)^2)], x = -1 .. 1, y = -1 .. 1, z = -1 .. 1);
f := plottools[transform]((x, y,z) -> [x, y, 0]):
plots[display](f(p));

plot suggests that there is only 1 solution:

plot([exp(-xi*Pi/sqrt(-xi^2+1)),1.15],xi=-1..1,y=0..2);

 

If you want to round all calculations globally, go to Tools->Options->Precision and set the tickmarks.

just place the cursor behind the last word -Gamma- and press shift+enter

see

?plot,options

f:=a*x;

Explore(plot(f,x=-10..10,y=-10..10,scaling=constrained),parameters=[a=-5.0..5],initialvalues=[a=0]);

or as fuction call:

 f := (a,x)->a*x;

Explore(plot(f(a, x), x = -10 .. 10, y = -10 .. 10, scaling = constrained), parameters = [a = -5.0 .. 5], initialvalues = [a = 0])

You need to show you code. Either copy it as text here or upload your worksheet.

.

 

plot(sin(x-1), labels = [`cm`^`-1`, y])

 

 

.

First 6 7 8 9 10 11 12 Last Page 8 of 18