Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How to display  3 figures (matrixplot(A),matrixplot(B),matrixplot(C)) in a row  

plots:-matrixplot(A):

plots:-matrixplot(B):

plots:-matrixplot(C):

thanks in advance

Can anyone help me with the question? Keep getting the error. I don't know what is going on. Thank you in advance.

QUESTION_6.docx
 

Loading Student:-Calculus1

``

f := proc (x) options operator, arrow; (x-1)^2 end proc

proc (x) options operator, arrow; (x-1)^2 end proc

(1)

g := proc (x) options operator, arrow; x+1 end proc

proc (x) options operator, arrow; x+1 end proc

(2)

Pi*(int((f(x)-4)^2-(g(x)-4)^2, x = 0 .. 3))

(108/5)*Pi

(3)

``Error, (in plot) incorrect first argument HFloat(2.0)-HFloat(7.504824013780844e-232)*I

``


 

Download Question_6_maple.mw

 

matrixplot(A, style=surface,axes=normal, lightmodel=light2, labels=["n","d","C"], heights=histogram, gap=0.00000000000000000001, colorscheme=["xyzcoloring", (x,y,z)->x*y*z]);

 

For a matrix about 500x70. It doesn't seem that it should crap out with such a small matrix to plot. Maple seems to be slow in general even small plotting of 3D things. Specifically I'm talking about rendring and rotating.

Hi everybody:

I have an equation that attached with this question and my goal is to solve it, how can do it?

Note: in this equation must be considered 49.32883964 <= x and x is real.

solve_equation.mw

 

 

Hello all

 

I need to calculate the distance L in a curvefitting. The calculation has been made in MathCAD and I need to copy it in Maple, but I cant seem to make it solve.

Here are the two pictures of my problem:

 

In MathCAD:

In Maple:

 

Here is the copy of Maple:

V[Ed13] := [257.184, 230.4, 184.3, 138.2, 92.2, 46.1, 0];
 = 
    V[Ed13] := [257.184, 230.4, 184.3, 138.2, 92.2, 46.1, 0]


x[12];
 = 
            [-149, 208, 567, 925, 1283, 1642, 2000]

L[1] := x[13];
 = 
         L[1] := [0, 358, 717, 1075, 1433, 1792, 2150]


solve(V[Rdc] = CurveFitting:-ArrayInterpolation(x[12], V[Ed13], L[1]), L[1]);
 = 
Error, invalid input: solve expects its 1st argument, eqs, to be of type {`and`, `not`, `or`, algebraic, relation(algebraic), ({list, set})({`and`, `not`, `or`, algebraic, relation(algebraic)})}, but received 153.25 = [HFloat(246.00524369747902), HFloat(211.1381615598886), HFloat(164.98435754189944), HFloat(118.92625698324022), HFloat(72.93816155988858), HFloat(26.784357541899443), HFloat(-19.315642458100548)]

Find 
L[1];


Answer should be 808
 

 

Hope someone can help as I honestly have no idea how to do this :-)

Hi, 

Moving the sliders clean the plot.
Does any one can show me how to fix this (PS: this piece of code is a part of a procedure whose arguments are RV and SliderRanges and I need this unusual coding to make the procedure generic ... at least I guess so)

Thanks in advance


 

restart:

interface(version);

`Standard Worksheet Interface, Maple 2015.2, Mac OS X, December 21 2015 Build ID 1097895`

(1)

with(Statistics):

RV   := RandomVariable(Normal(a, b)):
law  := [attributes(RV)][3]:
pars := law:-Parameters;

[a, b]

(2)

SliderRanges := [-5.0..5.0, 1.0..3.0]:
[seq(pars[k]=SliderRanges[k], k=1..numelems(pars))]

[a = -5.0 .. 5.0, b = 1.0 .. 3.0]

(3)

f := PDF(RV, x);
# Explore(plot(f, x=-3..3), parameters=[seq(pars[k]=SliderRanges[k], k=1..numelems(pars))]);

(1/2)*2^(1/2)*exp(-(1/2)*(x-a)^2/b^2)/(Pi^(1/2)*b)

(4)

 


 

Download Explore_Problem.mw

I want to calculate the below triple integral numerically. I tried different methods and reduced accuracy but nothing works.

Anyone capable?

Thanks

 

restart;
Digits := 15;
with(VectorCalculus);
v1 := <0, 0, 1>;
v2 := <sin(theta2), 0, cos(theta2)>;
v3 := <VectorCalculus:-`*`(sin(theta3), cos(phi3)), VectorCalculus:-`*`(sin(theta3), sin(phi3)), cos(theta3)>;
v1v2 := CrossProduct(v1, v2);
v2v3 := CrossProduct(v3, v2);
DotProduct(v1v2, v2v3);
(simplify(VectorCalculus:-`*`(%, VectorCalculus:-`*`(Norm(v1v2), Norm(v2v3))^VectorCalculus:-`-`(1))) assuming (0 < theta2, theta2 < Pi, 0 < theta3, theta3 < Pi));
evalf(VectorCalculus:-`*`(Int(VectorCalculus:-`*`(arccos(%), sin(theta3)), [theta2 = 0 .. Pi, theta3 = 0 .. Pi, phi3 = 0 .. VectorCalculus:-`*`(2, Pi)], epsilon = 0.001, method = _d01akc), VectorCalculus:-`*`(VectorCalculus:-`*`(VectorCalculus:-`*`(VectorCalculus:-`*`(VectorCalculus:-`*`(2, Pi), 2), Pi), 4), Pi)^VectorCalculus:-`-`(1)));

Hi,

I am new to Maple. I am attempting to find the asymptotic expression for the confluent Heun function (HeunC) under certain set of parameters (i.e. still symbolic and possibly complex, but less parameters compared to the general case).

From the literature, it seems that for certain cases there are such closed analytic expressions.

Is it possible to find such in Maple? I tried using "asympt", which gave me a generic error (...unable to compute series).

Thank you very much.

Hey there

I have noticed that after some time, Maple freezes and says in the bottom left corner that it is "evaluting" when I  copy something. This is becoming unbearable, as it makes every assignment take a lot longer. Why is this happening, and how can I prevent it?

Hi

I need your help with this problem. The date protocol here in the antipodes is day/month/year.

I get this error...Maybe there is an alternative.

does_not_evaluate.mw

 

Hi i want to perform double looping for different values of i and j as follows.. when i remove the summation sign it works, but no output obtained otherwise.

 

for j from 0 to 4, for i from 1 to 4 do u[i,1]:=-h*(&sum;)int(K2ij*gj(t),t=0..x)od;

 

Each K2ij and gj(t) have their own values defined above in the worksheet.

hello this is so simple, and so essentiel in mathprograms, but i cannot get it to work.

how do i run two list through a function that needs both variables.

i am gessing a "for loop" is the solution, but i dont really care if its a loop or not, just i am getting a solution to the problem.

the two list is of equal lengt.

example:

my variables

A:=[1,2,3,4,5,6,7,8,9,10]:

B:=[10,20,30,40,50,60,70,80,90,100]:

my function

C:=A*E/4*pi*B

E is a konstant, in this case E=5

Need

so i want another list object. D to contain all the results from the calculation. as a list.

so D:=[]  needs to be filled with result.

for every run/calculation it takes, one of each of the variables F.ex.

C:=1*E/4*pi*10 and insert into the list D,

then C:=2*E/4*pi*20 and insert into the list D

then C:=3*E/4*pi*30 and insert into the list D.

and so on.

 

thx in advance

 

Can someone show me how to increase the font size in the button? 

I branched from here https://www.mapleprimes.com/questions/228527-Code-For-A-Clock-Within-Maple -- no auto links inserted. 

Hello, I have a question about converting an output of a expression into another.

solve({-1 < x, 0 < 2*x/(x^2 - 1), x < 1}, {x})

This is my expression which evaluates into: solve({-1 < x, 0 < 2*x/(x^2 - 1), x < 1}, {x}). Which is correct but I would like it to be a classic range, more precisely (-1,0).

Is there a command to do that?

Thanks,

David.

I am looking to solve the following ode numerically for different values of w, 

diff(y(x),x)^2=y(x)^(-3w-1), along with the intial condition y(1)=1. 

i have tried to solve this for w=-1/3 and w=0 but i am getting the error:

Error, (in DEtools/convertsys) unable to convert to an explicit first-order system

I believe it probably has something to do with the fact that the first derivative is squared but i dont know how to procede with fixing that. 

 

Any help would be greatly appreciated. 

First 479 480 481 482 483 484 485 Last Page 481 of 2097