All Questions
3 questions
0
votes
1
answer
58
views
Program works, but then fails when I write it inside Module [duplicate]
I'm new to Wolfram Language; I'm trying to get used to it by writing a bunch of code and programs, being one of them the algorithm for the bisection method.
When I write the algorithm outside of a ...
0
votes
0
answers
57
views
Block Behavior, but for Function Assignment instead of Variable Assignment
We can define a function using a variable b that does not appear as an argument, and then using Block, change the output of the ...
5
votes
3
answers
700
views
Turning an expression into a function inside another function
Say I have an expression
g=Sin[q];
It is easy to turn it into a function, and to perform manipulations on this function (this and variants of this were discussed ...