====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:fall-2012:math445:hwexamples [2012/09/17 21:03] gibson created |
gibson:teaching:fall-2012:math445:hwexamples [2012/09/18 05:10] (current) gibson |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | For problem H of [[gibson:teaching:fall-2012:math445:lab3#problem_h |lab 3]], you could turn in something like this | ||
+ | |||
<code> | <code> | ||
- | >> % Problem H. | + | |
- | >> | + | John Gibson |
+ | Lab #3, 9/18/2012 | ||
+ | Math 445 | ||
+ | |||
+ | Problem H. | ||
>> % Show e^a e^b == e^(a+b) for a=0.3, b=0.4 | >> % Show e^a e^b == e^(a+b) for a=0.3, b=0.4 | ||
- | >> format long | ||
>> a=0.3; b=0.4; | >> a=0.3; b=0.4; | ||
>> e^a * e^b | >> e^a * e^b | ||
Line 17: | Line 23: | ||
ans = 7.38905609893065 | ans = 7.38905609893065 | ||
</code> | </code> | ||
+ | |||
+ | Note that | ||
+ | * the problem is labeled (Problem H) | ||
+ | * the question is repeated (Show e^a e^b ...) | ||
+ | * extraneous stuff has been removed (format statements, errors, ...) |