Upload files to "Sheet5/Ex5_Second_Attempt"
.
This commit is contained in:
parent
f7c1e47d9c
commit
3d3a16c8e2
5 changed files with 138644 additions and 0 deletions
16
Sheet5/Ex5_Second_Attempt/userset.cpp
Normal file
16
Sheet5/Ex5_Second_Attempt/userset.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include "userset.h"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
double FunctF(double const x, double const y)
|
||||
{
|
||||
// return std::sin(3.14159*1*x)*std::sin(3.14159*1*y);
|
||||
// return 16.0*1024. ;
|
||||
// return (double)1.0 ;
|
||||
return x * x * std::sin(2.5 * 3.14159 * y);
|
||||
}
|
||||
|
||||
double FunctU(const double /* x */, double const /* y */)
|
||||
{
|
||||
return 1.0 ;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue