Items tagged with 2dmath 2dmath Tagged Items Feed

I wondering if it is able to create a new symbol in maple, like it is possible to create a custom snippet in the pallets. Speceficly I am asking how to create a new symbol/charachter for 2D math. So if anyone knows please tell me :)

Hey 

 

I just went from maple 18 to maple 2016. I use maple as a writing program aswell for notes and school.

 

I realized that maple 2016 does output lines when writing math in a textbox. This is kind of annoying since notes in chemistry is not allways a true mathematical expression. Therefore maple complains. Is there anyway to change this? 

Andreas

I'm sorry for asking too many similar technical questions, but I just can't help this.

I'm solving a system of differential equations with dsolve and getting this type of error:

Error, (in f) unable to store 'HFloat(0.10664489706950975)+HFloat(1.1891638418458722e-5)*sin^2-HFloat(1.6095871822513048e-6)*sin' when datatype=float[8]

I checked the dsolve syntax, checked that all the constants are defined, checked that the number of equations matches the number of unknown functions (and there is no misprints of them in the code). In brief, I checked all the stuff that I usually have mistakes in, and yet the error stands. 

Here's the file: 1.mw

Given that I use Maple as a student I've had to update to the newest version to keep using Maple.

However I find I have a lot of problems with the new version.

 

Normally when I write an assignement or work on the given problems I use worksheet mode because it is the best mode to spot any mistakes, and I've grown accostumed to it.

 

My problem however is when I have to use text.

 

Normally I've hit CTRL+T to get Maple to recognize that I write text, whereupon I write the given assignment, and press CTRL+J for when I want to go on and write some math. However we do have a little issue about the symbols.

 

Since I am an engineering student we use a lot of greek letters, and in this case I bring up sigma. In the "old" Maple I pressed F5 to get into math, write the symbol I wanted, pressed F5 again to get back to text and keep writing. In Maple 2016 however I do the same and then at the end of the text paragraph maple spits out lines of blue text with all of the "math" that I have written.


So my question is thus: Can I stop Maple from giving me the blue text, or perhaps is there another way to type symbols without having to go into math?

how can active that math mode not run in maple 2016

 

ANALYSIS AND DESIGN OF MACHINE FOUNDATION

 


restart

Loading Optimization

 

Loading LinearAlgebra  

 

Loading plots  

with(ScientificConstants):

Loading DynamicSystems  

with(Units:-Standard)

with(Units:-Natural)

with(StringTools)

FormatTime("%m-%d-%Y, %H:%M")

FormatTime("%m-%d-%Y, %H:%M")

(1)

NULL

Introduction

 

This document deals with vibration analysis and design of machine foundations subjected to dynamic load.

NULL

NULL

NULL

NULL

GetConstant(g);

standard_acceleration_of_gravity, symbol = g, value = 9.80665, uncertainty = 0, units = m/s^2

(2)

g__SI := evalf(Constant(g, system = SI, units))

9.80665*Units:-Unit(('m')/('s')^2)

(3)

NULL

Richart and Lysmer's Model

 

Richart et al. (1970) idealised the foundation as a lumped mass supported on soil which is idealised as frequency independent springs which he described in term of soil parameter

dynamic shear modulus or shear wave velocity of the soil for circular footing when footings having equivalent circular radius. The Tables below shows the different values of spring and damping vlaues as per Richart and Lysmer.

NULL

In which, G = dynamic shar modulus of he soil and is given G = `ρ__s`*V__s^2 ; ν = Piosson's ratio of the soil; ρs = mass density of the soil; Vs = shear wave velocity of the soil obtained

from soil testing; g = acceleration due to gravity; m = mass of the machine and foundation; J = mass moment of inertia of the machine and foundation about the appropriate axes; K = equivalent spring stiffness of the soil; C = damping value of the soil; B = interia factor contributing to the damping factor; D = damping ratio of the soil; r = equivalent radius of a circular foundation; L = length of foundation, and B = width of the foundation.

NULL

NULL

NULL

Sketch

 

NULL

NULL

NULL

NULL

nu := .25

Table : Values of soil springs as per Richart and Lysmer (1970) model

 

NULL

NULL

SI No.

Direction

Spring value

Equivalent radius

Remarks

1

Vertical

K__z = 4*G*r__z/(1-nu)"(->)"

r__z = sqrt(L*B/Pi)"(->)"

This is in vertical Z direction

2

Horizontal

K__x = (32*(1-nu))*G*r__x/(7-8*nu)
"(->)"

r__x = sqrt(L*B/Pi)"(->)"

This induce sliding in horizontal X

2.1

Horizontal

K__y = (32*(1-nu))*G*r__y/(7-8*nu)
"(->)"

r__y = sqrt(L*B/Pi)"(->)"

This induce sliding in horizontal Y

3

Rocking

`K__φx` = 8*G*`r__φx`^3/(3*(1-nu))"(->)"

`r__φx` = (L*B^3/(3*Pi))^(1/4)"(->)"

This produces roxking about Y axis

3.1

Rocking

`K__φy` = 8*G*`r__φy`^3/(3*(1-nu))"(->)"

`r__φy` = (L^3*B/(3*Pi))^(1/4)"(->)"

This produces roxking about X axis

4

Twisting

`K__ψ` = 16*G*`r__ψ`^3*(1/3)"(->)"

`r__ψ` = ((B^3*L+B*L^3)/(6*Pi))^(1/4)
"(->)"

This produces twisting about vertical Z axis

 

NULL

NULL

NULL

NULL

NULL

Table : Values of soil damping as per Richart and Lysmer (1970) model

 

NULL

SI No.

Direction

Mass ratio (B)

Damping ratio and Damping values

Remarks

1

Vertical

B__z = .25*m__U*(1-nu)*g__SI/(`ρ__s`*r__z^3)
"(->)"

`ζ__z` = .425/sqrt(B__z)"(->)"C__z = 2*`ζ__z`*sqrt(K__z*m__U)"(->)"

This damping value is in vertical Z direction

2

Horizontal

B__x = (7-8*nu)*m__U*g__SI/((32*(1-nu))*`ρ__s`*r__x^3)
"(->)"

`ζ__x` = .288/sqrt(B__x)"(->)"

C__x = 2*`ζ__x`*sqrt(K__x*m__U)"(->)"

This damping value is in lateral X direction

2.1

Horizontal

B__y = (7-8*nu)*m__U*g__SI/((32*(1-nu))*`ρ__s`*r__y^3)
"(->)"

`ζ__y` = .288/sqrt(B__y)"(->)"

`ζ__y` = .288/((2.145204688-2.451662500*nu)*m__U*Units:-Unit(('m')/('s')^2)/((1-nu)*`ρ__s`*(L*B/Pi)^(3/2)))^(1/2)

(5.1)

NULLError, invalid left hand side in assignmentError, invalid left hand side in assignment

`ζ__ψ` = .5/(1+117.6798000*`J__ψ`*Units:-Unit(('m')/('s')^2)*6^(1/4)/(`ρ__s`*((B^3*L+B*L^3)/Pi)^(5/4)))

(5.2)

C__y = 2*`ζ__y`*sqrt(K__y*m__U)"(->)"

This damping value is in lateral Y direction

3

Rocking

`B__φx` = (.375*(1-nu))*`J__φx`*g__SI/(`ρ__s`*`r__φx`^5)
"(->)"

`ζ__φx` = .15/((1+`B__φx`)*sqrt(`B__φx`))
"(->)"

`ζ__φx` = .15/((1+11.03248125*(1-nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))*((11.03248125-11.03248125*nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))^(1/2))

(5.3)

Error, invalid left hand side in assignmentError, invalid left hand side in assignmentNULLError, invalid left hand side in assignment

.15/((1+11.03248125*(1-nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))*((11.03248125-11.03248125*nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))^(1/2)) = .15/((1+11.03248125*(1-nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))*((11.03248125-11.03248125*nu)*`J__φx`*Units:-Unit(('m')/('s')^2)*3^(1/4)/(`ρ__s`*(L*B^3/Pi)^(5/4)))^(1/2))

(5.4)

`C__φx` = 2*`ζ__φx`*sqrt(`K__φx`*`J__φx`)"(->)"

NULL

This damping value is for rocking about Y direction

3.1

Rocking

`B__φy` = (.375*(1-nu))*`J__φy`*g__SI/(`ρ__s`*`r__φy`^5)
"(->)"

NULL

`ζ__φy` = .15/((1+`B__φy`)*sqrt(`B__φy`))
"(->)"

.15/((1+`B__φy`)*`B__φy`^(1/2)) = .15/((1+`B__φy`)*`B__φy`^(1/2))

(5.5)

`C__φy` = 2*`ζ__φy`*sqrt(`K__φy`*`J__φy`)"(->)"

NULL

This damping value is for rocking about X direction

4

Twisting

`B__ψ` = `J__ψ`*g__SI/(`ρ__s`*`r__ψ`^5)"(->)"

`ζ__ψ` = .5/(1+2*`B__ψ`)"(->)"NULLError, invalid left hand side in assignmentError, invalid left hand side in assignmentNULLError, invalid left hand side in assignmentNULLError, invalid left hand side in assignment

.5/(1+117.6798000*`J__ψ`*Units:-Unit(('m')/('s')^2)*6^(1/4)/(`ρ__s`*((B^3*L+B*L^3)/Pi)^(5/4))) = .5/(1+117.6798000*`J__ψ`*Units:-Unit(('m')/('s')^2)*6^(1/4)/(`ρ__s`*((B^3*L+B*L^3)/Pi)^(5/4)))

(5.6)

`C__ψ` = 2*`ζ__ψ`*sqrt(`K__ψ`*`J__ψ`)"(->)"NULL

``

NULL

This damping value is valid for twisting about vertical Z axis

 

NULL

NULL

NULLNULL

(4)

``

NULL

Vertical Motion Considering damping of the Soil

 

For vertical direction the equation becomes that of a lumped mass having single degree of freedom when

deq := m__U*(diff(z(t), t, t))+'C__z'*(diff(z(t), t))+'K__z'*`#mi("z")` = P__0*sin(`ω__m`*t)

m__U*(diff(diff(z(t), t), t))+C__z*(diff(z(t), t))+K__z*`#mi("z")` = P__0*sin(`ω__m`*t)

(6.1)

NULL

t1 := subs(P__0*sin(`ω__m`*t)/m__U = F, expand(deq/m__U));

diff(diff(z(t), t), t)+1.085721853*(G*(L*B/Pi)^(1/2)*m__U/(1-nu))^(1/2)*(diff(z(t), t))/(m__U*(m__U*Units:-Unit(('m')/('s')^2)/(`ρ__s`*(L*B/Pi)^(3/2))-m__U*Units:-Unit(('m')/('s')^2)*nu/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2))+4*G*(L*B/Pi)^(1/2)*`#mi("z")`/(m__U*(1-nu)) = F

(6.2)

NULL

(6.3)

By algebraically manipulating the expression, the form traditionally used by engineers is derived:

t2 := algsubs('C__z'/m__U = 2*zeta*omega, t1)

diff(diff(z(t), t), t)-(-1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))*nu+1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))+4.*G*(L*B/Pi)^(1/2)*`#mi("z")`*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2))/((nu-1.)*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2)*m__U) = F

(6.4)

NULL

t3 := algsubs('K__z'/m__U = omega^2, t2)

diff(diff(z(t), t), t)-(-1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))*nu+1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))+4.*G*(L*B/Pi)^(1/2)*`#mi("z")`*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2))/((nu-1.)*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2)*m__U) = F

(6.5)

This form includes the damping ratio , the natural frequency , and the external forcing term .  Consider only free vibration by setting

gen3 := subs(F = 0, t3)

diff(diff(z(t), t), t)-(-1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))*nu+1.085721853*(-G*(L*B/Pi)^(1/2)*m__U/(nu-1))^(1/2)*(diff(z(t), t))+4.*G*(L*B/Pi)^(1/2)*`#mi("z")`*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2))/((nu-1.)*(-Units:-Unit(('m')/('s')^2)*(nu-1)*m__U/(`ρ__s`*(L*B/Pi)^(3/2)))^(1/2)*m__U) = 0

(6.6)

NULL

sol1 := dsolve({gen3, z(0) = P, (D(z))(0) = V}, z(t))

z(t) = -(1000000000/1178791942081753609)*Pi*m__U*exp(-(1085721853/1000000000)*Units:-Unit(('s')/('m')^(1/2))*t/(Pi*((nu-1)^2/(`ρ__s`*L^2*B^2*G))^(1/2)*m__U))*(1085721853*V*Units:-Unit(('s')/('m')^(1/2))*((nu-1)^2/(`ρ__s`*L^2*B^2*G))^(1/2)*`ρ__s`*L^2*B^2-4000000000*(L*B/Pi)^(1/2)*Pi*nu*`#mi("z")`+4000000000*`#mi("z")`*Pi*(L*B/Pi)^(1/2))/(Units:-Unit(('s')/('m')^(1/2))^2*B^2*L^2*`ρ__s`)+(4000000000/1085721853)*`#mi("z")`*G*Pi*(L*B/Pi)^(1/2)*((nu-1)^2/(`ρ__s`*L^2*B^2*G))^(1/2)*t/((nu-1)*Units:-Unit(('s')/('m')^(1/2)))+(1/1178791942081753609)*(1085721853000000000*V*Units:-Unit(('s')/('m')^(1/2))*Pi*((nu-1)^2/(`ρ__s`*L^2*B^2*G))^(1/2)*m__U*`ρ__s`*L^2*B^2+1178791942081753609*Units:-Unit(('s')/('m')^(1/2))^2*P*`ρ__s`*L^2*B^2-4000000000000000000*(L*B/Pi)^(1/2)*Pi^2*m__U*nu*`#mi("z")`+4000000000000000000*`#mi("z")`*Pi^2*(L*B/Pi)^(1/2)*m__U)/(B^2*L^2*`ρ__s`*Units:-Unit(('s')/('m')^(1/2))^2)

(6.7)

NULL

NULL

 

Download Analysis_and_Design_of_Machine_Foundations_1.mw

Good Morning Mapleprime Community,

Would anybody please help in the attached worksheet. I'm trying to use the new function in Maple that is the clicable method, but I was having problem in some of my output such as zeta_y and zeta_phi as this two equations are generating an error message.

 

Regards,

Moses

Hello there! Maple 2016.1 sometimes gets crasy about parsing input strings. I managed to capture this behaviour in the attached file. It looks like below. I am not sure what exactly triggers it. It just starts happening all of a sudden. What might be the cause...? 

 

"1 Pi"

Error, incorrect syntax in parse: `;` unexpected (near 4th character of parsed string)

"1 Pi"

 

"Pi/(2)"

Error, invalid semantics "π"

"Pi/2"

 

"1"

Error, incorrect syntax in parse: `;` unexpected (near 4th character of parsed string)

"1"

 

``

 

Download test.mw

In workbook mode I use the Insert>>Paragaph>>Before Cursor to create a text block. I just want to type text into this block by way of comments on what preceded/follows. However, when I type parentheses or <> of (I expect) other stuff that Maple recognises as being parts of mathematical expressions Maple switches to italic and bold and starts generally interefering with my text. In the case of my title I get the result in the picture below. Is there any way to stop Maple doing this so I can type text?

 

Here is my Maple 16 code:

 I expected to get outuput

a [a,b,c]

a [a,c,b]

But I get no output.

Why?

 

 

 

So I am trying to apply the Optimization function to a rather complicated problem I am currently working on, and having some trouble getting maple to cooporate. This is the part of the code that is giving me the error, with error included. All of the variables imputtet when calling OptimizeSpring are constants. If there is any other details I should add, please say so and I will add them promptly :) Thanks alot!
Maple problem

I suspect that it might be related to this suggestion, but I am not sure how to apply it http://www.mapleprimes.com/posts/95113-Optimization-Workaround-For-Operator-Form

HI,

 

wondered if anyone knows how to make proper use of the large operators pallete on the list of pallettes on the left. For example when using the contour integration symbol on the left how do you enter the delimiters. 

I always get the error: "Error, unable to match delimiters". The help on this is not useful for this case. 

 

Thanks. 

 

Error, invalid piecewise

but

is OK.

Hi. I have this strange error.

Whenever I type D(f)(x) into the maple prompt, the program adds a whitespace between D(f) and (x), so I get the wrong output. I have to go back and delete the space manually. Here is a picture. http://prntscr.com/8vji4k

I type 'D(f)(x)'  and the software displays 'D(f) (x) ' in the prompt, with the extra space.

I am using maple 2015 if that helps, but I think I had the same error with Maple 18

I did not add a space. I literally just entered f:=x->x^2 -3*x + 2; D(f)(x)

but the computer adds a space as I type D(f)(x).

Also I'm not sure why the space ruins the expression

What i am supposed to get is  ' 2x - 3 '

Greetings,

I am a Maple 15 Student Edition user on both Windows and Linux. I wonder if it is possible to see the actual command send to Maple when I click on a particular entry in the right click context menu. If it is possible to do so, how can I have it displayed in document/worksheet mode? Does it matter if I am inputting in 1D or 2D?

Thanks in advance

i have the following equation:

1.003225155^(l)-((&int;)[0]^1[((((0.6 r^2+1)^1.813666667)/((0.375 r^2+1)^2.666666667))^())^(l)r &DifferentialD;r)=0

 

and throws me the error:

Error, Got internal error in unknown : "invalid input: lhs received sattr, which is not valid for its 1st argument, expr"

 

do  you know the meaning of the error and why this equation cant be solved for l?

1 2 3 Page 1 of 3