How do I generate a datafile (ascii-type) for the following general case:
so that the first column will contain selected values of x from x0 to xN, the second column will contain the corresponding f1(x0..xN), the third f2(x0..xN) etc.?
I try to calculate a numberical integration in 2 layer for loops(outer 21 times, inner 128 times):
evalf(int(erfc(sqrt(B*xgms1*x/(x*xgmi1+xgmn1)))/gamav*exp(-1*x/gamav),x=0..infinity)), i.e., the kenerl is erfc(ax/(cx+d))×exp(-ax). But when "gamav" > 100000, the calculation time is too long to bear. So I try to do some approximation and change the upper bound into 10*gamav, 30*gamav, 50*gamav and 100*gamav. But I got the following results:
The trend of results is bigger the upper bound smaller the results. Obviously, the results is wrong. When "gamav" is a smaller number, such as 1000, the four integration results is the same as when the upper bound is "infinity".
Hello! I would like to do something that I really think should be simple.
Suppose I have a polynomial
P := x^2 + y
If I want to evaluate it at the point [1,2], I could say:
But suppose that I didn't know the form the variables in the polynomial would take. Or suppose that I knew they were of the form x1,x2,x3,...,xn.
Given a vector of size n, how can I evaluate my polynomial at that point?
Here is my problem: I am trying to plot this: y=(pi(sqrt(4-(x^2)))/((x^2)+4) but i get this error, when trying to plot. Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct Error, empty plot please help ASAP
Anyone knows a command on how to calculate the norm (length) of a vector?
>restart:with(linalg):#I know this package is obsolete, but my Teach only teaches theese commands..
>u:=vector([1,1,1,1]);#a vector i defined
>LengthU:=sqrt(u^2+u^2+u^2+u^2);#This is how I calculate the length theese days...
Anybody knows a command, so that my third line will not be neccesary?
After reviewing the help pages on the Logic package I noticed that the commands used in examples usually contained an ampersand "&" before them. Does this in any way alter the meaning of the logical operator or (connective) in any from it's usual meaning in standard text ? for example, is &iff "if and only if" ? does ∧ stand for "and" ? does ∨ mean the logically inclusive "or" does &implies mean "if antecedent then consequent" ? and so forth... Dan
My question is out of maple primes, but i was wondering if one of the members is and expert in MATLAB coding.
I am trying to write a MATLAB code for numerical integration for a double exponential equation of the form
i = io(exp(-alpha*t)-exp(-beta*t). The problem i am facing is how to eliminitate the error as the integration is taken as the area under the curve, say from time t=0.0 to t=25e-6.
Your comments in how to solve this problem is highly appreciated.
I am wondering how to shade a portion of the plane under a curve from say x=a to x=b. To be more specific suppose I have the function f(x) = 5 - x^2. I want to plot this function and shade the region under this curve and above the x-axis from x = 1 to x=2. How can I shade it with a solid color; and how can I shade it with a striped region. I imagine there must be some "shade" command or option. Your assistance will be appreciated. Tom
Can Maple be used to see if propositional logic sentences with arbitary propositional constants are tautologies ? i.e. (if they are always true under every possible interpretation or arrangement of the truth values true and false).
Hi There, I am new to Maple and would appreciate some help on basic polynomial manipulation. I have the following type of equation that I need to simplify by factoring out the x^r component. How do I do this in Maple 10? Equation to manipulate x^(n+r)*(n+r-1)*c[n]+(n+r)*x^(1+n+r)*c[n] What maple commands do I use to get the following? x^r*[x^(n)*(n+r-1)*c[n]+(n+r)*x^(1+n)*c[n]] Thanks very much
I have the following points in R-2, (1,1) , (3,4), (1,5), (0-4), (-3,1). How may I obtain graphically the minimal convex set with contains all this points?. I found the commad convexhull.. but I am not sure how to use it. (I use Maple10) Thanks in advance, JJacques
I am trying to multiply a number in volts with a number in mV. the answer it gives me, though, is in [[V]]*[[mV]]. How do I make it convert the answer to [[V]] automatically?
Hello How do I make the font in Maple 9.5 smooth. The fonts look horrible. I think its due to java as java fonts are horrible. They aint smooth like Microsoft fonts. If you were to compare a MS Trembauchet font with a Java Trembauchet font, the MS Trembauchet puts the Java font at bottom of the Top 100 list. Anyone know how I can make it appear smoother? Ben
I'm sorry for my poor English, my name is Arnaud, I'm 17 years old junior in a School (Laurent de Lavoisier) in France.
I have a probem, I'd like to develop a program for meteorology modelisation with Maple. How could you do it?
Thank you in advance.
if I have a table of data of the form: A | 1 | 2 | 3 B | 5 | 2 | 5 C | 9 | 8 | 2 ... how can I reference the table? I am working in document mode and I cannot figure out how to name the table to access it (hopefully) like "table1[1,2]" if this is not possible, is there some other way to do what I am wanting? It has to not only be a functional solution, but a graphical one as well, because this is for a report to hand in (so I can't "table1:=...") thanks, patrick