#include <iostream>
#include <cstdlib>
#include <cmath>
using namespace std;
int main()
{
	const float ROH = 0.017857143;
	float l, RLeiter, d;
	cout<<"Drahtwiederstand berechnen"<<endl;
	
	//Variablen einlesen
	cout<<"Durchmesser in mm: \t";
	cin>>d;
	cout<<"Laenge in m: \t\t";
	cin>>l;
	
	//Berechnungen...
	//out<<laenge<<endl<<ROH<<endl<<durchmesser<<endl;
	RLeiter=ROH*(l/((d/2)*(d/2)*M_PI));
	cout<<endl<<"Der Drahtwiederstand betraegt "<<RLeiter<< "Ohm"<<endl;
	
}


