MoNoXiDe commented on a Page, Equation Solver - $solve  -  Dec 21, 2007

Thanks for feedback guys :)

However I need some help with a regsubex expression, I coded this over 6 months ago and only learnt regex over the weekend especially for this. I have forgotton it all...

I need it so that if there is a letter before an x, the x gets replaced to (x). Eg, sinx becomes sin(x) and cosx becomes cos(x) etc. I\'m not sure if this is possible but if xx could be (x)(x) as well?

Could anyone help me with this at all? I want to just do $solve(sinx = 0.23) without having to do sin(x). Cheers

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.