Questions tagged [symbolic-math]

Symbolic math tools allows for analytically process mathematical expressions - without the necessity of assigning specific numeric values to variables.

Common software that allows for symbolic math operations include

See this comparison of computer algebra systems (CAS) for other software packages that support symbolic math operations.

Online examples of Computer Algebra System

1493 questions
-3
votes
1 answer

How to evaluate a matlab symbolic expression properly?

Lets say I have a matrix like this: syms p; K = [p^2+3 0; 2 5*p]; p_initial = 2; Whats the proper/fastest way of getting K(p_initial), that is the resulting matrix if I insert 2 for p. Further, I want the resulting matrix to be of type double, not…
Doc
  • 345
  • 4
  • 17
-3
votes
4 answers

A function generating the derivative of f

I´m trying to construct a function that return the derivate of f, a function of one variable. The return value should be a function approximating the derivative of f' using the symmetric difference quotient, so that the returned function will…
Alexander West
  • 81
  • 1
  • 1
  • 9
-3
votes
1 answer

Making a math equation for overtime

right now i have an employee who is getting 500 dollars overtime when he works 40 hours and his basic salary is 3500 dollars, i need to have an equation to calculate the amount of dollars when he work any other amount of hours different salary or …
-3
votes
3 answers

How to handle multiple inputs while writing a matlab function

How to handle multiple inputs while writing a matlab function ? For example if n is the number of parameters to be passed in the run time then how do my function prototype will look ? Any help will be good. Thanks.
det
  • 3
  • 1
-4
votes
1 answer

Does MATLAB use "0" to represent infinitely-many solutions?

MATLAB simulates solve(a==a) and returns 0. The solution should have been infinitely many (the solution should have looked like a=a) but it simulates the solution equal to zero which is incorrect. How can I fix this?
-4
votes
1 answer

Derivative of a function in Matlab

I tried to take the derivative the function, but I can't find my mistake: syms x A = -1.6*x^2+18.7*x+3.4 This returns (187*x)/10 - (8*x^2)/5 + 17/5. Then, diff(A) yields 187/10 - (16*x)/5.
imren
  • 1
  • 1
  • 2
-4
votes
2 answers

find the intersection point of X-axis like below

The input is slider range value Ex.(-5 to 5) or (X to Y) I want the X axis intersection points like this (-5,0) (-2,0)(-0.5,0) (0.5,0) (2,0) (5,0) and consider the Point naming from P1 to P6 from left to right. So the difference(x2-x1) for the P1…
Honey
  • 366
  • 2
  • 4
  • 17
-4
votes
1 answer

How to solve equality equation through matlab solver?

I have a question related to basic mathematics, but with Matlab solving method. Here is the question: y = 5; for x=0.01:100 F = 3*x + y - 2*x^2; end From the above iterative equation I want to find the max [F] value and its relative [x]. Is it…
Lab
  • 11
  • 1
  • 3
1 2 3
99
100