Quantcast
Channel: MaplePrimes - Questions and Posts tagged with 2dmath
Viewing all 303 articles
Browse latest View live

annoyance bug using single quote in division

$
0
0

A bit of an annoyance. 

typing 'numerator' / 'denominator' generates an error.  The first quote never gets automatically grouped as it should.

Two workarounds.  The first is to move to, and delete the first quote and re-enter it again in front of numerator.
The second is to use brackets, although one shouldn't have to.


Is there a way to make Maple output display explicit multiplcations signs?

$
0
0

Hi there,

I'm new here. My first question:

Is there a way to make Maple output display explicit multiplcations signs in 2D-math?

Example:
When you enter 5*2^x Maple will output 5*2^x. Is there a way to make Maple display the multiplications signs in output in stead just implicit multiplication signs (i.e. whitepaces)? (I would settle for Maple display all multiplication signs in output - not just the ones which are made explicit in the input.)

I searched this site. No luck. I looked into "Typesetting Rule Assistant", but I couldn't find a way to alter the output of multiplication sign (*).

Can you guys help me?

Kind Regards,

Jens

 

P.S.: I'm a teacher from Denmark. We use Maple before college/university for a lot of pupils. Some less competent pupils have a tendency to overlook the whitespace.

"expand" command does not act as it should

$
0
0

Hello!

I am working with the Maple 18.02 version. I just want want to perform a basic polynomial expansion using the command "expand" and it does not respond as it should according to what Maple Programming Help says it would. For example:

Maple Programming Help says:

I get:

.

Also, one sees that this isn't even true, as x(x+2) + 1 = x^2 +2x +1, which is not equal to x^2 + 3x +2.

Moreover, maple tells me it is equal..:

What is going on here? I woul like to get the full expanded form (without factors). Also, this is obviously not true, or maybe Maple means something else by x(x+2) +1...

Thank you!

How to label a big math expression on vertical axis ?

$
0
0

How to label in inline math mode. I tried labels = ['theta', Typesetting:-Typeset(cos(1/theta)/sqrt(1-theta^2))] which gives a big expression on Y axis spreaded in two lines. But i want to label one line as in latex $\cos(1/\theta)/sqrt(1-\theta^2))$ . Is there a way to do it ?

error writing diff. equ.

$
0
0

i am trying to write the differential equation 

u_{t}=u_{xx}+2u^{2}(1-u) in my maple 15. 

but it shows error,

Error, empty number and  1 additional error.
 

What does this syntax for assigning names to variables mean?

$
0
0

I'm new to maple and I'm trying to write code in worksheet mode with some source code I have, I don't understand some of the syntax though, like the next:

m,  mass
r,  radius

J=m*r^2; Inertia

 

m and r are variables, so does this syntax mean that after the comma I set a name or label to the variables? because I tried to follow the same logic with 2d input math but it doesn´t work.
 

plot a equation with complex in bessel function.

$
0
0

hello experts,

I was using maple for a physical  problem,

and things turned very complicated with a equation with bessel function in it,

like this BesselI(1, (0.9067480359e-2+0.9067480359e-2*I)*sqrt(f))andBesselI(0., (0.9067480359e-2+0.9067480359e-2*I)*sqrt(f)),

which include complex,

the whole equation is as followed:

the variable is f and RV,,dependent variable is RV.

how am I supposed to plot RV when f=100..4000?

it is certain RV has real part and imaginary part,maybe i need a 3Dplot?

please let me know if you have any idea.

best regards,


 

-7.873519774*10^18*RV^4+(2.676513624*10^12-3.842712573*10^15*(-1)^(3/4)*BesselI(1, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))/(Pi*sqrt(f)*BesselI(0, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))*(4+623.8617593*(-1)^(3/4)*BesselI(1, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))/(BesselI(0, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))*sqrt(f)))))*RV^2+80864.83845+1.440831316*10^9*(-1)^(3/4)*BesselI(1, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))/(Pi*sqrt(f)*BesselI(0, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))*(4+623.8617593*(-1)^(3/4)*BesselI(1, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))/(BesselI(0, 0.1282335370e-1*(-1)^(1/4)*sqrt(f))*sqrt(f)))) = 0
 

want to plot the relationship between RV and f,but how?

 

complexplot(RV, f = 100 .. 4000, labels = ["Re", "Im"])

complexplot(RV, f = 100 .. 4000, labels = ["Re", "Im"])

(1)

NULL


 

Download bessel_in_equation.mw

 

why this error message? Error, (in forget) lexically scoped parameter out of context

$
0
0

the following code results in an error message: Error, (in forget) lexically scoped parameter out of context

If I click on this error message, it brings me to a page which I visited too often.

if I uncomment the irrelevant minimize command, the error message disappears.

How can I prevent this error without giving irrelevant commands?

kind regards,

Harry Garst


Maple 2017 formatting issues ?

$
0
0

Hello all, 

 

This is my first time with Maple, I have been a student of Mathematica for 7 years. I purchased Maple to learn a new software and I have heard great things about it. I somehow dont feel the flexibility of Mathematica in Maple documentations. It seems to be a bit constrained and not very straight forward in some aspects. Please correct me if I am wrong and also point out to tutorials or documents that I should be looking at before nose diving into Maple.

worksheet example here: 

I have faced 2 simple problems which I think is a bug in some form, or I may be wrong. Please advise.

  1. How do I insert Equation 7 before Equation 6? The worksheet wont let me do it.
  2. Why are 'and' and 'in' bolded automatically in SECTION format?

"expand" command does not act as it should

$
0
0

Hello!

I am working with the Maple 18.02 version. I just want want to perform a basic polynomial expansion using the command "expand" and it does not respond as it should according to what Maple Programming Help says it would. For example:

Maple Programming Help says:

I get:

.

Also, one sees that this isn't even true, as x(x+2) + 1 = x^2 +2x +1, which is not equal to x^2 + 3x +2.

Moreover, maple tells me it is equal..:

What is going on here? I woul like to get the full expanded form (without factors). Also, this is obviously not true, or maybe Maple means something else by x(x+2) +1...

Thank you!

Invalid operator parameter

$
0
0

I'm defining forces. The only thing I changed is x to y for one particular piece of an equation. I copied and pasted it so I don't see why it's not working.

opparam_fail.mw

Maple 2017 formatting issues ?

$
0
0

Hello all, 

 

This is my first time with Maple, I have been a student of Mathematica for 7 years. I purchased Maple to learn a new software and I have heard great things about it. I somehow dont feel the flexibility of Mathematica in Maple documentations. It seems to be a bit constrained and not very straight forward in some aspects. Please correct me if I am wrong and also point out to tutorials or documents that I should be looking at before nose diving into Maple.

worksheet example here: 

I have faced 2 simple problems which I think is a bug in some form, or I may be wrong. Please advise.

  1. How do I insert Equation 7 before Equation 6? The worksheet wont let me do it.
  2. Why are 'and' and 'in' bolded automatically in SECTION format?

Delete a row you added in a piecewise function

$
0
0

How do you delete a row you added in a piecewise function. I was using 2D math input for the piecewise function and I decided not to have the third row at all. Deleting the content of the last row left a space but never removed the entire empty line. Executing it resulted in an error.

The manual only says how to add a row using CTRL + SHIFT + R, but not how to delete a row.

Any advise?

What does this syntax for assigning names to variables mean?

$
0
0

I'm new to maple and I'm trying to write code in worksheet mode with some source code I have, I don't understand some of the syntax though, like the next:

m,  mass
r,  radius

J=m*r^2; Inertia

 

m and r are variables, so does this syntax mean that after the comma I set a name or label to the variables? because I tried to follow the same logic with 2d input math but it doesn´t work.
 

bad calculation about Determinant


Maple 2017 Copying matrix gives _rtable

$
0
0

Hey there. 

I recently had to install maple 2017, because the licensens for 2016 had expired. 

And in the new version, whenever i want to copy a matrix from a result, it gives me an _rtable, and a number. The result is the same, but it makes it harder to read and i am not able to edit values in this copied matrix. 

How do i change this?

Numeric evaluation with Units

$
0
0

Hi!

I have solved an ODE and defined some physical values with Units.

Now i want to calculate the speed at a time of 120s for example, but the evalustion does not show a result.

I want to have a result like ve=63m/s for example and  not ve=v(120s)

Further more if calculating the complete worksheet, the diagramm settings are set to default and i can not see the curve like before. Is there a way to keep user defined settings?

Has somebody an idea what's going wrong?

Calculating completely without units works.

Thank you in advance

Volker
 

"v(t):=(tanh((t sqrt(F) sqrt(c)+arctanh((`v__0` sqrt(c))/(sqrt(F))) `m__0`)/`m__0`) sqrt(F))/(sqrt(c))"proc (t) options operator, arrow; tanh((t*sqrt(F)*sqrt(c)+arctanh(v__0*sqrt(c)/sqrt(F))*m__0)/m__0)*sqrt(F)/sqrt(c) end procNULL

F := 2800Unit('N') = 2800NULL

 

c := .7*Unit('kg'/'m') = .7*Units:-Unit(kg/m)NULL

 

m__0 := 1400*Unit('kg')= 1400*Units:-Unit(kg)NULL

NULL

v__0 := 10*Unit('m'/'s')

10*Units:-Unit(m/s)

(1)

v(t)"->"

v__e := v(120*Unit('s'))

``

``

v__e = v(120*Units:-Unit(s))NULL

``


 

Download Berechnungen.mw

 

different answers to same command

Maple code input drifts right

$
0
0

Hi quick question.  When I am writing in maple 2D input the next line seems to add a space and I have to manually go and take the spaces out.  Is there a quick fix for this?  

Thank you.

"Almost Artistic" erroraneous maple output

$
0
0

My interface has frozen, but above is a screen shot of what is by far the most unusual response from the CAS in the i guess 8 or so years ive been using it in total.

 

*updated situation its allowing me to interrupt evaluation

Viewing all 303 articles
Browse latest View live


Latest Images