MaplePrimes Questions

I've tried every which way to get the Bezier Curves task to work.  I have embedded it in an existing document and in a new one using Tools / Tasks / Bezier Curves, and it doesn't work at all for me.  Sometimes I get errors when I click Initialize (not always), and I never get any reaction from clicking or dragging in the plot.  Is this me or the task?

I also can't see any of the inner workings of the task.  I don't see how the slider connects to the n variable, or how the plot is generated, or where the plot points come from.  Therefore I can't see how to customize the task for my use.

I've seen other Maple documents like this in Help, too.  How do I see and modify the inner workings of these documents?

Below is an attempt to evaluate an integral from t to ZERO.  I believe the issue is that sin(x) in the denominator is causing a problem.  However, in actuality sin(nx) is in the numerator so at the lower integral bound approaching ZERO the factor of n remains.  So how can I get MAPLE to evaluate this correctly?
 

int((2*cos(Pi*x*n/T)^2-1)*sin(Pi*x*n/T)*cos(Pi*x*n/T)/(sin(Pi*x/T)*cos(Pi*x/T)), x = 0 .. t)"(=)"int((2*cos(Pi*x*n/T)^2-1)*sin(Pi*x*n/T)*cos(Pi*x*n/T)/(sin(Pi*x/T)*cos(Pi*x/T)), x = 0 .. t)"="int((2*cos(Pi*x*n/T)^2-1)*sin(Pi*x*n/T)*cos(Pi*x*n/T)/(sin(Pi*x/T)*cos(Pi*x/T)), x = 0 .. t)

``


 

Download evaluating_integral.mw

Hello,

I'm trying to evaluate an integral (code snippet and screen-shot included below) assuming that certain parameters and integers. Using assume statements the integral evaluates to 0. However, if I evaluate the integral for a specific set of integers, the integral evaluates as non-zero.

Can anyone clarify why the two int statements return different values?

Thanks!

assume(K::integer);
assume(L::integer);
assume(M::integer);
int(sin(K*x)*sin(L*x)*cos(M*x), x = 0 .. Pi);
     returns: 0
int(sin(14*x)*sin(2*x)*cos(12*x), x = 0 .. Pi);
     returns: Pi/4

I have the following maple code. 

R11 := x -> (x+2*a_1)*(product(x+b[j], j = 1 .. k-n))/(x+a_1);

T_4 :=  (z_1, z_2, z_3, z_4) -> R11(z_1)*z_2*z_3*z_4;

%*(z_1+a_1);

I would like maple to simplify (z_1+a_1) in the denominator of R11(z_1) with the (z_1+a_1) from the last line, but it does not do that. Simplify command also does not help.

I am trying to learn how to use the Physics tensor routines by using a simple 2D example.  In the following, I set up the Cartesian Euclidean metric tensor and then tried to transform to cylindrical coordinates.  The metric tensor is correctly transformed in line (5), but then when it is called in line (7), it still has Cartesian values.  What am I doing wrong?


with(LinearAlgebra);
DotProduct([a, b], [c, d]);

 

gives

 

Does it think that I want my variables complex conjugated? (And why?) How do i turn it off?

Hello.
I can not find a tool for calculating the number of permutations with fixed points. I looked at the package combinat. Help me please.

Hello,

I have a question: Hw can I add a straight line in the following plot?

2018-01-20_Biegeversuch_Ablauf.mw

Thank you very much!

Martin

Dear sir,

 i want to plot a graph with  tick marks on all sides , i am attaching codes and  a sample graph, see the attachmnent,

The graph range should be displace only on x and y axis and the vaues should not be on opposite to x and y axis

please see the sample graph

restart:
h:=z->1-(delta2/2)*(1 + cos(2*(Pi/L1)*(z - d1 - L1))):
K1:=((4/h(z)^4)-(sin(alpha)/F)-h(z)^2+Nb*h(z)^4):
lambda:=Int(K1,z=0..1):
F:=0.3:
L1:=0.2:
d1:=0.2:
alpha:=Pi/6:
plot( [seq(eval(lambda, Nb=j), j in [0.1,0.2,0.3])], delta2=0.02..0.1);

 

hi everyone
 

I am trying to call the maple function fsolve in the matlab. I have used maple('fsolve(x^2-4)'). It worked.Now in the matlab code I have defined another variable. let us say a = 10.  Now I am trying to call the fsolve as follows.

a=10;

maple('fsolve(a*x^2-1)')

I ended up with the following error :

Error, (in fsolve) number of equations, 1, does not match number of variables, 

could any body help? tnx

How do you way text below

Maple 2015 

if i use function cat() is not 

 

 

Hi, i want to plot stream tubes for the following problem, can anybody help me? Thanks

 

restart;
with(linalg);
Digits := 15;

velocity=[u(r,z),v(r,z),w(r,z)]

u(r,z)=cr, v(r,z)=r*omega, w(r,z)=0 at z=0

eq1:= 2*f(eta)+diff(h(eta),eta)
eq2 := (1/4)*(diff(h(eta),eta))^2-g(eta)*g(eta)-(1/2)*h(eta)*diff(h(eta),eta,eta)+(1/2)*diff(h(eta),eta,eta,eta);

eq3 := -g(eta)*diff(h(eta),eta)+h(eta)*diff(g(eta),eta)-diff(g(eta),eta,eta);

where f(eta), g(eta) and h(eta) are the solution of above system 

bc:=f(0)=1,f (N)=0,h(0)=0,D(h)(N)=0,D(h)(0)=-2,g(0)=R,g(N)=0; where R is constant 

 

Dear All

Is it possible to change the position of labels so that they do not overlap with curves of plots? Please see the attached file in which I want to shift label for vertical axes to slightly left and label for horizontal axes to the slightly right.

Plot_Label.mw

Why does this code return NULL? Which, earlier than 2017 version of Maple differs? What other Maple function could be used in place of eliminate for the general case?

 

eliminate({x[5] = x[2] / x[1], x[6] = x[3] / x[2], x[7] = x[1] / x[4], x[8] = (2 * x[2] + x[4]) / (2 * x[1] + x[3] + x[4])}, {x[1], x[2], x[3], x[4], x[8]});

 

In piecewise notation (real math symbol), how I could add more cases?

First 882 883 884 885 886 887 888 Last Page 884 of 2434