Maple 17 Questions and Posts

These are Posts and Questions associated with the product, Maple 17

When I do integration and differentiation, even of the simplest functions, it gives me incorrect answers. What could I have done wrong? Just to mention I recently installed a licensed copy on my computer. 

Hi everybody,

Like the title said, I have a DC circuit (*.msim attach here).  In two differents ways, I find the current in R3 to be equal to -1A (*.mw attach here).  The M17 file is in french but the equations speak for themselfs.  Can someone help me to sort this problem out.

problème_5-4.msim

Solution_5-4.mw

Thank you in advance for your help.

I am trying to use the procedure described in the answers to this question: 

http://www.mapleprimes.com/questions/100137-Solving-Trigonometric-Equations-For

to find the solutions to sin(2*x) = 1/2 where -2*Pi <= x <= 2*Pi. After the isolve() command is issued, I get the warning that solutions may have been lost. i think the issue is the form in which Maple represents the general solution to the equation. Any ideas on how to rectify this would be greatly appreciated!

I have a maple document with a few dozen plots. I am using the code

plotsetup(ps,plotoutput="C:\\plot.eps"); plot(x^2,x=-1..1); plotsetup(window);

to save the plot as an eps file. Is it possible to alter this code to save the file as a pdf? I've tried changing ps to pdf, but this doesn't seem to work. Thanks!

Is it possible to print an asterisk in a superscript? For example, the plot

plot(x^2,x=-1..1,tickmarks=[[1/2=x^*],[1='a']]);

has x^* at the tickmark x=1/2, but I'd like it to be x*

 

Thanks!

Is it possible for tickmarks to be different colors? For example, say I'm working with the plot

plot(x^2,x=-1..1,tickmarks=[[-1,-1/2,1/2,1],[]]);

Is there a way to make the tickmarks at x=-1/2,1/2 red while making the tickmarks at x=-1,1 blue?

Or, alternatively, is there a way to turn the tickmarks at x=-1/2,1/2 into red subticks and make the tickmarks at x=-1,1 blue?

Thanks!

Hello,

 

I seem to be having trouble with the define_external command.

 

I want to call a C-library from maple, and I think I need to convert the maple data in C. So I need a custom wrapper.

 

But I can't get the simple example from here to work for me. Specifically, I tried this:

 

I am having trouble getting an algebraic solution for a first order four-ODE system. The problem seems trivial to me. However, Maple is taking a very long time to solve it. The system describes a reversible "chemical" reaction that have 4 states. Basically, the system is

C1<->C2<->C3<->O1

where the rate constants are ai towards the right and bi towards the left.

Any suggestion will do.

Thanks!

Hello all,

 

I have a question about converting a continuous piecewise function to Heaviside function, which the function includes trunc() in its conditions.

(I found differentiating piecewise function gives me "undefined" at boundary)

 

When I do that operation (convert(piecewisefunc, Heaviside)) I get the error below.

"Error, (in piecewise/simprootsstep) cannot determine if this expression is true or false: 0 < 183.3333333*Pi"

I noticed, that FileTools[Text][ReadLine] cannot read Cyrillic letter "я" in text files.

My test file containes 6 lines (Codepage 1251):

 Николай Петрович ТРУБЛАИНИ
 "ЛАХТАК"
 Ч А С Т Ь П Е Р В А Я
 НЕМОЙ ПАРОХОД  Г л а в а I
 Ветер налетел неожиданно. С неимоверной быстротой запенились волны. Они приближались к пароходу, стоявшему в миле от берега. Между реями мачт и в надстройках...

Hi,

I am having some problems when solving NullSpace when the matrix is somewhat 'complicated'.

Maple seems not able to find the nullspace.

Any hints or possible workaround?

Casper

 

nullspa.mw

Hello to you all. Pls. i just want to ask you guys about which package in maple can I use to solve nonlinear ODEs Also, can I use the Newtons Method?

Hello,
I'm trying to write a function which is calculating a B-Spline Function. Given is a knot vector U=[u1,...um]. What i want to calculate know is the basis function of degree 0 which is defined by Ni,0(u)=1 if ui <= u < ui+1 and 0 otherwise. I tried to do this with two procs which are leading to the same problem:
procVec1 := proc (U)
m := nops(U);
N := [seq(0, i = 1 .. m-1)];
for i to m-1 do

Hi,

The subs command is not working properly for Vector type, see worksheet.

I can use simplify instead, but that's not what I really wanted.

Download vsubs.mw

 

Casper

I'm sharing this in the hope it might help someone (my future self being the most likely). Since my suggestions are not perfect and a little messy, feel free to suggest better ways.

I spend a great deal of time tweaking my plots. Oftentimes I want to add labels to the curves right onto the plot. Most of the time it's easy to do. Occasionally I struggle. Sometimes I succeed, sometimes I give up.

Below is an example of the kind of plot I sometimes create. It's not perfect.

First 53 54 55 56 57 58 59 Page 55 of 61