Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

how to test whether a curve  lies in no plane in maple?

Hello,

I am trying to make c (0.001<=c<=0.02) a random value at each time step.But with my code c is choosing randomly from the interval then solveing the equation for fixed c at each time step.

How can I mack c a diffrent random value at each time step?

This is my code:

> with(DEtools); with(plots);
>
> Ra := RandomTools:-Generate(distribution(Uniform(0.001, 0.02))); c := Ra;
> f := .1;
>
> eq := diff(X(t), t) = 1-f-c*X(t);
>
> init := X(0) = 100;
>
> sol := dsolve({eq, init}, {X(t)}, range = 0 .. 100, numeric);
>
> odeplot(sol, [[t, X(t)]], t = 0 .. 100);

 

Thank you

I have a rather complex expression that I want to find the zero for as a function of two other parameters, i.e. I have a function

Denom := (s,M,g) -> stuff

that I want to find the zero of for a variety of values of M and g. In some cases the solution will be complex, which is entirely acceptable. However, the real part of the solution should never be negative, and yet that is the kind of result I am getting.

As an example (illustrated in the worksheet, when attempting to find the zero for M = 3 and g = 0.2, fsolve gives me s = -6.1 -1.4i. However, when I plot the function with the parameters input already, I can clearly see a zero at s = 9 with no imaginary component. Why won't fsolve find this zero? How can I make it do so?

See the bottom of the attached worksheet for the main problem.

 pole-dragging-mapleprimes.mw

Hi all,

I'm currently writing a code to solve the equations for a gravitational collapse of a star numerically. I'm using two dimensional Arrays for most of the physical quantities in my finite difference equations, with one index for the spatial dimension (I'm only considering spherically symmetric collapses) and one time index. I wrote two nested loops, where the inner one solves the equations from the centre of the star to the surface (with the exception of one quantitiy, where I have to integrate the other way around) and the outer loop advances the Arrays in time. My problem is, that Maple doesn't seems to evaluate the two dimensional Arrays. Instead for inserting the appropriate value for e.g. A[3,2], Maple just keeps on using A[3,2] which messes up some formulas, since I have to take roots of the numbers. At least that is what seems to be going on when I'm trying to debug the relevant part of the code and I check for the values, with whicih Maple calculates. I'm also using a one dimensional Array to store the timesteps, I'm using in the code and Maple doesn't seem to have problems evaluating them. Is anybody familiar with this problem? Does Maple have trouble with multidimensional Arrays in loops or have I just messed up my code? I have uploaded my code (I hope it worked). I apologize for my code being messy, but it's the first time I'm working with Maple and using numerical methods. The part which troubles me is labeled "# actual code".

Thank you all.

Oppenheimer-Snyder_Maple_3.mw

Hello People in Mapleprimes,

 

I have a question about the codes in the help page of assign.

Please tell me about this.

The folliowing codes were written there:

code (A)

assign(a,c):

assign(a=d,b=2):

a,b,c;

 

The output of these was 

d,2,d

 

I think that assign(a,c) means assign(a=c) or a:=c, not c:=a.

If what I wrote was true, the output of the above code should be

d,2,c.

And, if I changed assign(a,c) to assign(c,a), the output was d,2,d, which is the output written on the helppage 

of the assign. On the other hand, the output of code A was surely d,2,d.

Why does assign(a,c) have the same meaning as assign(c,a)?

 

Best wishes

 

taro

Hello everyone, I am having problem while trying to evaluate the double integral written in the file attached double_inegral.mw. Please help me out.
Many thanks in advance.

I am getting different results when determining the eigenvectors of a simple beam vibration problem in 2 ways :

See attachment :
1) When generating a matrix with GenerateMatrix([eqs..],[A,B...]) , or with
2) reformulating the same matrix by hand with S:=Matrix(4,4,[[ ]]) I get different eigenvectors for actually the same matrices ?

Tried already commands like 'convert' , 'Normalize', setting precision, to no avail.
Is this due to rounding ?

Any suggestions ?

Thanks ! 

Eigenvectors_2.mw

 

In this work we show you what to do with the programming of Embedded Components applied to graphics in the Cartesian plane; from the visualization of a point up to three-dimensional objects and also using the Maple language generare own interactive applications for touch screen technology in mobile devices techniques. Given that computers use multicore and designed algorithms that solve calculus problems with very good performance in time; this brings programming to more complex mathematical structures such as in the linear algebra, analytic geometry and advanced methods in numerical analysis. The graphics will show real-time results for the correct use of the parallel programming undertook to bear the procedural technique is well suited to the data structure, curves and surfaces. Interaction in a single graphical container allowing the teaching and / or research the rapid change of parameters; giving a quick interpretation of the results.

 

FAST_UNT_2015.pdf

Programming_Embedded_Components_for_Graphics_in_Maple.mw

Atte.

L.Araujo C.

Physics Pure

Computer Science

 

 

 

Hi there,

How can I plot the equation $r=1/theta$ in polar plot in maple13? and in general for plotting $r=1/(theta-alpha)$ alpha is constant.?

 Any help will be appreciated.

Regards

Yegan

I tried to run a few calculation on maple, the numerical output is, e.g.

 

0.3 10^(-5)

 

Is there any simple way to set it as 0.3e-5? I am not intened to write the data into a file, hence, i am not sure if writedata is a suitable option.

 

Thank you very much! 

 

So as the title claims I am new to maple and am having trouble with trying to learn how exactly to accomplish certain things.

Mainly being that I am having trouble with a set of exquations that are equal to zero which I then set equal to eachother in order to solve for the values of the variables (x,y)

for example lets say that

f1:= x3-x2-(y2-y)x = 0

f2:= -1-ln(y)+ln(x-y) = 0 

now from here I start to become a bit iffy on what exactly I am supposed to be doing. I have a line of code stating 

f3:=f1=f2

and from there I have had absolutely no luck what so ever. 

any help would be much appreciated.

Hello!

I wanna ask you the next question.

I have system of four linear differential equations and solution of it (four functions f1,f2,f3,f4). When I try to verify my solution by odetest() I get a set of values: 0 and two bulky expressions with imaginary units.

So, I can't understand exactly my solution is right or not?

 

sysODE:={bla bla bla}{f1,f2,f3,f4}(x);
solsysODE:={f1(x)=........,f2(x)=......,f3(x)=......,f4(x)=.......};
misalign:=odetest(solsysODE,sysODE);
nops(%)
3
op(1,misalign) # zero
op(2,misalign) # not zero
op(3,misalign) # not zero

 

Thank you!

The expression

A := (a/u*(y*exp(-y) - x*exp(-x))/(y-x) + b/u) / (c/u + d/u);

is obviously equivalent to

I typed the latter by hand since I don't know how to do it in Maple.  Is there a trick to get Maple to do the simplification as shown?

Happy New Year! Now that 2014 is behind us, I thought it would be interesting to look back on the year and recap our most popular webinars. I’ve gathered together a list of the top 10 academic webinars from 2014 below. All these webinars are available on-demand, and you can watch the recording by clicking on the webinar titles below.

-----------------------------------------------

See What’s New in Maple 18 for Educators

In this webinar, an expert from Maplesoft will explore new features in Maple 18, including improved tools for developing quizzes, enhanced tools for visualizations, updated user interface, and more.

Introduction to Teaching Calculus with Maple: A Complete Kit

During this webinar you will learn how to boost student engagement with highly interactive lectures, reinforce concepts with built-in “what-if” explorations, consolidate learning with carefully-constructed homework questions, and more.

Maplesoft Solutions for Math Education

In this webinar, you will learn how Maple, The Möbius Project, and Maplesoft’s testing and assessment solutions are redefining mathematics education.

Teaching Concepts with Maple

This webinar will demonstrate the Teaching Concepts with Maple section of our website, including why it exists and how to use it to help students learn concepts more quickly and with greater insight and understanding.

Revised Calculus Study Guide - A Clickable-Calculus Manual

This webinar will provide an overview of the Revised Calculus Study Guide, the most complete guide to how Maple can be used in teaching and learning calculus without first having to learn any commands.

Clickable Engineering Math: Interactive Engineering Problem Solving

In this webinar, general engineering problem-solving methods are presented using clickable techniques in the application areas of mechanics, circuits, control, and more.

Hollywood Math 2

In this second installment of the Hollywood Math webinar series, we will present some more examples of mathematics being used in Hollywood films and popular hit TV series.

Robotics Design in Maple and MapleSim

In this webinar, learn how to quickly create multi-link robots by simply defining DH parameters in MapleSim. After a model is created, learn to extract the kinematic and dynamic equations symbolically in Maple.

Introduction to Maple T.A. 10

This webinar will demonstrate the key features of Maple T.A. from both the instructor and student viewpoint, including new features in Maple T.A. 10.

The Möbius Project: Bringing STEM Courses Online

View this presentation to better understand the challenges that exist today when moving a STEM course online and to find out how the Maplesoft Teaching Solutions Group can help you realize your online course vision.

-----------------------------------------------

Are there any topics you’d like to see us present in 2015? Make sure to leave us a comment with your ideas!

Kim

My eyesight is not what it used to be, so I would like to maginfy Maple's help window with a zoom factor of 150%.   I know how to do that by hitting Ctrl-F4.  My question is: Is it possible to save that setting somehow so that help is displayed at 150% by default?

Aside: The option Tools->Options->Interface->Default Zoom does not seem to do what I want.  For one thing, it sets the zoom factor of the main worksheet which I don't want to change.  For another thing, it affects the zoom factor of the help window in a rather mysterious way.  For instance, if I set Default Zoom to 400%, then the main window is indeed zoomed by 400% but the help window is zoomed by only 200%.

Platform: Maple 18 on Linux

First 1281 1282 1283 1284 1285 1286 1287 Last Page 1283 of 2224