A list of puns related to "Derive (computer algebra system)"
I am a mathematician and I have always used CASs for speed up my productivity. Lately I have wanted to learn how these software work and for that I decided to make my own CAS. I have read the very basics, but I'd like to have the advice of people who actually know how these things work way better than me.
For this task I could use Python, Haskell, Javascript or Java (programing languages I know).
If this question doesnΒ΄t fit in this subreddit, please let me know and tell me where I can ask for help. Thanks.
So my question is, how is it possible for Computer Algebra Systems like Maxima and Mathmatica to be that precise while numeric programms like MATLAB and Octave are that limited?
I'm trying to implement a computer algebra system that can automatically compute derivatives. These systems use tools very similiar to those that regular programming languages use hence my decision to post here.
How would I go about converting Reverse Polish Notation into an Abstract Syntax Tree while supporting variadic functions? To my understanding an AST usually only has two child nodes from one parent node while it seems to me at least that to support variadic functions you would need up to infinite child nodes from one parent node. Is my assumption correct?
Does any one have any explanation as to the pro's and con's of symbolic vs automatic differentiation in order to get a derivative of an arbitrary function and any resources on the topic would be helpful.
Hello.
I am working as a TA in a University and as all exams are online, one of the professors to which I grade test for has decided to give tests where you have E, F and G three numbers which are randomly assigned to each student and he has to replace them on their test.
The thing is that, while all the exercises are made in a way in which all the exercises can be solved, I have noticed that the complexity of the computations can vary a lot.
I wanted to know if there is a good compute algebra system in which I can replace E, F and G and see a solution instantly, so I can help the professor making the exams as I feel like some of them have too many computations, partial fractions seems to be the principal culprit as the linear systems involved can have horrible fractions there.
I have a TI-nspire CX CAS, but I would prefer something that not only displayed the result but also the steps, but I don't know if there are programs for this. Altought I'd rather use something used on the computer.
Thank you for your time, and let me know if this isn't the adequate subreddit to post this.
Something that can solve for T, N, B, curvature, and torsion if you input a curve?
Basically we are allowed to use these in one of my classes, but the only one demonstrated was Mathematica and that isn't free.
Thanks, in advance!
After I responded to this post (proving that all parabolas, considered as graphs of quadratic equations, are vertical with respect to some coordinate system, and then that each parabola has a special point called a "focus" with the property that the angle between any ray from it, and the vertical line through its point of intersection with the parabola, is bisected by the tangent line), I decided to figure out how to "go the other way": Starting with the origin as the focus, determining what curves have the property that their tangent lines bisect the angle between the ray from the origin, and the vertical.
The end result of this is known as the parabolic coordinate system, and below is some of the work involved in its derivation:
This last equation can be solved by setting y=xv and separating variables, but I didn't remember that, so I went to Wolfram|Alpha and got these two families of solutions:
Then I tried the first form and got something quite different:
In fact, the first and second cases are equivalent, keeping in mind that sinh(x)=(1/2)(e^(x)+e^(-x)) (a fact you would need to use after the y=xv substitution anyway), and the usual way to write the solution set is y=x^(2)/c-c/4; the parameterization of parabolic coordinates separates the negative and positive cases (the graphs tending toward the positive y-axis as c->0+, the negative y-axis as c->0-, and a "line at infinity" as c->infin), relating the (s,t) coordinates to the usual (x,y) ones with
or, equivalently,
Anyway, if your CAS returns some unusually complicated looking result, it may just be unaware of some assumptions that you haven't told it (usually it's of the variety "all parameters are real").
EDIT (4 February 2017): This is [a good example](https://www.reddit.com/r/le
... keep reading on reddit β‘So, I've been educating myself about floating point numbers and I understand how a float is represented in binary. I understand that it uses a sign, a mantissa as the body of the number, and an exponent as the offset for the floating point.
What I'm not putting together in my brain is: How can it perform mathematical operations on, say, two integers, and then come out with a float? Let's say we're dividing 1/3. I know how 1/3 as the decimal value .3333... would be represented as a floating point number, and I know how to make that conversion, but a computer doesn't know what .3333... is. Somewhere, it has to realize both "I can't perform this operation" and "the sign, mantissa and exponent to represent this floating point number are...". The resources I've found explaining how those things are derived is only ever deriving them FROM DECIMAL NUMBERS, which obviously, the computer can't actually understand or do anything with.
How does this calculation, (1/3), happen programmatically? What are the "in between points" between telling a computer "divide 0b0001 by 0b0011" and ending up at the correct floating point number?
Informally I remember of it by thinking about what I'd do manually to check whether a given corrispondence is a function or not. (I check that it never happens a1=a2 and f(a1)=! f(a2), for every a1,a2 in A.)
However I keep "forgetting" it sometimes, so I tried to prove formally that it's equivalent to the definition of function. I did this proof since I haven't found any.
>-
Note : For (<=) I'm going to translate f(a1)=f(a2) into [(a1,b1)βf and (a2,b2)βf and b1=b2] for the specific values b1,b2β B.
Proposition.
Let A,B be sets, f:A-->B.
Prove that f is well defined (ie. βaβAβ!bβ B (a,b)βf ) iff βa1,a2βA [a1=a2 ==>f(a1)=f(a2)]
Proof
(=>) Assume f is well defined, (ie. βaβAβ!bβ B (a,b)βf ).
Suppose a1,a2βA s.t (a1=a2). Since the images of a1,a2 under f exist then(a1,b1)β B and(a2,b2)β B for some b1,b2β B. Since we assumed a1=a2 then by substitution (a1,b1)β B and (a1,b2)β B.
Then since b1 is unique (ie. for every zβ B [(a1,z)β f==> z=b1)] and (a1,b2)β f we conclude b1=b2.
So for every a1,a2β A if a1=a2 then f(a1)=f(a2).
(<=)
Suppose for every a1,a2β A , a1=a2 ==> [(a1,b1)βf and (a2,b2)βf and b1=b2] for the specific values b1,b2β B.
I have to prove βaβAβ!bβ B (a,b)βf.
Existence.
Let aβ A. Since a=a then there exist b1,b2β B s.t b1=b2. So for every aβ A there exist atleast a value bβ B s.t (a,b)β f.
Uniqueness.
Let zβ B s.t (a,z)β f. Thus we have (a,z)β f and (a,b)β f . Since a=a then by our assumption z=b, so the image is unique.
Hi, I would like to ask this question because I do not have maple and I also learned that if I want to use it I have to pay for it. Can someone please give me alternative maple-like program to solve the questions down below. I would appreciate that. Thank you
https://preview.redd.it/yfnq3do89a451.png?width=693&format=png&auto=webp&s=f3034b49caa39e51bac0bebfd44cb11f57d686e1
Does anyone here have MAGMA Computational Computational Algebra System downloaded on their computer? As I have a script I wrote to solve it, however I do not have access to MAGMA on my PC as it costs around 2k as it is proprietary software. I have used it in the past. But I do not have access anymore. And the online MAGMA algebraic software for my problem/script is limited to compute for 120 seconds which is too short for my script.
If anyone has the downloaded version, can you please contact me privately in PM or chat. And I will provide the script I wrote to run.
My first actual project of any scale in Python after I started learning it in my free time about 8 years ago! Its a very limited computer algebra system that works with rational numbers, univariate polynomials, and univariate rational functions. Its been a great way to learn about types/classes, error messages, and tests.
Obviously Python is not the best language for a CAS and its implemented very inefficiently (moreso than strictly necessary) but I'm quite proud of how much I've managed to get working. As the ReadMe says you shouldn't use this for anything important.
If you are a GAP user, comment how many years of experience you have and if you have a GutHub repository where you share your codes. That would help me because I am a beginner and I am doing well. Thank you.
I'm looking for some help to derive the formula for energy stored in an inductor
E = 1/2 L * I^2
Algebraically from
Delta W = L I * Delta I
Where W is work, L is inductance, and I is current
I can only find examples using the integral form but wanted to see if it's possible to do so without calculus.
My book states that all the small increments of Delta W must be added together but leaves the summation as an exercise and I'm finding myself stuck.
Any help would be appreciated!
I am really struggling with the first course on linear algebra and matrices and I find it hard to motivate myself, as I don't know many real-life applications to the things I am learning, or am trying to learn.
I know these things have many applications in cs, but since I don't have a clear vision on what I'd like to do in this field yet (so far I've enjoyed web deving and I am interested in audio programming and graphics, although I haven't gotten into them yet), I don't really know why these things are relevant for me.
Any pragmatic examples on why I really should learn this stuff? Thank you.
edit: thanks to everyone who has responded, it is greatly appreciated!
Maxima is useless to me as its scoping is so poorly documented that even its developers don't understand it, causing it to return effectively random results:
(%i1) lambda([f], lambda([x], [f, x]))(g)(y);
(%o1) [f, y]
(%i2)
As there lisp-based alternatives?
Iβm studying pure math and Iβve always liked the logic in programming although Iβve never been good at the more difficult languages. I have also always been interested by computer algebra systems, Iβve always wondered how they work. How are things like matlab or maple capable of computing complex antiderivatives or crazy exact values to things? The idea of a computer doing symbolic computation to me is absolutely amazing. Can anyone explain how this works?
Throughout my undergrad, I've had a few professors and friends who swear by maple. With that said, it is usually in the context of doing overly tedious computations which may involve symbolic manipulation beyond the vanilla capabilities of something like Python or MATLAB, for example with series expansions or computation of the Peano kernel, which NOBODY likes doing by hand (as far as I know). While I've gained some familiarity with using Maple for such tasks pertaining to my studies, it hasn't really "stuck" for general purpose use, and I find myself sooner going to a whiteboard or a pad of engineering paper for a lot of more "standard" problems and scratch work.
My questions for all you CAS fans are:
Thank you and have a happy new year :)
I have a general framework and underatanding of CS Theory, Real Analysis, Numerical Analysis, Lexical Analysis... etc.
I already have some simple command line-like behavior through a python program/gui.
Overall I think I have a general idea what I need to do, but I was just wondering if anybody had suggestions for materials to help me know I'm doing it "right" (like that will ever truly happen)..
I'm looking for some help to derive the formula for energy stored in an inductor
W = 1/2 L * I^2
Algebraically from
Delta W = L I * Delta I
I can only find examples using the integral form but wanted to see if it's possible to do so without calculus.
My book states that all the small increments of Delta W must be added together but leaves the summation as an exercise and I'm finding myself stuck.
Any help would be appreciated!
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.