## 2185 Reputation

16 years, 208 days
Draeger Medical Systems, Inc.

Regards,
Georgios Kokovidis
Dräger Medical

## Problem with output...

Can you upload your worksheet that causes this error.  Use the Green Up-arrow  in the menu.  Maple version?

Try opening the attached and run it.

Regards,

Georgios

## Why does function plot correctly but ret...

Round-off error. Try increasing Digits to 20 or higher.

Digits:=20;

at the top of your worksheet.

Regards,

Georgios

## RE: solving a set of non-linear equation...

You have a system of two 2nd degree equations, with two unknowns.  Your solutions look correct and match the intersection of the plot, as in the attachment.

Regards,

Georgios

## Curly Brackets vs. Square in display co...

restart;
with(plots):
with(plottools):
k := disk([0, 0], 3, color = white):

k1 := polygon([[0, 0], [3, 4], [3, 1]]):
display([k, k1]);

Regards,

Georgios

## Empty or null values in matrices...

I am guessing as to what is desired, but here is my interpretation of the question.

Assuming the imported data looks something like this constructed example below:

 > restart:
 > A:=Matrix(3, shape = identity);
 (1)
 > subs(0=``,A);
 (2)
 >

Regards,

Georgios

## Difference between Maple and MATLAB...

Looks like an issue with the ResponsePlot command.  Here is a workaround.

 > restart:
 > with(inttrans): H1:=1.000000000*10^10/(s + 100000.)^2; H2:=1/(1 + 6.319637500*10^(-13)*s^2 + 1.1240*10^(-6)*s); input:=laplace(Heaviside(t),t,s): yStep1:=invlaplace(input*H1,s,t); yStep2:=invlaplace(input*H2,s,t); plot({yStep1,yStep2},t= 0..0.00005,      title=`step response`,      labels=[`time`,`y(t)`],gridlines=true);
 >

Regards,

Georgios

## Trying to get a curve of two data points...

Your X and Y are the same, so plotting one against the othter does not make much sense unless you are looking for a straight line (which you are not).

The attached plots one of your data sets.  Is this what you want?

Plot.mw
You can also use the command dataplot, like this:

dataplot(1..110,X);

which will yield the same plot as in the attached file.

Regards,

Georgios

## Circle - Version of Maple...

Which version of Maple are you using, and what commands have you entered that give you a parabola?

restart:
with(plots,implicitplot):
implicitplot(x^2+y^2=1,x=-1..1,y=-1..1);

will draw a circle.  Depending on your version of Maple, you might have to use the scaling=constrained option at the end, like this:

implicitplot(x^2+y^2=1,x=-1..1,y=-1..1,scaling=constrained);

Can you post your code so we have an idea of what is causing you problems.

Regards,

Georgios

## Difficult ODEsys...

Maple does show an answer.  odeplot does not show your plot because you are missing with(plots) at the beginning of your worksheet.

If you do not want to load the plots package, call odeplot like this:

plots:-odeplot(sol_num, [t, phi1(t), epsilon(t)], t = 0 .. 0.5)

The error is due to how you are using odetest.  Try commenting it out for now, and rerun you worksheet.

Regards,

Georgios

## How you create the animation for sin(x)...

From the Maplesoft site:  https://www.maplesoft.com/applications/view.aspx?SID=3473&view=html

Use this as a starting point.

//Georgios

## Tables and plots in Maple...

 > restart:with(Student[Calculus1]):
 > eq := sqrt(3)*exp(-t/2)*sin(sqrt(3)*t/2)/3;
 (1)
 > plot(eq,t=0..20,y=0.3..-0.3);
 > ans:=Roots(eq,0..20);
 (2)
 > NumberOfZeroCrossingsOverGivenRange:=nops(ans);
 (3)
 >

## How do I make a for loop over several pa...

If you are creating a code region in Maple, and want to have multiple lines, then you must use the "Shift-Enter" key combination to go to the next line, and continue to do so until the end of your program.

You can use an external editor, save your file, and read it into Maple.

Another option is to use an external editor, and then cut and paste the code, and then execute.

Regards,

Georgios

## Create vector and use it in function...

Below is my interpretation of what the OP is trying to do.  I'm not sure if the word Vector is relevant here.

The attached creates a sequence of points, like acer shows, spaced at 0.5.  Then there is a function mapped to these

points ( 5*x^2+3).  Then x and y are plotted against each other.

 > restart:
 > x:=[seq(0..20,0.5)];
 (1)
 > y:=[seq(5*i^2+3,i=x)];
 (2)
 > xylist := zip( (x,y) -> [x,y], x, y);
 (3)
 > plot(xylist);
 >

## convert complex number to exponential fo...

@digerdiga The procedure by Preben Alsholm, from a previous posting here, does what you are looking for.

Regards,

Georgios

## Plot the Function...

restart: with(plots):

f:=(x)->-(2.50000000000000000000000000000*(-2.424176758*10^30*x^5+5.982448001*10^29*x^3+(5.336360731*10^33*I)*exp((4.0405213687327619451756171962*I)/x)+(3.144879905*10^98*I)*exp((48.6318841588794957405477169504*I)/x)+(8.489643736*10^35*I)*exp((4.04052136873276194517561719622*I)/x)))*x^6/((1.009157478*10^101*I)*exp((48.6318841588794957405477169504*I)/x)*x^6-2.760182453*10^32*x^11-(7.651751413*10^37*I)*exp((4.0405213687327619451756171962*I)/x)*x^4+1.887831524*10^32*x^9-(8.567811466*10^36*I)*exp((4.04052136873276194517561719622*I)/x)*x^4-(1.207009672*10^100*I)*exp((48.6318841588794957405477169504*I)/x)*x^4+(6.538572988*10^29*I)*x^6+(1.246166933*10^31*I)*x^10-1.837651455*10^31*x^7+(1.504191760*10^38*I)*exp((4.04052136873276194517561719622*I)/x)*x^6+1.574891043*10^34*exp((4.0405213687327619451756171962*I)/x)*x^5-(7.612867062*10^30*I)*x^8+4.556143298*10^99*exp((48.6318841588794957405477169504*I)/x)*x^5-(2.488678360*10^105*I)*exp((52.6724055276122576857233341466*I)/x)+6.791123646*10^36*exp((4.04052136873276194517561719622*I)/x)*x^5-3.454612059*10^36*exp((4.0405213687327619451756171962*I)/x)*x^3-4.710342238*10^98*exp((48.6318841588794957405477169504*I)/x)*x^3+(3.488285966*10^35*I)*exp((4.0405213687327619451756171962*I)/x)*x^6+5.512268188*10^106*exp((52.6724055276122576857233341466*I)/x)*x);

complexplot(f,0.2..0.4);

Regards,

Georgios

 1 2 3 4 5 6 7 Last Page 1 of 74
﻿