if F(x) is a polynomial in x of degree II la!
is any real number and y flx is divided
by Cx-a), then the remainder is
Answers
//Called when application is started.
function OnStart()
[tex]{
//Create a layout with objects vertically centered.
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
lay.SetBackColor( "white" )
//Create card layout.
layCard = app.CreateLayout( "Card" );
layCard.SetBackColor( "white" )
layCard.SetElevation( 4 )
layCard.SetCornerRadius( 4 )
lay.AddChild( layCard );
//Create card contents.
var pad = 0.02;
var cardWidth = 0.7;
layInfo = app.CreateLayout( "Linear" );
layInfo.SetMargins( pad,pad,pad,pad )
layCard.AddChild( layInfo )
img = app.CreateImage( "/Sys/Img/Sky.jpg", cardWidth);
layInfo.AddChild( img, 0.4 )
txtTitle = app.CreateText( "Card Title", -1,-1, "Left,FillX" );
txtTitle.SetMargins( 0,0.01,0,0.01 )
txtTitle.SetTextColor( "#333333" )
txtTitle.SetTextSize( 18 );
layInfo.AddChild( txtTitle );
var s = "Tell me and I forget. Teach me and I remember. Involve me and I learn.";
txt = app.CreateText( s, cardWidth, -1, "Left,,MultiLine" );
txt.SetTextColor( "#333333" )
layInfo.AddChild( txt );
//Create card info display.
txt = app.CreateText( "" );
txt.SetMargins( 0, 0.1 )
lay.AddChild( txt );
//Create an elevation seek bar.
skbElev = app.CreateSeekBar( 0.8 );
skbElev.SetMargins( 0,0.1,0,0 )
skbElev.SetRange( 20 );
skbElev.SetValue( 4 )
skbElev.SetOnTouch( skbElev_OnTouch );
lay.AddChild( skbElev );
//Create an radius seek bar.
skbRad = app.CreateSeekBar( 0.8 );
skbRad.SetMargins( 0,0.1,0,0 )
skbRad.SetRange( 20 );
skbRad.SetValue( 4 )
skbRad.SetOnTouch( skbRad_OnTouch );
lay.AddChild( skbRad );
//Add layout to app and show info.
app.AddLayout( lay );
ShowInfo();
}
function skbElev_OnTouch()
{
layCard.SetElevation( skbElev.GetValue() );
ShowInfo();
}
function skbRad_OnTouch()
{
layCard.SetCornerRadius( skbRad.GetValue() );
ShowInfo();
}
function ShowInfo()
{
var s = " elevation: " + skbElev.GetValue() + " radius: " + skbRad.GetValue();
txt.SetText( s )
} [/tex]
Answer:
helo hi who are you 45523r5667