#P1211. A Simple Math Problem

A Simple Math Problem

Problem Description

请计算∫(ax+bx^2+cx^3)dx在p到q上的定积分。

Input Format

输入一行 a b c p q(保证p<q)

Output Format

一行答案,保留3位小数
1.0 1.0 1.0 1.0 2.0
7.583

Source

2016周赛 二