User Tools

Site Tools


gibson:teaching:fall-2012:math445:hwexamples

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

For problem H of [[gibson:teaching:fall-2012:math445:lab3#problem_h |lab 3]], you could turn in something like this <code> >> % Problem H. >> >> % Show e^a e^b == e^(a+b) for a=0.3, b=0.4 >> format long >> a=0.3; b=0.4; >> e^a * e^b ans = 2.01375270747048 >> e^(a+b) ans = 2.01375270747048 >> >> % Show (e^a)^b == e^(ab) for a=0.3, b=0.4 >> a=0.2; b=10; >> (e^a)^b ans = 7.38905609893065 >> e^(a*b) ans = 7.38905609893065 </code> Note that * the problem is labeled * the question is repeated (show e^a e^b ...) * extraneous stuff has been removed

gibson/teaching/fall-2012/math445/hwexamples.1347941178.txt.gz · Last modified: 2012/09/17 21:06 by gibson