blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50 values | src_encoding stringclasses 23 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 29 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6af8d3586b20189c9f9e50497f6deaaa12b8e91 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Ashe Smooth Diagonal .sce | 7015217da025268ccaa077a18834a8d53a53a428 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31,069 | sce | Ashe Smooth Diagonal .sce | Name=Ashe Diagonal Smooth
PlayerCharacters=Aimer
BotCharacters=Diagonal.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Aimer
AddedBots=Diagonal.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=cube1wallwideriflesmooth.map
MapScale=1.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=true
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Overwatch
WeaponHeroTag=Ashe, Viper
DifficultyTag=3
AuthorsTag=Tammas, Watsyurdeal
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=false
Description=Track a ball that moves in a Diagonal pattern.
GameVersion=2.0.2.0
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=false
LockedFOVMin=103.0
LockedFOVMax=160.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=Diagonal
DodgeProfileNames=up
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=60.0
DodgeProfileMinChangeTime=60.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=react2
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.05
UseAbilityFrequency=0.28
UseAbilityFreqMinTime=0.1
UseAbilityFreqMaxTime=0.18
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=Aimer
MaxHealth=100.0
WeaponProfileNames=MG;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=0.0
Gravity=0.0
AirControl=1.0
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Spheroid
MainBBHeight=20.0
MainBBRadius=10.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=react2
MaxHealth=10000.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.01
MaxRespawnDelay=0.01
StepUpHeight=75.0
CrouchHeightModifier=1.0
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=500.0
MaxCrouchSpeed=300.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=0.0
BrakingFrictionFactor=0.0
JumpVelocity=910.0
Gravity=0.0
AirControl=1.0
CanCrouch=true
CanPogoJump=true
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=10
AirJumpVelocity=910.0
MainBBType=Spheroid
MainBBHeight=50.0
MainBBRadius=25.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.0
JetpackFullFuelTime=6000.0
JetpackFuelIncPerSec=1000.0
JetpackFuelRegensInAir=true
JetpackThrust=12000.0
JetpackMaxZVelocity=1300.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=down.abilmov;down2.abilmov;;
HideWeapon=true
AerialFriction=0.2
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=10000.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=true
FlightObeysPitch=false
FlightVelocityUp=500.0
FlightVelocityDown=500.0
[Dodge Profile]
Name=up
MaxTargetDistance=9999.0
MinTargetDistance=0.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=1.6
MaxLRTimeChange=3.5
MinFBTimeChange=1.0
MaxFBTimeChange=2.0
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=80.0
DamageReactionResetTimer=0.3
JumpFrequency=1.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.01
MaxCrouchTime=0.01
MinJumpTime=0.01
MaxJumpTime=0.01
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.001
BlockedMovementReactionMax=0.001
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=MG
Type=Hitscan
ShotsPerClick=1
DamagePerShot=0.0
KnockbackFactor=0.1
TimeBetweenShots=0.046
Pierces=false
Category=FullyAuto
BurstShotCount=2
TimeBetweenBursts=0.1
ChargeStartDamage=0.1
ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=3.0
MaxHitscanRange=0.1
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=1.5
ReloadTimeFromPartial=1.5
DamageFalloffStartDistance=0.1
DamageFalloffStopDistance=0.1
DamageAtMaxRange=5.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.001
BounceOffWorld=true
BounceFactor=0.6
BounceCount=0
HomingProjectileAcceleration=6000.0
ProjectileEnemyHitRadius=0.1
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=0.514667
ADSMoveFactor=0.8
ADSStartDelay=0.2
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.1
RecoilNegatable=true
DecalType=1
DecalSize=15.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=MG Scoped
StunDuration=0.0
CircularSpread=false
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=65.809998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=Blood
ParticleProjectileTrail=None
ParticleHitscanTrace=None
ParticleMuzzleFlashScale=0.1
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.1
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=true
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=5.0
BlockedByWorld=true
SpreadSSA=2.0,10.0,-2.6,2.4
SpreadSCA=2.0,10.0,-2.6,2.4
SpreadMSA=2.0,10.0,-2.6,2.4
SpreadMCA=2.0,10.0,-2.6,2.4
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=2.0,10.0,-2.6,2.4
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=2.0,10.0,-2.6,2.4
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.45
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.15
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=MG Scoped
Type=Hitscan
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=0.1
TimeBetweenShots=0.046
Pierces=false
Category=FullyAuto
BurstShotCount=2
TimeBetweenBursts=0.1
ChargeStartDamage=0.1
ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=3.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=1.5
ReloadTimeFromPartial=1.5
DamageFalloffStartDistance=3000.0
DamageFalloffStopDistance=5500.0
DamageAtMaxRange=5.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.001
BounceOffWorld=true
BounceFactor=0.6
BounceCount=0
HomingProjectileAcceleration=6000.0
ProjectileEnemyHitRadius=0.1
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=0.5147
ADSMoveFactor=0.8
ADSStartDelay=0.2
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.1
RecoilNegatable=true
DecalType=1
DecalSize=15.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=65.809998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=Gunshot
ParticleBodyImpact=Blood
ParticleProjectileTrail=None
ParticleHitscanTrace=None
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.1
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=true
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=5.0
BlockedByWorld=true
SpreadSSA=0.0,0.1,-2.6,2.4
SpreadSCA=2.0,10.0,-2.6,2.4
SpreadMSA=0.0,0.1,-2.6,2.4
SpreadMCA=2.0,10.0,-2.6,2.4
SpreadSSH=2.0,10.0,-2.6,2.4
SpreadSCH=2.0,10.0,-2.6,2.4
SpreadMSH=2.0,10.0,-2.6,2.4
SpreadMCH=2.0,10.0,-2.6,2.4
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.45
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.15
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Movement Ability Profile]
Name=down
MaxCharges=1.0
ChargeTimer=3.9
ChargesRefundedOnKill=0.0
DelayAfterUse=0.05
FullyAuto=false
AbilityDuration=2.0
LockDirectionForDuration=false
NegateGravityForDuration=true
MainVelocity=500.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=true
UpVelocity=-500.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=false
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=0.05
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=9999.0
AIMaxTargFOV=360.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.0
AIDamageReactionMaxDelay=0.0
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=1000.0
AIDamageReactionResetTimer=1.0
[Movement Ability Profile]
Name=down2
MaxCharges=1.0
ChargeTimer=3.5
ChargesRefundedOnKill=0.0
DelayAfterUse=0.05
FullyAuto=false
AbilityDuration=1.5
LockDirectionForDuration=false
NegateGravityForDuration=true
MainVelocity=500.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=true
UpVelocity=-500.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=false
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=0.05
AIMinSelfHealth=0.0
AIMaxSelfHealth=95.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=9999.0
AIMaxTargFOV=360.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.0
AIDamageReactionMaxDelay=0.0
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=1000.0
AIDamageReactionResetTimer=1.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
Float sky.timeOfDay 13.000000
ColourXRGB32 sky.sunColor ffffde8c
Float sky.sunIntensitySize 64.000000
Float sky.sunSharpness 128.000000
Bool8 sky.sunEnabled 0
ColourXRGB32 sky.horizonColor fffff4b5
Float sky.horizonIntensity 0.250000
Float sky.horizonHaloExponentSunIntensity 0.300000
ColourXRGB32 sky.cloudsColor ffffffff
Float sky.cloudsCoverage 0.500000
Float sky.cloudsCoverageMultiplier 24.000000
Float sky.cloudsRoughness 0.400000
UInt8 playersMin 1
UInt8 playersMax 16
Bool8 modeFFA 0
brush
vertices
-2032.000000 -976.000000 2876.000000
2032.000000 -976.000000 2876.000000
2032.000000 -976.000000 -1016.000000
-2032.000000 -976.000000 -1016.000000
-2032.000000 -992.000000 2876.000000
2032.000000 -992.000000 2876.000000
2032.000000 -992.000000 -1016.000000
-2032.000000 -992.000000 -1016.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-2048.000000 2066.000000 2876.000000
-2032.000000 2066.000000 2876.000000
-2032.000000 2066.000000 -1024.000000
-2048.000000 2066.000000 -1024.000000
-2048.000000 -992.000000 2876.000000
-2032.000000 -992.000000 2876.000000
-2032.000000 -992.000000 -1024.000000
-2048.000000 -992.000000 -1024.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-2032.000000 2066.000000 2876.000000
2032.000000 2066.000000 2876.000000
2032.000000 2066.000000 2860.000000
-2032.000000 2066.000000 2860.000000
-2032.000000 -976.000000 2876.000000
2032.000000 -976.000000 2876.000000
2032.000000 -976.000000 2860.000000
-2032.000000 -976.000000 2860.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
2032.000000 2066.000000 2876.000000
2048.000000 2066.000000 2876.000000
2048.000000 2066.000000 -1024.000000
2032.000000 2066.000000 -1024.000000
2032.000000 -992.000000 2876.000000
2048.000000 -992.000000 2876.000000
2048.000000 -992.000000 -1024.000000
2032.000000 -992.000000 -1024.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
2040.000000 2066.000000 -1008.000000
2040.000000 2066.000000 -1024.000000
-2032.000000 2066.000000 -1023.999878
-2032.000000 2066.000000 -1007.999878
2040.000000 -992.000000 -1008.000000
2040.000000 -992.000000 -1024.000000
-2032.000000 -992.000000 -1023.999878
-2032.000000 -992.000000 -1007.999878
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-2048.000000 2082.000000 2876.000000
2048.000000 2082.000000 2876.000000
2048.000000 2082.000000 -1024.000000
-2048.000000 2082.000000 -1024.000000
-2048.000000 2066.000000 2876.000000
2048.000000 2066.000000 2876.000000
2048.000000 2066.000000 -1024.000000
-2048.000000 2066.000000 -1024.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
entity
type PlayerSpawn
Vector3 position 0.000000 752.000000 -840.000000
Bool8 teamB 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type CameraPath
UInt32 entityIdAttachedTo 132
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position -248.000000 768.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -128.000000 768.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 112.000000 768.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -368.000000 768.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -368.000000 648.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -248.000000 648.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -128.000000 648.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -8.000000 648.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 112.000000 648.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -8.000000 528.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -248.000000 528.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -128.000000 528.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 112.000000 528.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -368.000000 528.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -368.000000 1008.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 112.000000 1008.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -8.000000 1008.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -248.000000 1008.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -128.000000 1008.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -368.000000 888.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -248.000000 888.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -128.000000 888.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -8.000000 888.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 112.000000 888.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -8.000000 768.000000 2812.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
46d9036f9022377772b07a929811a6e15f7ec615 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Gráfico de Pizza.sce | e051f24b5455cc416b48818ff931dcaad3cf2e65 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | Gráfico de Pizza.sce | clc
clear
close
pie([53 42 62 20],[2 1 1 1],["parte 1","parte 2","parte 3","parte 4"]);
// Valores, distâncias entre as fatias, rótulos.
|
770b2ca2df4ede2c2931edff7ccaa6b3c998c3ae | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.7_4.tst | 5c2782d54085fcec86994d9ecfe05cba752ccfc8 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25,785 | tst | bow.7_4.tst | 7 7:0.3333333333333333 8:0.05555555555555555 14:2.0 17:0.25 21:0.5 31:0.16666666666666666 45:0.6666666666666666 123:0.5 128:0.5 189:0.5 214:1.0 275:0.5 301:1.0 328:0.14285714285714285 337:1.0 601:2.0 726:1.0 798:1.0 816:1.0 876:1.0 898:0.06060606060606061 1121:0.5 2157:1.0 3534:0.3333333333333333 3537:1.0 3553:1.0 3593:1.0 3631:1.0 3982:1.0 3987:1.0 5465:1.0
7 8:0.2222222222222222 12:1.0 21:0.5 31:0.3333333333333333 88:0.5 116:1.0 123:0.5 187:1.0 193:0.047619047619047616 328:0.14285714285714285 617:1.0 2218:1.0 4019:1.0 4110:1.0 4266:1.0 4533:1.0 5893:1.0
7 8:0.05555555555555555 17:0.25 31:0.16666666666666666 123:0.5 169:0.1 232:1.0 300:2.0 404:1.0 2710:1.0 3510:0.06666666666666667 3595:0.5 4078:0.3333333333333333 4101:1.0 4757:1.0
7 7:0.16666666666666666 14:1.0 44:1.0 45:0.3333333333333333 123:0.5 128:0.25 169:0.1 195:1.0 328:0.2857142857142857 477:0.1 745:1.0 875:1.0 898:0.030303030303030304 976:1.0 1522:1.0 2909:1.0 3532:1.0 3534:0.3333333333333333 3555:1.0 3565:1.0 3604:1.0 3865:1.0 4428:1.0 5988:1.0 6262:1.0 6265:1.0
7 8:0.05555555555555555 26:1.0 45:0.3333333333333333 123:0.5 141:1.0 161:0.5 328:0.14285714285714285 718:0.5 1257:1.0 1405:0.5 1716:1.0 3594:1.0 4328:1.0 5702:1.0
7 7:0.16666666666666666 8:0.05555555555555555 12:1.0 31:0.3333333333333333 45:0.6666666666666666 91:1.0 99:0.3333333333333333 101:1.0 128:0.25 133:1.0 164:0.5 328:0.14285714285714285 385:0.16666666666666666 767:1.0 954:0.5 1338:1.0 2266:1.0 3510:0.06666666666666667 3525:1.0 4052:1.0 4965:1.0 6045:1.0
7 7:0.16666666666666666 8:0.05555555555555555 17:0.25 21:0.5 31:0.3333333333333333 45:0.3333333333333333 88:0.5 101:1.0 134:1.0 164:0.5 190:1.0 202:1.0 208:1.0 214:1.0 259:0.3333333333333333 437:1.0 523:1.0 741:1.0 1853:1.0 1939:1.0 2124:1.0 3534:0.3333333333333333 3768:1.0 3847:1.0 3981:1.0 4010:1.0 4316:0.5 4675:1.0 5465:1.0
7 6:0.3333333333333333 7:0.16666666666666666 12:1.0 14:2.0 21:1.0 31:0.16666666666666666 45:0.3333333333333333 58:0.1 142:1.0 328:0.14285714285714285 799:0.25 1189:0.5 1560:1.0 2343:1.0 2973:1.0 3716:1.0 3749:1.0 4180:1.0 4516:1.0 4547:1.0 5341:1.0 5710:1.0 5776:1.0 6204:1.0
7 7:0.16666666666666666 8:0.05555555555555555 12:1.0 17:0.25 31:0.16666666666666666 45:0.6666666666666666 128:0.25 133:1.0 134:1.0 165:1.0 169:0.1 189:0.5 214:1.0 259:0.3333333333333333 404:1.0 522:1.0 670:1.0 816:1.0 876:1.0 898:0.030303030303030304 919:0.2 1716:1.0 1939:1.0 3297:0.5 3534:0.3333333333333333 4115:1.0 6404:1.0
7 7:0.3333333333333333 8:0.05555555555555555 12:2.0 14:1.0 17:0.25 31:0.16666666666666666 45:0.6666666666666666 54:0.5 88:0.5 99:0.3333333333333333 101:1.0 142:2.0 169:0.1 259:0.3333333333333333 274:1.0 328:0.14285714285714285 404:1.0 528:1.0 876:1.0 1009:1.0 1920:1.0 2710:1.0 3555:1.0 3569:1.0 3595:0.5 3730:1.0 3749:0.5 4211:1.0 4216:1.0 4454:0.16666666666666666 4671:0.5 4840:1.0 4984:1.0 5183:1.0 6107:1.0 6404:1.0
7 7:0.16666666666666666 8:0.05555555555555555 40:0.5 51:0.2 88:0.5 123:0.5 128:0.5 130:0.5 214:2.0 259:0.3333333333333333 295:0.5 332:1.0 420:0.5 437:1.0 489:0.5 827:1.0 842:1.0 949:1.0 1807:1.0 2216:1.0 3570:1.0 3595:0.5 3630:0.25 3649:1.0 4122:0.5 4340:1.0 5227:1.0 6404:1.0
7 7:0.16666666666666666 52:1.0 88:0.5 98:0.5 123:0.5 134:1.0 161:1.0 295:0.5 328:0.14285714285714285 339:1.0 718:0.5 898:0.030303030303030304 1189:0.5 1808:1.0 3534:0.5 3604:1.0 3795:0.25 4128:1.0 5818:1.0
7 58:0.1 88:0.5 123:0.5 128:0.5 130:0.5 273:0.5 281:0.5 301:1.0 453:1.0 477:0.1 489:0.5 876:1.0 898:0.030303030303030304 1382:1.0 1746:1.0 2574:1.0 3358:1.0 3534:0.5 3536:0.3333333333333333 3930:0.5 3938:1.0 4020:1.0 4508:0.5 4669:1.0
7 21:1.0 24:1.0 45:0.6666666666666666 55:1.0 195:1.0 214:1.0 728:1.0 1462:1.0 1745:0.5 1784:1.0 2944:1.0 3524:1.0 3722:0.5 3865:1.0 4020:1.0 4316:0.5 4537:0.3333333333333333 5534:1.0 6407:1.0
7 8:0.16666666666666666 17:0.25 21:1.0 24:1.0 31:0.6666666666666666 45:0.6666666666666666 58:0.1 83:1.0 86:0.16666666666666666 88:0.5 99:0.3333333333333333 137:1.0 141:1.0 169:0.1 195:1.0 214:2.0 259:0.3333333333333333 268:1.0 404:1.0 409:0.3333333333333333 507:0.5 642:1.0 670:1.0 872:0.5 898:0.030303030303030304 1088:1.0 1230:1.0 1807:1.0 1920:1.0 2124:1.0 3110:1.0 3534:0.16666666666666666 3574:0.5 3664:1.0 4048:0.25 4058:1.0 4059:1.0 4139:1.0 4211:1.0 4316:0.5 4458:0.5 4707:1.0 4762:1.0 5928:1.0 6114:1.0
7 8:0.2222222222222222 12:1.0 14:1.0 88:0.5 161:0.5 169:0.1 193:0.047619047619047616 263:1.0 295:0.5 522:1.0 576:1.0 728:1.0 898:0.030303030303030304 1309:1.0 1338:1.0 1608:0.5 2806:1.0 3534:0.3333333333333333 3694:1.0 3886:1.0 4097:1.0 5284:1.0
7 14:2.0 88:1.0 128:0.5 328:0.14285714285714285 448:1.0 477:0.2 601:1.0 876:1.0 898:0.030303030303030304 1230:1.0 1286:1.0 1296:1.0 1315:1.0 1608:0.5 2806:1.0 3534:0.16666666666666666 3536:0.3333333333333333 3668:0.5 3793:1.0 3795:0.25
7 7:0.3333333333333333 8:0.16666666666666666 14:1.0 21:0.5 214:1.0 328:0.2857142857142857 898:0.06060606060606061 1083:1.0 1311:1.0 1598:0.25 1936:1.0 2641:1.0 3525:1.0 3534:0.5 3537:1.0 3694:1.0 4508:0.5 4520:1.0 5063:1.0
7 17:0.25 21:0.5 22:0.14285714285714285 88:0.5 101:1.0 129:0.5 281:0.5 282:1.0 706:1.0 898:0.030303030303030304 976:1.0 1214:1.0 3534:0.16666666666666666 3551:1.0 3578:1.0 3795:0.25 3865:1.0 4928:1.0 5482:1.0 5529:1.0
7 8:0.16666666666666666 14:1.0 17:0.25 21:0.5 31:0.16666666666666666 51:0.2 55:1.0 83:1.0 99:0.3333333333333333 101:1.0 128:0.25 133:1.0 134:3.0 161:0.5 193:0.047619047619047616 214:1.0 259:0.6666666666666666 328:0.14285714285714285 523:1.0 2044:1.0 3515:1.0 3573:1.0 3595:0.5 3944:1.0 3987:1.0 4038:0.5 4056:1.0 4216:1.0 5832:1.0 5902:1.0 6068:1.0
7 17:0.25 54:0.5 88:0.5 99:0.3333333333333333 399:1.0 898:0.09090909090909091 1135:1.0 3534:0.5 3604:1.0 3734:1.0 4316:0.5 4397:1.0 5615:1.0
7 31:0.3333333333333333 190:1.0 214:1.0 328:0.14285714285714285 870:1.0 898:0.06060606060606061 980:1.0 3534:0.6666666666666666 3630:0.25 3749:0.5 3895:1.0
7 8:0.05555555555555555 17:0.25 45:0.3333333333333333 61:0.5 88:1.0 91:1.0 107:1.0 128:0.25 130:0.5 214:1.0 259:0.3333333333333333 281:0.5 576:1.0 1439:1.0 1815:1.0 2157:1.0 2654:0.3333333333333333 3534:0.16666666666666666 3965:1.0 4855:1.0 5108:1.0
7 295:0.5 3722:0.5 3968:1.0 4666:1.0
7 17:0.25 21:0.5 44:1.0 45:0.6666666666666666 51:0.2 61:0.5 88:1.0 107:1.0 130:0.5 169:0.1 228:0.5 275:0.5 328:0.42857142857142855 340:0.5 573:1.0 876:1.0 1405:0.5 2710:1.0 2903:1.0 3730:1.0 4108:1.0 4840:1.0 5161:1.0 5200:1.0
7 12:1.0 14:1.0 17:0.25 22:0.14285714285714285 45:0.3333333333333333 51:0.2 83:1.0 88:0.5 169:0.1 201:0.3333333333333333 266:1.0 385:0.16666666666666666 460:1.0 522:1.0 573:1.0 649:1.0 798:1.0 827:1.0 876:1.0 1189:0.5 2852:1.0 3534:0.3333333333333333 3569:1.0 3607:1.0 4216:1.0 4671:0.5 5832:1.0 6421:1.0
7 8:0.05555555555555555 14:1.0 17:0.25 21:0.5 45:0.6666666666666666 55:2.0 88:2.0 99:0.3333333333333333 101:2.0 128:0.25 228:0.5 252:0.5 300:2.0 347:1.0 460:1.0 538:0.5 642:1.0 876:1.0 1070:1.0 1143:1.0 1439:1.0 1734:1.0 1962:2.0 2235:1.0 2560:1.0 3110:2.0 3534:0.16666666666666666 3536:0.3333333333333333 3722:1.0 3793:1.0 3795:0.25 4328:1.0 4837:1.0 5012:0.5 5040:1.0
7 8:0.05555555555555555 14:2.0 31:0.16666666666666666 1157:1.0 1745:1.0 2008:2.0 3451:1.0 3536:0.3333333333333333 3601:0.5 3895:3.0
7 7:0.16666666666666666 8:0.16666666666666666 14:1.0 21:0.5 22:0.14285714285714285 69:0.3333333333333333 88:0.5 99:0.3333333333333333 123:1.5 130:0.5 133:1.0 134:1.0 214:2.0 300:1.0 328:0.14285714285714285 477:0.1 494:1.0 576:1.0 1214:2.0 1287:2.0 3515:2.0 3534:0.16666666666666666 3597:1.0 3626:1.0 4030:0.5 4066:1.0 4097:1.0 4131:1.0 4863:1.0 5314:1.0 5718:1.0
7 14:2.0 17:0.25 45:0.6666666666666666 88:0.5 99:0.3333333333333333 123:0.5 232:1.0 295:0.5 328:0.14285714285714285 332:1.0 437:1.0 799:0.25 1064:2.0 1394:1.0 1931:1.0 3510:0.06666666666666667 3534:0.16666666666666666 3814:1.0 3815:1.0 3831:1.0 4216:1.0 4326:1.0 4328:1.0 5400:1.0 5465:1.0 5836:1.0
7 17:0.25 21:1.0 29:1.0 45:0.3333333333333333 145:0.2 165:1.0 298:1.0 305:1.0 326:0.5 328:0.14285714285714285 337:1.0 437:1.0 898:0.030303030303030304 3269:1.0 3534:0.16666666666666666 3604:1.0 3722:1.0 3780:1.0 3982:1.0 5775:1.0
7 7:0.16666666666666666 8:0.05555555555555555 14:1.0 45:0.3333333333333333 88:0.5 101:1.0 161:0.5 193:0.047619047619047616 214:1.0 445:1.0 965:1.0 3510:0.06666666666666667 3574:0.5 3945:0.25 3998:1.0 4010:1.0 5465:1.0
7 6:0.3333333333333333 12:1.0 17:0.5 31:0.16666666666666666 45:0.3333333333333333 58:0.2 77:0.3333333333333333 88:1.0 128:0.5 134:1.0 145:0.2 193:0.047619047619047616 214:1.0 298:1.0 522:1.0 528:3.0 542:0.5 576:2.0 2734:1.0 2952:1.0 3510:0.06666666666666667 3524:1.0 3534:0.3333333333333333 3551:1.0 3593:1.0 3617:1.0 3901:1.0 3930:0.5 4454:0.16666666666666666 4641:1.0
7 7:0.16666666666666666 14:1.0 31:0.16666666666666666 58:0.1 123:0.5 128:0.5 161:1.0 214:1.0 263:1.0 385:0.16666666666666666 449:1.0 453:1.0 753:1.0 799:0.25 898:0.030303030303030304 2124:1.0 3532:1.0 3534:0.3333333333333333 3912:0.5 4010:1.0 4816:1.0
7 51:0.2 193:0.047619047619047616 385:0.16666666666666666 3510:0.06666666666666667 3535:1.0 3607:1.0 3998:1.0 4085:1.0
7 31:0.16666666666666666 195:1.0 816:1.0 898:0.030303030303030304 2806:1.0 3534:0.16666666666666666 3553:1.0 3564:1.0 3661:0.3333333333333333 3915:1.0 3916:1.0 4112:1.0 4316:0.5 4595:1.0 5116:1.0 5476:1.0 5661:1.0 6056:1.0
7 8:0.05555555555555555 61:0.5 98:0.5 274:1.0 295:0.5 652:1.0 1807:1.0 3536:0.3333333333333333 3553:1.0
7 8:0.05555555555555555 21:0.5 45:0.6666666666666666 61:0.5 142:1.0 169:0.1 214:1.0 281:0.5 288:1.0 298:1.0 328:0.14285714285714285 692:1.0 1256:1.0 1907:1.0 3915:1.0 3981:1.0 4004:1.0 4034:1.0 4097:1.0 4112:1.0 4488:1.0 4883:1.0 4939:0.3333333333333333 5241:1.0 6113:1.0
7 8:0.16666666666666666 17:0.75 21:1.5 23:0.25 45:0.6666666666666666 51:0.2 70:1.0 77:0.3333333333333333 88:0.5 99:0.6666666666666666 161:0.5 162:1.0 172:1.0 193:0.047619047619047616 204:1.0 214:1.0 300:2.0 301:1.0 326:0.5 328:0.14285714285714285 523:2.0 528:1.0 798:1.0 898:0.030303030303030304 1066:1.0 1655:1.0 2351:1.0 3478:1.0 3534:0.3333333333333333 3604:1.0 3722:0.5 3727:0.5 3815:1.0 4030:0.5 5561:1.0 5871:1.0
7 6:0.3333333333333333 7:0.16666666666666666 12:1.0 17:0.5 21:0.5 22:0.14285714285714285 31:0.16666666666666666 45:1.0 58:0.2 95:0.5 137:1.0 169:0.1 193:0.047619047619047616 260:0.5 295:0.5 404:1.0 506:1.0 576:1.0 697:0.5 871:1.0 919:0.6 1430:1.0 2078:1.0 2219:0.5 3107:1.0 3524:1.0 3562:1.0 3649:1.0 3982:1.0 3983:1.0 5077:1.0 6091:1.0 6197:1.0
7 8:0.2222222222222222 14:1.0 17:0.5 21:0.5 31:0.16666666666666666 45:0.3333333333333333 130:0.5 161:0.5 275:0.5 295:0.5 610:1.0 666:1.0 1050:0.5 1777:1.0 2176:1.0 3491:1.0 4767:1.0 5999:1.0
7 8:0.05555555555555555 17:0.25 31:0.16666666666666666 45:0.3333333333333333 54:0.5 193:0.047619047619047616 195:1.0 385:0.16666666666666666 919:0.2 2996:1.0 3056:1.0 3607:1.0 3661:0.3333333333333333 3749:1.0 3863:1.0 4271:1.0 5407:1.0 6100:1.0 6332:1.0
7 21:0.5 128:0.25 2124:1.0 3468:1.0 3534:0.16666666666666666 3607:1.0 4085:1.0 4623:1.0
7 8:0.1111111111111111 17:0.5 21:0.5 22:0.14285714285714285 45:0.3333333333333333 95:0.5 129:0.5 275:0.5 301:1.0 305:1.0 328:0.14285714285714285 343:1.0 941:0.5 1439:1.0 1446:0.3333333333333333 2124:1.0 3630:0.25 3912:0.5 4350:1.0 5145:1.0 5311:1.0 5860:1.0 6082:1.0
7 8:0.05555555555555555 13:1.0 17:0.25 21:0.5 45:0.6666666666666666 58:0.1 77:0.3333333333333333 86:0.16666666666666666 96:1.0 123:0.5 134:1.0 141:1.0 169:0.1 193:0.047619047619047616 282:1.0 290:0.5 301:1.0 305:1.0 328:0.42857142857142855 872:0.5 2606:1.0 4225:1.0 4546:1.0 4547:1.0 5516:1.0 5725:1.0
7 45:0.3333333333333333 193:0.047619047619047616 259:0.3333333333333333 328:0.14285714285714285 385:0.16666666666666666 638:1.0 3195:1.0 3510:0.06666666666666667 3534:0.16666666666666666 3607:1.0 3943:1.0 4085:1.0 4508:0.5 4537:0.3333333333333333 4817:1.0
7 8:0.05555555555555555 13:1.0 58:0.1 88:0.5 101:1.0 142:1.0 168:1.0 193:0.047619047619047616 872:0.5 1598:0.25 2606:1.0 3551:1.0 3814:1.0 4071:1.0 4271:1.0 4546:1.0 4547:1.0 4939:0.3333333333333333 6048:1.0 6406:1.0
7 8:0.05555555555555555 12:1.0 14:1.0 17:0.25 44:1.0 45:1.0 88:0.5 123:0.5 131:1.0 137:1.0 214:1.0 268:1.0 400:1.0 799:0.25 1123:1.0 1132:1.0 1253:1.0 1309:1.0 1826:1.0 2614:1.0 3297:0.5 3534:0.16666666666666666 3555:1.0 3749:0.5 3886:1.0 4211:1.0 4454:0.16666666666666666 4950:1.0 6101:1.0
7 8:0.1111111111111111 17:0.25 45:0.3333333333333333 88:1.0 99:0.3333333333333333 128:0.25 165:1.0 193:0.047619047619047616 214:1.0 252:0.5 259:0.3333333333333333 292:1.0 305:1.0 477:0.1 600:0.3333333333333333 827:1.0 872:0.5 898:0.030303030303030304 1135:1.0 3604:1.0 3739:1.0 4488:1.0
7 8:0.1111111111111111 12:1.0 88:0.5 130:0.5 214:1.0 252:0.5 342:1.0 576:1.0 600:0.3333333333333333 870:1.0 898:0.030303030303030304 2040:1.0 3534:0.3333333333333333 3551:1.0 3757:1.0 5871:1.0
7 8:0.16666666666666666 12:1.0 17:0.25 21:0.5 54:0.5 88:1.0 153:0.3333333333333333 214:1.0 342:1.0 898:0.030303030303030304 1201:1.0 1411:1.0 3534:0.16666666666666666 3668:0.5 4677:0.5 4850:1.0 4871:1.0 5174:1.0 6157:1.0
7 8:0.05555555555555555 45:0.3333333333333333 58:0.1 84:1.0 88:1.0 134:1.0 328:0.14285714285714285 409:0.3333333333333333 531:1.0 904:1.0 1322:1.0 3053:1.0 3739:1.0 3757:1.0 4066:1.0 4108:1.0 4185:1.0 5212:1.0
7 17:0.25 69:0.3333333333333333 88:1.0 95:0.5 187:1.0 267:0.5 274:1.0 342:1.0 409:0.3333333333333333 600:0.3333333333333333 614:1.0 803:1.0 811:1.0 1322:1.0 1960:1.0 2219:1.0 3515:1.0 3604:1.0 3757:1.0 3817:1.0 4947:1.0 5031:1.0
7 8:0.1111111111111111 17:0.5 21:0.5 31:0.5 84:1.0 98:0.5 134:2.0 211:1.0 252:0.5 522:1.0 880:1.0 1121:0.5 1807:1.0 2165:1.0 2952:1.0 3515:1.0 3668:0.5 3961:1.0 4145:1.0 4316:0.5 6280:1.0
7 8:0.1111111111111111 14:2.0 17:0.25 21:1.0 69:0.3333333333333333 88:1.0 134:1.0 161:0.5 259:0.3333333333333333 275:0.5 326:0.5 328:0.14285714285714285 445:1.0 477:0.1 567:1.0 670:1.0 1500:1.0 2102:0.5 3722:0.5 3739:1.0 3756:1.0 3913:1.0 4156:1.0 5156:1.0 5181:1.0 5572:1.0
7 6:0.6666666666666666 8:0.1111111111111111 14:1.0 21:0.5 31:0.16666666666666666 45:0.3333333333333333 88:0.5 99:0.3333333333333333 167:1.0 220:1.0 328:0.2857142857142857 538:0.5 604:1.0 771:1.0 876:1.0 898:0.030303030303030304 1050:0.5 1611:1.0 1687:1.0 1826:1.0 3520:1.0 3534:0.16666666666666666 3570:1.0 3668:0.5 4259:1.0 4316:0.5 4460:1.0 4654:1.0 5476:1.0 5858:0.5
7 7:0.3333333333333333 8:0.1111111111111111 21:0.5 45:0.6666666666666666 81:0.5 84:1.0 88:0.5 130:0.5 131:1.0 190:1.0 212:1.0 214:1.0 287:1.0 288:1.0 291:1.0 337:1.0 489:0.5 2176:1.0 2873:1.0 2885:1.0 2942:1.0 3532:1.0 3555:1.0 3668:0.5 3863:1.0 3930:0.5 4268:1.0 4316:0.5 4736:1.0 4918:1.0 5312:1.0 6205:1.0
7 7:0.16666666666666666 8:0.05555555555555555 12:1.0 24:1.0 45:0.3333333333333333 81:0.5 84:1.0 259:0.3333333333333333 301:1.0 3722:0.5 4022:1.0 4101:1.0 4102:1.0 4170:1.0 4397:1.0 4530:1.0
7 8:0.05555555555555555 14:3.0 31:0.3333333333333333 45:0.3333333333333333 137:1.0 153:0.3333333333333333 162:1.0 189:0.5 214:1.0 239:0.3333333333333333 259:0.3333333333333333 448:1.0 523:1.0 816:1.0 1299:1.0 3534:0.3333333333333333 3536:0.3333333333333333 3551:1.0 3737:1.0 3757:1.0 4094:0.3333333333333333 5158:1.0 5928:1.0
7 7:0.16666666666666666 8:0.05555555555555555 21:0.5 22:0.14285714285714285 23:0.25 45:0.3333333333333333 52:1.0 128:0.25 266:1.0 409:0.3333333333333333 919:0.2 1113:1.0 1807:1.0 3716:1.0 3983:1.0 4312:1.0 4358:1.0 5391:1.0
7 7:0.16666666666666666 8:0.05555555555555555 21:0.5 31:0.3333333333333333 45:0.3333333333333333 69:0.3333333333333333 84:1.0 116:1.0 123:0.5 130:0.5 141:1.0 193:0.047619047619047616 273:0.5 275:0.5 328:0.14285714285714285 437:1.0 576:1.0 798:1.0 1050:0.5 1598:0.25 3110:1.0 3562:1.0 4211:1.0 5130:1.0 5242:1.0 5407:1.0 6053:1.0
7 7:0.16666666666666666 17:0.25 79:1.0 128:0.25 137:1.0 193:0.047619047619047616 214:1.0 239:0.3333333333333333 266:1.0 327:1.0 448:1.0 706:1.0 2216:1.0 2219:0.5 2409:1.0 2711:1.0 3843:0.14285714285714285 4031:1.0 4975:1.0
7 8:0.1111111111111111 14:1.0 22:0.14285714285714285 45:0.3333333333333333 88:0.5 123:1.0 169:0.1 295:0.5 328:0.14285714285714285 385:0.16666666666666666 417:0.16666666666666666 610:1.0 697:0.5 898:0.030303030303030304 1257:1.0 1337:1.0 1497:1.0 2240:1.0 3297:0.5 3534:0.6666666666666666 3562:1.0 3604:1.0 3607:1.0 3800:1.0 3895:1.0 4102:1.0 4222:1.0 4328:1.0
7 31:0.16666666666666666 54:0.5 58:0.1 69:0.3333333333333333 99:0.6666666666666666 133:1.0 161:0.5 193:0.047619047619047616 214:1.0 827:1.0 3515:2.0 4058:1.0 4059:1.0 4097:1.0 4340:1.0 4775:0.3333333333333333 4840:1.0 5141:0.5 5227:1.0 5270:1.0
7 7:0.16666666666666666 8:0.05555555555555555 17:0.25 22:0.14285714285714285 115:1.0 162:1.0 193:0.047619047619047616 214:1.0 337:1.0 477:0.2 528:1.0 1497:1.0 2409:1.0 3534:0.3333333333333333 3542:1.0 3553:1.0 3985:1.0 4139:1.0 4192:1.0 4566:0.5 5094:1.0 5508:1.0 5606:1.0
7 8:0.16666666666666666 17:0.25 21:1.0 31:0.16666666666666666 45:0.3333333333333333 145:0.2 193:0.047619047619047616 277:1.0 301:1.0 1659:1.0 2235:1.0 2374:1.0 3354:1.0 3534:0.16666666666666666 3535:1.0 4097:1.0 4308:1.0 5661:0.5
7 7:0.16666666666666666 8:0.16666666666666666 21:0.5 31:0.16666666666666666 45:0.3333333333333333 133:1.0 165:1.0 275:1.0 319:1.0 1128:0.5 3555:1.0 3694:1.0 3750:1.0 4308:1.0 4454:0.16666666666666666 5661:0.5
7 8:0.05555555555555555 3510:0.06666666666666667 3534:0.16666666666666666 4882:1.0 5021:1.0 6126:1.0
7 17:0.25 86:0.16666666666666666 99:0.3333333333333333 115:1.0 123:0.5 128:0.25 134:2.0 161:0.5 260:0.5 273:0.5 275:0.5 417:0.16666666666666666 420:0.5 449:1.0 718:0.5 898:0.030303030303030304 1340:1.0 1706:1.0 1807:1.0 2984:1.0 3534:0.16666666666666666 4053:1.0 4211:1.0 5391:1.0 5416:1.0
7 8:0.05555555555555555 12:1.0 14:1.0 51:0.2 134:1.0 167:1.0 169:0.1 195:1.0 328:0.14285714285714285 631:1.0 872:0.5 3519:0.5 3534:0.16666666666666666 3772:1.0 4101:1.0 4181:1.0 6188:1.0
7 8:0.05555555555555555 21:0.5 86:0.16666666666666666 88:0.5 128:0.25 131:1.0 214:1.0 331:1.0 477:0.1 872:0.5 1300:0.5 2106:1.0 3665:1.0 3668:0.5 3717:1.0 4537:0.3333333333333333
7 7:0.16666666666666666 8:0.1111111111111111 21:1.0 26:1.0 31:0.16666666666666666 45:0.3333333333333333 55:1.0 99:0.3333333333333333 101:1.0 123:0.5 134:2.0 142:2.0 189:0.5 270:1.0 500:1.0 692:1.0 1257:1.0 3227:1.0 3297:0.5 3431:1.0 3457:1.0 3530:1.0 3534:0.16666666666666666 3574:0.5 3717:1.0
7 14:1.0 17:0.5 21:0.5 131:1.0 193:0.047619047619047616 281:0.5 300:1.0 328:0.14285714285714285 353:1.0 385:0.16666666666666666 461:1.0 726:1.0 1050:0.5 3536:0.3333333333333333 3553:1.0 3937:1.0 3941:1.0 4116:1.0 4166:1.0 4294:0.5 5130:1.0
7 8:0.1111111111111111 45:0.3333333333333333 131:1.0 142:1.0 195:1.0 274:1.0 328:0.14285714285714285 453:1.0 461:1.0 522:1.0 1815:1.0 3515:1.0 3722:0.5 3895:1.0 4939:0.3333333333333333
7 7:0.3333333333333333 17:0.75 21:0.5 26:1.0 45:0.3333333333333333 54:0.5 61:0.5 116:1.0 184:0.5 208:1.0 214:2.0 327:0.5 477:0.1 514:1.0 840:1.0 1497:1.0 2955:1.0 3512:1.0 3534:0.5 3604:1.0 3664:1.0 3722:0.5 3930:0.5 4182:1.0 4340:1.0 4684:1.0 5130:2.0 5311:1.0 5505:1.0
7 88:0.5 99:0.3333333333333333 123:0.5 162:1.0 193:0.09523809523809523 214:1.0 259:0.6666666666666666 328:0.14285714285714285 477:0.1 523:2.0 898:0.030303030303030304 1608:0.5 2972:2.0 3525:1.0 3534:0.16666666666666666 3930:0.5 4308:1.0 4418:1.0 5243:1.0
7 24:1.0 45:0.3333333333333333 86:0.16666666666666666 88:0.5 128:0.25 146:1.0 214:2.0 270:1.0 328:0.14285714285714285 437:1.0 726:1.0 899:1.0 2124:1.0 2229:1.0 3406:1.0 3601:1.0 4427:0.5 5358:1.0
7 8:0.1111111111111111 14:2.0 17:0.25 32:0.5 45:0.3333333333333333 88:0.5 93:1.0 131:1.0 137:1.0 161:0.5 187:1.0 193:0.047619047619047616 212:1.0 274:1.0 328:0.5714285714285714 477:0.1 489:0.5 507:0.5 531:1.0 538:0.5 1013:0.5 1253:1.0 1662:0.5 3204:1.0 3694:1.0 3722:0.5 4308:1.0 4454:0.16666666666666666 4651:1.0 4666:1.0 4677:0.5 5416:1.0 5823:1.0 5824:1.0 6030:1.0
7 8:0.2222222222222222 26:1.0 32:0.5 77:0.3333333333333333 107:1.0 123:0.5 128:0.25 162:1.0 193:0.09523809523809523 214:1.0 566:1.0 1503:1.0 1777:1.0 3510:0.06666666666666667 3535:1.0 3907:1.0 4537:0.3333333333333333 5187:0.5 5568:1.0
7 7:0.16666666666666666 8:0.05555555555555555 14:1.0 21:0.5 115:1.0 123:0.5 204:1.0 214:2.0 343:1.0 522:1.0 548:0.06666666666666667 898:0.030303030303030304 1009:1.0 1204:1.0 1465:1.0 1470:1.0 1807:2.0 2143:1.0 3510:0.06666666666666667 3534:0.16666666666666666 3537:1.0 3593:1.0 3616:1.0 4058:1.0 4059:1.0 4972:1.0 5238:1.0
7 31:0.16666666666666666 61:0.5 69:0.3333333333333333 88:0.5 99:0.6666666666666666 123:1.0 133:1.0 193:0.09523809523809523 195:1.0 228:0.5 328:0.14285714285714285 576:1.0 866:1.0 1053:1.0 1608:0.5 2473:1.0 2880:1.0 3524:1.0 3534:0.16666666666666666 3857:1.0 4488:1.0
7 8:0.05555555555555555 17:0.25 21:0.5 77:0.3333333333333333 86:0.16666666666666666 116:1.0 123:0.5 169:0.2 193:0.047619047619047616 266:1.0 799:0.25 937:0.2 3110:1.0 3534:0.16666666666666666 3694:1.0 3768:1.0 3895:1.0 3965:1.0 4568:1.0 4604:1.0 4904:1.0 5338:1.0 5746:1.0
7 8:0.05555555555555555 12:1.0 22:0.14285714285714285 31:0.16666666666666666 54:0.5 55:1.0 61:0.5 77:0.3333333333333333 99:0.3333333333333333 123:0.5 128:0.25 129:0.5 160:1.0 161:0.5 193:0.14285714285714285 295:0.5 328:0.14285714285714285 342:2.0 522:1.0 576:1.0 954:0.5 965:1.0 1013:0.5 1053:1.0 1608:0.5 1939:1.0 2357:1.0 2806:1.0 3278:1.0 3515:1.0 3524:1.0 3534:0.16666666666666666 3668:0.5 3768:1.0 3918:1.0 4097:1.0 4508:0.5 4840:1.0 6299:0.5
7 8:0.05555555555555555 45:0.3333333333333333 54:0.5 58:0.1 88:0.5 128:0.5 214:1.0 301:1.0 573:1.0 799:0.25 876:1.0 1962:1.0 3291:1.0 3510:0.06666666666666667 3515:1.0 3524:1.0 4097:1.0 4454:0.16666666666666666 4972:1.0 6391:1.0
7 31:0.3333333333333333 45:1.0 88:0.5 99:0.3333333333333333 116:1.0 130:0.5 165:1.0 169:0.1 174:0.09090909090909091 214:1.0 507:0.5 858:1.0 900:0.5 1128:0.5 1931:1.0 2218:1.0 3534:0.6666666666666666 3722:0.5 3749:0.5 3895:2.0 4048:0.25 4659:1.0
7 8:0.1111111111111111 14:1.0 17:0.5 31:0.16666666666666666 45:0.3333333333333333 83:1.0 101:1.0 201:0.3333333333333333 214:1.0 270:1.0 275:0.5 437:1.0 890:1.0 1405:0.5 2040:1.0 3512:1.0 3570:1.0 3814:1.0 4057:1.0 4066:1.0 4274:0.5 5713:1.0 5757:1.0 6382:1.0
7 8:0.1111111111111111 12:1.0 14:1.0 21:0.5 24:1.0 58:0.2 88:0.5 115:1.0 123:0.5 130:0.5 131:1.0 142:1.0 145:0.4 162:1.0 214:1.0 465:1.0 478:1.0 576:1.0 827:1.0 3297:0.5 3515:1.0 3534:0.3333333333333333 3551:1.0 3553:1.0 3604:1.0 3661:0.3333333333333333 3664:1.0 3765:1.0 3768:1.0 4268:1.0 4397:1.0 4418:1.0 5183:1.0 6086:1.0
7 7:0.16666666666666666 8:0.05555555555555555 17:0.25 31:0.16666666666666666 45:0.3333333333333333 123:0.5 128:0.25 131:1.0 187:1.0 193:0.047619047619047616 295:0.5 328:0.14285714285714285 337:1.0 385:0.16666666666666666 461:1.0 477:0.1 827:1.0 1227:1.0 1706:1.0 1777:1.0 2519:1.0 3053:1.0 3534:0.3333333333333333 3555:1.0 3607:1.0 4655:1.0
7 8:0.05555555555555555 12:1.0 21:0.5 22:0.14285714285714285 31:0.3333333333333333 61:0.5 130:0.5 161:0.5 193:0.047619047619047616 214:1.0 259:0.3333333333333333 328:0.14285714285714285 1050:0.5 2357:1.0 3297:0.5 3515:1.0 3604:1.0 3668:0.5 3768:1.0 3814:1.0 3982:1.0 3987:1.0 4010:1.0 4097:1.0 4110:1.0 4232:1.0 4470:1.0 4840:1.0 4924:1.0 5064:1.0 5241:1.0 5407:1.0
7 8:0.1111111111111111 12:1.0 14:1.0 61:0.5 142:1.0 184:0.5 328:0.14285714285714285 3524:1.0 3856:1.0 4091:1.0 4095:1.0 4096:1.0 4671:0.5 5591:1.0
7 17:1.0 31:0.16666666666666666 45:0.3333333333333333 88:1.0 123:0.5 162:1.0 189:0.5 193:0.09523809523809523 195:2.0 214:1.0 230:0.5 301:1.0 448:1.0 478:1.0 537:1.0 824:1.0 1664:0.5 2426:1.0 2996:1.0 3749:0.5 4335:1.0 5123:1.0 6433:1.0
7 8:0.1111111111111111 31:0.16666666666666666 86:0.16666666666666666 88:1.0 123:0.5 131:1.0 161:0.5 165:1.0 195:1.0 214:1.0 328:0.14285714285714285 437:1.0 477:0.1 610:2.0 635:1.0 898:0.030303030303030304 1149:1.0 1687:1.0 2565:1.0 2874:1.0 3297:0.5 3519:0.5 3534:0.3333333333333333 3567:1.0 3604:1.0 3661:0.3333333333333333 4066:1.0 4186:1.0 4292:1.0 4454:0.16666666666666666 4656:1.0 4859:1.0 4955:1.0 5123:1.0 5873:1.0
7 8:0.16666666666666666 17:0.25 21:0.5 26:1.0 31:0.3333333333333333 45:0.6666666666666666 162:1.0 168:1.0 195:1.0 201:0.3333333333333333 214:2.0 305:1.0 332:1.0 507:0.5 545:1.0 729:1.0 905:1.0 965:1.0 2218:1.0 2744:1.0 3521:1.0 3532:1.0 3534:0.16666666666666666 3563:1.0 3668:0.5 3776:1.0 3886:1.0 3894:0.125 4076:1.0 4274:0.5 4418:1.0 4551:1.0 4659:1.0
7 7:0.16666666666666666 8:0.1111111111111111 12:2.0 16:1.0 31:0.16666666666666666 45:1.3333333333333333 134:1.0 142:1.0 340:0.5 347:1.0 401:1.0 448:1.0 870:1.0 1337:1.0 1608:0.5 1642:1.0 2426:1.0 2806:1.0 3525:1.0 3532:1.0 3534:0.6666666666666666 3535:1.0 3551:1.0 3555:2.0 3595:0.5 3664:1.0 3831:1.0 4216:1.0 4418:1.0 5624:1.0
7 8:0.05555555555555555 31:0.5 32:0.5 88:0.5 275:0.5 866:1.0 898:0.030303030303030304 3534:0.3333333333333333 3567:1.0 3595:0.5 3819:0.5 4094:0.3333333333333333 4214:1.0 4316:0.5 6084:1.0
7 275:0.5 898:0.030303030303030304 1269:1.0 1430:1.0 3534:0.16666666666666666 3647:1.0 4382:1.0
7 128:0.25 631:1.0 834:1.0 876:1.0 898:0.030303030303030304 3534:0.3333333333333333 3795:0.25 3926:1.0 4039:1.0 4128:1.0 4187:1.0 4382:1.0
7 8:0.05555555555555555 14:1.0 17:0.25 45:0.3333333333333333 61:0.5 88:0.5 128:0.25 145:0.2 161:0.5 228:0.5 259:0.3333333333333333 328:0.14285714285714285 337:1.0 420:0.5 718:0.5 818:1.0 3297:0.5 3510:0.06666666666666667 3534:0.16666666666666666 3616:1.0 4119:1.0 4274:0.5 4418:1.0 5401:1.0
7 8:0.05555555555555555 31:0.16666666666666666 86:0.16666666666666666 88:1.0 101:1.0 123:0.5 130:0.5 134:1.0 145:0.2 193:0.047619047619047616 214:1.0 259:0.3333333333333333 266:1.0 273:0.5 326:0.5 477:0.1 522:2.0 576:1.0 601:1.0 827:1.0 898:0.030303030303030304 899:1.0 2427:1.0 2428:0.5 3534:0.3333333333333333 3556:1.0 3557:1.0 3619:1.0 3895:1.0 4397:1.0 4840:1.0 5811:1.0 6280:1.0
7 17:0.5 123:0.5 130:0.5 161:0.5 331:1.0 477:0.1 937:0.2 1113:1.0 1255:1.0 3519:0.5 3534:0.16666666666666666 3604:1.0 3631:1.0 3768:1.0 4372:1.0 4397:1.0 4470:1.0 5281:1.0 5509:1.0
|
5369eacf94a15432b9b3ffca087e3c29e6174227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.19/Ex32_19.sce | fbcbf2344cd73ba1300d42f7fda7702fcc765ebb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | Ex32_19.sce | // Example 32_19
clc;funcprot(0);
//Given data
L_max=5;// MW
P=7;// Plant capacity in MW
// Calculation
//(a)
t=[0 12 6];// Time in hours
x=[6 12 6];
a=[6 6 6];
b=[5 5 5];// MW
for(i=1:3)
L=(b(i)/a(i))*sqrt((2*a(i)*x(i))-((x(i))^2));
end
b=5;// MW
L_av=(%pi*b)/4;// Average load in MW
// (i)
F_l=L_av/L_max;// Load factor
E=L_av*12;// Energy used during 12-hrs period MW hr
CF=L_av/P;// Capacity factor
printf('\n(a)The average load of the factory=%0.3f MW \n Load factor of the factory=%0.3f MW \n Energy consumed by the factory during 12 hours=%0.1f MW-hr \n Capacity factor=%0.3f',L_av,F_l,E,CF);
//(b)
b=5;
a=4;
t=[0 8 4];// Time in hours
for(i=1:3)
L(i)=2+((b/a)*sqrt((2*a*t(i))-(t(i))^2));
end
L_av=(L(1)+L(2)+L(3))/3;// Average load in MW
printf('\n(b)The average load of the factory=%0.2f MW',L_av);
// The answer vary due to round off error
|
80d313a7be089aef4ebe196a521e78f30570fcb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.2/Example10_2.sce | 5d26bb565f8de1710fb0415d515fff42e0dff43f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Example10_2.sce | clear;
clc;
// Example: 10.2
// Page: 399
printf("Example: 10.2 - Page: 399\n\n");
// Mathematics is involved in proving but just that no numerical computations are involved.
// For prove refer to this example 10.2 on page number 399 of the book.
printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
printf(" For prove refer to this example 10.2 on page 399 of the book."); |
eb0632789c48b5d151c28b4072cd8bed71fa2f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.71/Ex4_71.sce | eb8bb0baf11c16d7e6b5ad8ce5dcebf565c8c509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex4_71.sce | clc;
v=440; // rated voltage of mootor
no=2000; // no load speed
n1=1000; // speed at full load torque
Tl=0.5; // load torque as a fraction of rated torque
n2=1050; // increased speed due to redued torque
// field current is constant so flux is constant
// since torqu gets reduced by half new armature current also gets reduced half i.e ia2=ia1/2;
vd=(v*(n2-n1))/(n2-(n1/2));
printf('Armature voltage drop at full load is %d V',vd);
|
47ddfa9a367bcb8fa3ac221afe9715b01a2ee760 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH13/EX13.5/92ex4.sce | 9cb215d6d514f4194e01f43429af65edeed34f7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sce | 92ex4.sce |
clear;
clc;
close;
x=poly(0,'x');
p1=(3*x-2);
p2=(4*x-7);
p3=p1*p2;
disp(p3,"product=")
|
c478e6c14112a0e88f96519f7f2cd413e667d139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH7/EX7.5/7_5.sce | eafb56f6d3ebc93743bfb6e341a7b84353bb1505 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 7_5.sce | clc
//initialisation of variables
clear
d= 0.366 //ft
i= 12
//CALCULATIONS
pd= d*i
//RESULTS
printf ('Required pipe diameter = %.2f in',pd)
|
7c2348bc91bce1cdfd4067a8d33958b2ce084a80 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/116.sci | 4501924526ab9dfd26ddca26a19e2c55e1d4e965 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 118 | sci | 116.sci | d=3//inches(Diameter of shaft)
u=0.4//ft/sec
dy=0.003//inches
L=8//inches(length of sleeve)
f=20//lb( Shear Force) |
0480a4f7fb78d9fe0a5a5681bfd599f31bd61498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH9/EX9.3.2/9_3_2.sce | 4266e2267f379fc1bd49961efcca8e4f8f681202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,294 | sce | 9_3_2.sce | //CAPTION:Operation_of_a_Four-Cavity_Klystron
//chapter_no.-9, page_no.-386
//Example_no.9-3-2
clc;
//(a) Calculate_the_dc_electron_velocity
V0=18*(10^3);
v0=.593*(10^6)*sqrt(V0);
disp(v0,'the_dc_electron_velocity(in m/s)is =');
//(b) Calculate_the_dc_electron_phase_constant
f=(10*(10^9));//Operating_frequency
w=2*%pi*f
Be=w/v0;
disp(Be,'the_dc_electron_phase_constant(in rads/m)is =');
//(c) Calculate_the_plasma_frequency
po=1*(10^-8);//dc_electron_beam_current_density
wp=((1.759*(10^11)*po)/(8.854*(10^-12)))^(1/2);
disp(wp,'the_plasma_frequency(in rad/s)is =');
//(d) Calculate_the_reduced_plasma_frequency_for_R=0.5
R=0.5;
wq=R*wp;
disp(wq,'the_reduced_plasma_frequency_for_R=0.5(in rad/s)is =');
//(e) Calculate_the_reduced_plasma_phase_constant
Bq=wq/v0;
disp(Bq,'the_reduced_plasma_phase_constant(in rad/m)is =');
//(f) Calculate_the_transit_time_across_the_input_gap
d=1*(10^-2);//gap_distance
t=d/v0;
t=t*(10^9);
disp(t,'the_transit_time_across_the_input_gap(in ns)is =');
//(g) Calculate_the_electron_velocity_leaving_the_input_gap
V1=10;
Bi=1;//beam_coupling_coefficient
Vt1=v0*(1+(((Bi*V1)/(2*V0))*sin(w*t*(10^-9))));
disp(Vt1,'the_electron_velocity_leaving_the_input_gap(in m/s)is =');
|
8a6565cdbe11ad3ca4ead164fb8a7f5251d33cb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH21/EX21.5/ex21_5.sce | 187f00cc4cd69f08a97b8134efdf7880df0986a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ex21_5.sce | clc;
e1=-13.6; //in eV
disp((e1/4),"Energy of first excited state in eV = "); //displaying result
disp((e1/9),"Energy of second excited state in eV = "); //displaying result
disp((e1/16),"Energy of third excited state in eV = "); //displaying result |
69950f867829bcc79df53e4c8ff21f0ed714ddf1 | 663b86328ceb7527ec030bd1e6d37860da115744 | /finite-volume-methods/src/burgers_relativiste/lax_friedrichs/varying_mass/function_style.sci | f4047abda5369a136cdeea0981325512ca477af8 | [] | no_license | MLasserre/lab-internships | 4bfb6fc9a6af0459626a2912ab5cb32bb5a7d4e9 | 666cbd620c696714c64f2947f7ee819d8ff837fc | refs/heads/master | 2022-12-16T14:59:24.818197 | 2020-09-18T15:31:13 | 2020-09-18T15:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sci | function_style.sci | function function_style()
sda() // remet a plat les proprietes des axes par defaut
a = gda(); // a est le handle sur ces axes par defaut
a.title.font_size = 1;
a.title.font_style = %helvetica_bold;
a.x_label.font_size = %14pts;
a.x_label.font_style = %helvetica_italic;
a.y_label.font_size = %14pts;
a.y_label.font_style = %helvetica_italic;
a.z_label.font_size = %14pts;
a.z_label.font_style = %helvetica_italic;
a.font_size = %14pts;
endfunction
|
6e4df2c41fb0bd48d1accb4eec9536fe183842a6 | a27117f570df5615cbad07adf0e508ac092b0f9d | /prob7.sce | 57738a009633b4456adf36bb8125cfc36fc00b3f | [] | no_license | SammithSB/Scilab-Assignment | e8243b5092c0689f52c034818b349327bcfd3f33 | 99345a4f72a33990147318d963ff81b966c7944d | refs/heads/main | 2023-04-08T11:44:56.996159 | 2021-04-23T12:16:33 | 2021-04-23T12:16:33 | 360,826,533 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | prob7.sce | // vectors are (2,3,1),(2,1,2),(3,2,1)
clear;close;clc;
A=[2 3 1;2 1 2;3 2 1];
disp(A,'A=');
[m,n]=size(A);
for k=1:n
V(:,k)=A(:,k);
for j=1:k-1
R(j,k)=V(:,j)'*A(:,k);
V(:,k)=V(:,k)-R(j,k)*V(:,j);
end
R(k,k)=norm(V(:,k));
V(:,k)=V(:,k)/R(k,k);
end
disp(V,'Q');
|
5976792765e472e470c1d414dc405ee9964dd856 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH5/EX5.2/Ex5_2.sce | 6dd24e9cec17a4a914119253c57f79e4f4e61250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex5_2.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 5.2
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
n=3.8;//refractive index
L=200*10^-4;//length in cm
W=100*10^-4;//width in cm
Beta=20*10^-3;//gain factor in A/cm^3
alpha=10;//loss coefficient per cm
R1=((n-1)/(n+1))^2;//reflectivity
c1=((alpha+((1/L)*(log(1/R1)))))//constant value
Jth=(1/Beta)*c1;//threshold current density in A/cm^2
mprintf("\n Threshold current density is= %.2f x10^3 A/cm^2",Jth*1e-3);//multiplication by 1e-3 to convert the ratio to 10^-3
Ith=Jth*L*W;//threshold current in A
mprintf("\n Threshold current is =%.2f mA",Ith*1e3);//the answer vary due to rouding
|
16436868bed599d281db0116641a079fc55d831e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%s_h_s.sci | 7c58c81989cf28914b41283345b317d9648ae221 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sci | %s_h_s.sci | function r=%s_h_s(a,b)
//computes a&b for a and b matrices of scalar
// Copyright INRIA
if a==[]|b==[] then
r=[]
else
r=(a<>0)&(b<>0)
end
|
84499684b645e6efa480d6b1e399d8e70299e302 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH9/EX9.1/Ex9_1.sce | 7b5f4e21df7c3a36ee0c1f7d8df29e41c9eca856 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex9_1.sce | //Chapter 9 : Eigenvalues and Eigenvectors
//Example 9.1
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[0 1;-1 0];
disp(A,'A=')
l=poly(0,'lambda')
p=-l
I=eye(2,2)
B=A-(l*I)
db=det(B)
disp(db,'det=')
r=roots(db)
disp(r,'roots=')
mprintf('since it has no real roots, A has no real eigen values')
eig=spec(A)
disp(eig,'eigen values=')
|
9947aba23a1168616f58e475776bc376c7ff8fce | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_cloud/tests/TestModels.sce | c4b26739418b09f90ef0f04a5b5981928452d20d | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | TestModels.sce | M = csvRead('Salary_Data.csv')
M(or(isnan(M),'c'),:) = []
data = M
chdir('..')
toolbox_basedir = pwd()
chdir('tests')
getd(toolbox_basedir + '/macros')
models = mgetl('../macros/models')
numfiles = size(models)
for i = 23:numfiles(1)
model = models(i)
disp('Running ' + string(i) + ' of ' + string(numfiles(1)) + ' : ' + model)
machineLearn(model, data, toolbox_basedir, '')
end |
930a3fbb097cc2253e19c32d5572b7095ebde7e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH12/EX12.1/EX1.sce | 51ce9451294e270c2cccaf8f16d9d9f31fa7a8e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | EX1.sce | // Example 12.1: (a) RD
// (b) Product RC
// (c) Reasonable value of R and C
clc, clear
fo=8e3; // in hertz
mu=59;
rd=10; // in kilo-ohms
disp("Part (a)");
RD=29*rd/(mu-29); // in kilo-ohms
disp(RD,"RD (kΩ) =");
disp("Part (b)");
RC=1/(2*%pi*fo*sqrt(6)); // in seconds
RC=RC*1e6; // in micro-seconds
disp(RC,"Product RC (µs) =");
disp("Part (c)");
R=50; // in kilo-ohms
C=RC/R; // in nano-farad
C=C*1e3; // in pico-farad
disp(R,"Reasonable value of R (kΩ) =");
disp(C,"Reasonable value of C (pF) ="); |
f14b631f626d31ffff9c2e29b48ddd9478da1b2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.10/2_10.sce | d3ad3fc7585ae6beb42ef942583e650cf1881430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | 2_10.sce | clear; clc; close;
E = 10; //volts
R = 0.33*10^(3); //ohms
Vo = 0.7; //volts
I = (E - Vo)/R;
Id1 = I/2;
Id2 = I/2;
diary('C:\Users\DELL\Desktop\intern\chapter_2\2_10.txt');
disp(Vo,'Output Volatge is : ');
disp(Id1,'Current through diode 1 is : ');
disp(Id2,'Current through diode 2 is :')
|
b86f2fbd286df07a031b12b716eb6ee4f8df5809 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ea_bfa_mt_d/~BivLCM-SR-bfas_ea_bfa_mt_d-PLin-VLin.tst | cfed5ec1f0c0ca0a5f2d539f73be656df9d027e4 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ea_bfa_mt_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.410192D+00
2 -0.594881D-02 0.298538D-02
3 -0.418965D-02 0.339572D-03 0.442730D+00
4 0.535329D-03 0.151182D-04 -0.583971D-02 0.373203D-02
5 0.441600D-03 0.239895D-04 0.632108D-03 0.124755D-03 0.428278D-02
6 0.293420D-04 0.347738D-04 0.536824D-03 -0.875918D-04 -0.656870D-04
7 -0.147865D-02 0.472849D-04 0.218205D-02 -0.201489D-03 0.276827D-03
8 -0.799944D-03 -0.253001D-04 -0.247362D-03 0.724071D-04 0.744089D-05
9 -0.459373D+00 0.966249D-02 -0.103067D+00 0.111147D-01 0.207074D+00
10 -0.110797D+00 -0.547491D-02 0.969322D-01 0.222795D-01 0.226707D+00
11 0.190178D+00 -0.122266D-01 -0.351301D+00 0.462141D-02 -0.124817D+00
12 -0.741277D-01 0.894243D-02 0.727284D+00 0.237252D-01 -0.397251D-01
13 -0.838990D-01 0.295374D-02 0.170866D+00 -0.692360D-02 0.264066D-02
14 0.222980D+00 -0.960234D-03 0.129426D+00 0.634272D-02 -0.425489D-03
15 -0.377982D+01 -0.793414D-02 0.151092D+00 0.385603D-01 -0.190200D+00
16 -0.355346D-02 -0.117895D-01 0.671077D-02 0.621508D-03 0.217305D-02
17 0.463733D-02 -0.105110D-04 -0.174866D-02 -0.547052D-03 -0.110957D-02
18 -0.866641D-01 0.828171D-01 0.340470D+00 0.163608D-01 0.111909D+00
19 0.694268D-01 -0.220437D-02 0.102724D+00 0.281661D-02 0.163944D-01
20 0.651522D+00 0.254313D-01 0.185595D+01 0.941487D-02 -0.297872D-01
21 -0.713466D-01 0.507478D-02 -0.126996D+00 0.290876D-02 -0.124134D-01
22 0.271761D-03 -0.692997D-03 0.135916D-02 -0.296908D-03 -0.923461D-03
23 0.144551D-01 0.208695D-02 -0.146160D-01 0.117805D-01 -0.466511D-03
24 -0.243314D-02 -0.240789D-03 0.172784D-02 -0.328878D-03 0.280085D-03
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.630129D-03
7 0.704015D-03 0.418235D-02
8 0.139549D-03 0.580291D-03 0.308613D-02
9 -0.341058D-01 -0.911509D-02 0.267531D-02 0.624734D+02
10 -0.128788D-01 0.203777D-01 0.691241D-02 0.113840D+02 0.239899D+02
11 0.219111D-01 -0.160924D-01 0.148246D-01 -0.888670D+01 -0.854680D+01
12 -0.285668D-01 0.364278D-02 0.814910D-01 0.104903D+02 0.779772D+00
13 0.467617D-01 0.142810D+00 0.263519D-01 -0.530628D+01 0.143359D+01
14 0.240348D-01 0.140262D+00 0.395638D+00 0.199312D+01 0.352803D+01
15 0.510970D-01 0.657009D-01 0.131387D-02 -0.188094D+02 -0.161055D+02
16 0.157879D-03 0.141335D-02 0.105592D-02 0.108162D+01 0.240657D+00
17 -0.243284D-03 -0.578414D-03 0.191585D-03 -0.176653D+00 -0.701204D-01
18 -0.478262D-01 -0.134121D+00 -0.289903D-03 0.153368D+02 0.759063D+01
19 -0.640126D-02 0.412321D-02 0.763665D-02 0.783083D+00 0.153852D+01
20 -0.201118D-01 -0.495088D-01 -0.347382D+00 -0.328004D+01 -0.441801D+01
21 0.569217D-02 -0.479960D-02 -0.111603D-01 -0.199337D+00 -0.124638D+01
22 0.623866D-05 -0.265589D-03 -0.182770D-04 -0.699526D-01 -0.716404D-01
23 0.210076D-03 0.125033D-02 -0.877986D-03 -0.787449D-01 0.197536D+00
24 -0.202607D-04 -0.292109D-03 0.176381D-03 0.226000D-01 0.118741D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.540648D+02
12 -0.634954D+01 0.168672D+03
13 -0.122406D+01 -0.345274D+01 0.150668D+02
14 -0.354968D+01 0.923506D+01 0.623401D+01 0.114091D+03
15 0.126628D+02 -0.550824D+01 0.647704D+01 -0.219294D+01 0.472061D+03
16 -0.325061D+00 -0.240350D+00 0.472956D-01 0.428170D+00 0.225322D+01
17 0.254906D-01 0.496558D-01 -0.280224D-01 -0.213399D-01 -0.198825D+01
18 -0.283164D+01 0.248663D+01 -0.561441D+01 0.325762D+01 -0.480117D+02
19 -0.421435D+00 0.132557D+01 -0.374034D+00 0.767903D+00 0.499916D+00
20 -0.113801D+01 -0.258572D+02 -0.476453D+00 -0.726292D+02 0.650233D+02
21 0.358566D+00 -0.207317D+01 0.292463D+00 -0.108078D+01 -0.430840D+00
22 0.397356D-02 0.366994D-01 -0.194616D-01 -0.368009D-01 0.166855D+00
23 -0.663517D-01 0.122889D+01 0.165277D+00 -0.329275D+00 0.771453D+00
24 -0.666340D-02 -0.138923D+00 -0.368978D-01 -0.293128D-01 -0.241254D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.760576D+00
17 -0.616942D-01 0.230661D-01
18 0.645419D+00 0.702861D-01 0.320916D+03
19 0.127200D-01 -0.248222D-02 0.308150D+01 0.557849D+01
20 0.865698D+00 -0.312620D+00 -0.298185D+02 0.655551D+00 0.558783D+03
21 0.118160D-01 -0.687324D-02 0.252845D+01 -0.519642D+01 -0.100915D+01
22 -0.435774D-02 0.358529D-03 -0.139348D+01 -0.197967D-01 0.210136D+00
23 0.233384D-01 -0.726044D-02 -0.711434D+00 -0.569786D-01 0.562148D+01
24 -0.778706D-02 0.878496D-03 0.219044D+00 0.244883D-02 -0.245464D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.678806D+01
22 -0.723480D-01 0.135859D-01
23 -0.141818D-04 0.104405D-01 0.860950D+00
24 0.157702D-01 -0.183586D-02 -0.781996D-01 0.257678D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.170 1.000
3 -0.010 0.009 1.000
4 0.014 0.005 -0.144 1.000
5 0.011 0.007 0.015 0.031 1.000
6 0.002 0.025 0.032 -0.057 -0.040
7 -0.036 0.013 0.051 -0.051 0.065
8 -0.022 -0.008 -0.007 0.021 0.002
9 -0.091 0.022 -0.020 0.023 0.400
10 -0.035 -0.020 0.030 0.074 0.707
11 0.040 -0.030 -0.072 0.010 -0.259
12 -0.009 0.013 0.084 0.030 -0.047
13 -0.034 0.014 0.066 -0.029 0.010
14 0.033 -0.002 0.018 0.010 -0.001
15 -0.272 -0.007 0.010 0.029 -0.134
16 -0.006 -0.247 0.012 0.012 0.038
17 0.048 -0.001 -0.017 -0.059 -0.112
18 -0.008 0.085 0.029 0.015 0.095
19 0.046 -0.017 0.065 0.020 0.106
20 0.043 0.020 0.118 0.007 -0.019
21 -0.043 0.036 -0.073 0.018 -0.073
22 0.004 -0.109 0.018 -0.042 -0.121
23 0.024 0.041 -0.024 0.208 -0.008
24 -0.024 -0.027 0.016 -0.034 0.027
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.434 1.000
8 0.100 0.162 1.000
9 -0.172 -0.018 0.006 1.000
10 -0.105 0.064 0.025 0.294 1.000
11 0.119 -0.034 0.036 -0.153 -0.237
12 -0.088 0.004 0.113 0.102 0.012
13 0.480 0.569 0.122 -0.173 0.075
14 0.090 0.203 0.667 0.024 0.067
15 0.094 0.047 0.001 -0.110 -0.151
16 0.007 0.025 0.022 0.157 0.056
17 -0.064 -0.059 0.023 -0.147 -0.094
18 -0.106 -0.116 0.000 0.108 0.087
19 -0.108 0.027 0.058 0.042 0.133
20 -0.034 -0.032 -0.265 -0.018 -0.038
21 0.087 -0.028 -0.077 -0.010 -0.098
22 0.002 -0.035 -0.003 -0.076 -0.125
23 0.009 0.021 -0.017 -0.011 0.043
24 -0.005 -0.028 0.020 0.018 0.015
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 -0.066 1.000
13 -0.043 -0.068 1.000
14 -0.045 0.067 0.150 1.000
15 0.079 -0.020 0.077 -0.009 1.000
16 -0.051 -0.021 0.014 0.046 0.119
17 0.023 0.025 -0.048 -0.013 -0.603
18 -0.021 0.011 -0.081 0.017 -0.123
19 -0.024 0.043 -0.041 0.030 0.010
20 -0.007 -0.084 -0.005 -0.288 0.127
21 0.019 -0.061 0.029 -0.039 -0.008
22 0.005 0.024 -0.043 -0.030 0.066
23 -0.010 0.102 0.046 -0.033 0.038
24 -0.006 -0.067 -0.059 -0.017 -0.069
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.466 1.000
18 0.041 0.026 1.000
19 0.006 -0.007 0.073 1.000
20 0.042 -0.087 -0.070 0.012 1.000
21 0.005 -0.017 0.054 -0.844 -0.016
22 -0.043 0.020 -0.667 -0.072 0.076
23 0.029 -0.052 -0.043 -0.026 0.256
24 -0.056 0.036 0.076 0.006 -0.647
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.238 1.000
23 0.000 0.097 1.000
24 0.038 -0.098 -0.525 1.000
|
32a3431a7293c46474ee840bbb36296c33e71ac7 | f7378eec5e8815bdba8a29ea1beec900bbac11b1 | /lab1/questao1.sce | 65a07d4bc5cfe8699b900bb0b4cf260942474c9e | [
"MIT"
] | permissive | andersoncordeiro/ComputerVision | dba8ed6a1a6c890b2aa7b8d4159b07cf311e8c70 | 163bd0e9cbcb7f0046e5f46f78d3967785b0e8b4 | refs/heads/main | 2023-03-05T18:35:06.740972 | 2021-02-16T14:16:09 | 2021-02-16T14:16:09 | 339,419,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | questao1.sce | //Funcao que recebe caminho da imagem e o t0 (Questao 1 - Celula ou Snowman)
function [Img] = threshold (imagem,t);
info = imfinfo(imagem);
[Img] = gray_imread(imagem);
for i=1:info.Height
for j=1:info.Width
if Img(i,j) > t then
Img(i,j) = 0
else
Img(i,j) = 1;
end
end
end
endfunction
Caminho = input('Digite o caminho da imagem: ');
T = input('Digite T: ');
[Img] = threshold(Caminho,T);
imshow(Img)
|
0f0783d50173f2c843c03f3236f1d3a26254fde7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH5/EX5.9/ex5_9.sce | 19ccbf8db10a29d4d64641daf8be947b1b9b7e97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | ex5_9.sce | clc;
R1=2; //resisitance in Ohm
R2=4; //resistance in Ohm
R3=5; //resistance in Ohm
R=(R1^-1)+(R2^-1)+(R3^-1); //calculating parallel resistance
Rp=(1/R);
disp(Rp,"Resisitance in Ohm = "); //displaying result |
1b4f88128a9190c177d7f9964ab06361fc691eb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH13/EX13.1/EX1.sce | 37e5c821b1d1ca4f5bdc18b2ca40f2a39a5850ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | EX1.sce | // Example 13.1: dc input power, ac output power, Efficiency
clc, clear
Ib=5e-3; // Base current in amperes
// From Fig. 13.8
RB=1.5e3; // in ohms
RC=16; // in ohms
bta=40;
VCC=18; // in volts
VBE=0.7; // in volts
IBQ=(VCC-VBE)/RB; // in amperes
ICQ=bta*IBQ; // in amperes
Pi_dc=VCC*ICQ; // dc input power in watts
Ic=bta*Ib; // in amperes
Po_ac=Ic^2*RC; // ac output power
eta=Po_ac*100/Pi_dc; // Efficiency in percentage
disp(Pi_dc,"dc input power (W) =");
disp(Po_ac,"ac output power (W) =");
disp(eta,"Efficiency (%) ="); |
9ab1bc334ada47d0b81787f938c5576139f549b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH6/EX6.4.a/Chapter6_Ex4_a.sce | 82aee0da4996b87c9b75687cf92e638c010df0c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,309 | sce | Chapter6_Ex4_a.sce | // Harriot P., 2003, Chemical Reactor Design (I-Edition), Marcel Dekker, Inc., USA, pp 436.
//Chapter-6 Ex6.4.a Pg No.251
//Title:Conversion in packed bed for same superficial velocity
//====================================================================================================================
clear
clc
//INPUT
L=2.5;//Lendth of bed(ft)
X_A=0.95;//Conversion
L_a=3;//Length of section a (ft)
L_b=2;//Length of section b (ft)
//CALCULATION
k_rho_L_by_u=log(1/(1-X_A));//First Order reactions
//For Section a
k_rho_L_by_u_a=k_rho_L_by_u*(L_a/L);
X_A_section_a=(1-exp(-k_rho_L_by_u_a));
//For Section b
k_rho_L_by_u_b=k_rho_L_by_u*(L_b/L);//Dimensionless Group based on ideal plug flow for first order reaction
X_A_section_b=(1-exp(-k_rho_L_by_u_b));
X_A_Ave=(X_A_section_b+X_A_section_a)/2;
Percent_X_A_Ave=X_A_Ave*100
//OUTPUT
//Console Output
mprintf('\n\tThe average converion when each section has same superficial velocity:%0.1f%%',Percent_X_A_Ave );
//File Output
fid= mopen('.\Chapter6_Ex4_a_Output.txt','w');
mfprintf(fid,'\n\tThe average converion when each section has same superficial velocity:%0.1f%%',Percent_X_A_Ave );
mclose(fid);
//=======================================================END OF PROGRAM=================================================
|
3fa3ed47d515d0853b562cf33e2f4e8dca4cedad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.8/Chapter3_example8.sce | 12e7d01bde9ae41de023579f0af2e3dfee9bc511 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 864 | sce | Chapter3_example8.sce | clc
clear
//Input data
p1=1.05//Inlet pressure in kg/cm^2
T1=15+273//Inlet temperature in K
p2=33.4//Pressure at the end of adiabatic compression in kg/cm^2
r=5//The ratio of expansion
Cp=0.238//Specific heat at constant pressure in kJ/kg.K
Cv=0.17//Specific heat at constant volume in kJ/kg.K
g=1.4//Ratio of specific heats
//Calculations
r1=(p2/p1)^(1/g)//Compression ratio
k=r1/r//Cutoff ratio
T2=(p2/p1)^((g-1)/g)*T1//Temperature at the end of adiabatic compression in K
T3=T2*k//Temperature at the end of constant pressure heat addition in K
T4=T3*(1/r)^(g-1)//Temperature at the end of adiabatic expansion in K
qa=(Cp*(T3-T2))//Heat added in kcal/kg of air
qre=(Cv*(T4-T1))//Heat rejected in kcal/kg of air
nt=((qa-qre)/qa)*100//Ideal thermal efficiency in percent
//Output
printf('The ideal thermal efficiency is %3.1f percent',nt)
|
43adbca58cf7e2a1f5e8b0ccc6abcb343133c151 | cf2d41f121fb6c83162dbfbf7b447124b94860ed | /gauss.sci | 87fc333c6b6d2d30f121c7125169ab6df2a37bbb | [] | no_license | abhinavdronamraju/loadflow_scilab | 76749d98cb646674a80f43e82986977e4fe5c427 | 4f196da3596bd0a794d6d833c1bdd81d918f85f7 | refs/heads/master | 2021-07-16T11:14:39.462352 | 2017-10-24T11:55:18 | 2017-10-24T11:55:18 | 107,106,712 | 1 | 3 | null | 2017-10-24T06:25:52 | 2017-10-16T09:29:30 | Scilab | UTF-8 | Scilab | false | false | 2,708 | sci | gauss.sci | // Assumption, Bus 1 is considered as Slack bus.
function gauss(report);
global busdat;
global linedat;
Y = ybus(); // Calling program "ybus.sci" to get Y-Bus.
busd = busdat; // Calling "busdatas.sci" for bus data.
BMva= 100; // Base MVA
bus = busd(:,1); // Bus number.
nbus = max(bus); // To get no. of buses
type_bus = busd(:,2); // Type of Bus 1-Slack, 2-PV, 3-PQ.
V = busd(:,3); // Initial Bus Voltages.
del = busd(:,4); // Initial Bus Voltage Angles.
Pg = busd(:,5)/ BMva; // Pgi, Real Power injected into the buses.
Qg = busd(:,6)/ BMva; // Qgi, Reactive Power injected into the buses.
Pl = busd(:,7)/ BMva; // Pli, Real Power Drawn from the buses.
Ql = busd(:,8)/ BMva; // QLi, Reactive Power Drawn from the buses.
Qmin = busd(:,9)/ BMva; // Minimum Reactive Power Limit
Qmax = busd(:,10)/ BMva; // Maximum Reactive Power Limit
P = Pg-Pl; // Pi = PGi - PLi, Real Power at the buses.
Q = Qg-Ql; // Qi = QGi - QLi, Reactive Power at the buses.
Vprev = V;
toler = 1; // Tolerence.
iteration = 1; // iteration starting
while (toler > 0.00001) // Start of while loop
for i = 2:nbus
sumyv = 0;
for k = 1:nbus
if i ~= k
sumyv = sumyv + Y(i,k)* V(k); // Vk * Yik
end
end
if type_bus(i) == 2 // Computing Qi for PV bus
Q(i) = -imag(conj(V(i))*(sumyv + Y(i,i)*V(i)));
if (Q(i) > Qmax(i)) | (Q(i) < Qmin(i)) // Checking for Qi Violation.
if Q(i) < Qmin(i) // Whether violated the lower limit.
Q(i) = Qmin(i);
else // No, violated the upper limit.
Q(i) = Qmax(i);
end
type_bus(i) = 3; // If Violated, change PV bus to PQ bus.
end
end
V(i) = (1/Y(i,i))*((P(i)-(%i)*Q(i))/conj(V(i)) - sumyv); // Compute Bus Voltages.
if type_bus(i) == 2 // For PV Buses, Voltage Magnitude remains same, but Angle changes.
V(i) = pol2rect(abs(Vprev(i)), atan(imag(V(i)), real((V(i)))));
end
end
iteration = iteration + 1; // Increment iteration count.
toler = max(abs(abs(V) - abs(Vprev))); // Calculate tolerance.
Vprev = V; // Vprev is required for next iteration, V(i) = pol2rect(abs(Vprev(i)), atan(imag(V(i)), real((V(i)));
end // End of while loop / Iteration
Ang = atan(imag(V), real(V)); // Final Bus Voltage Angles in Degree.
loadflow(nbus, V, Ang, BMva, 'gs', report);
endfunction
|
9cfdb7549f104da0ffe8617c836ceb97409dccc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.18/10_18.sce | 9ada54a36bfd1e911e44cc6927a245d63fa22ccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,159 | sce | 10_18.sce | clear
clc
Vt=10.95
V=11
S=100
I=round(S*1e7/(sqrt(3)*V*1e3))/10 //Error in evaluation of base current in textbook
vt=Vt/V
pf=.8
P=40
Il=round(P*1e7/(sqrt(3)*Vt*pf*1e3))/10
Il=Il * exp (%i * acos(pf))/I
x1g=.2
x2g=.2
x0g=.05
Sm=50
x1m=.2 * S/Sm
x2m=.2 * S/Sm
x0m=.05
xt1=.05
xt2=.05
xt0=.15
V=vt+ (Il * %i * x0m)
x0m=.05* S/Sm
Ia1=V/(%i*((x1g*(x1m+xt1)/(x1g+x1m+xt1))+(x2g*(x2m+xt2)/(x2g+x2m+xt2))+(x0g*(x0m+xt0)/(x0g+x0m+xt0))))
Ia1=round(Ia1 * 1000)/1000
Ig1=round((Ia1 * (x1m + xt1)/(x1m+x1g+xt1) + Il)*1000)/1000
Im1=round((Ia1 * (x1g)/(x1m+x1g+xt1) - Il)*1000)/1000
Ig2=round((Ia1 * (x2m + xt2)/(x2m+x2g+xt2))*1000)/1000
Im2=round((Ia1 * (x2g)/(x2m+x2g+xt2))*1000)/1000
Ig0=round((Ia1 * (x0m + xt0)/(x0m+x0g+xt0))*100)/100
Im0=round((Ia1 * (x0g)/(x0m+x0g+xt0))*100)/100
Im=round((Im1+Im2+Im0)*1000) *1e-3
Ig=round((Ig1+Ig2+Ig0)*1000) *1e-3
mprintf("\nCurrent Through motor = %.2f, ang (%.1f) deg", abs(Im)*I, atand(imag(Im)/real(Im))+180)
mprintf("\nCurrent Through generator = %.2f, ang (%.1f) deg", abs(Ig)*I, atand(imag(Ig)/real(Ig)))
disp("Error in evaluation of base current in textbook")
|
e6101e1f772a5877f983f7ec4cad8f2877525558 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.36/Ex4_36.sce | 456a2dfd08bd07b45e6dca64db3f3ea4c521214a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex4_36.sce | clear
//
//thevenin's theorem
//all the values are derived from the figures
z1=complex(8,-6)
z2=complex(0,5)
zth=(z1*z2)/(z1+z2)
printf("\n zth")
vth=complex(-17.71,141.54)
zload=complex(4,3)
I=vth/(zth+zload)
printf("\n I")
|
55245f12d7753b41fb10234f016766118b0d0161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH8/EX8.2/ex_8_2.sce | 8628e9b463c08c2418a53c6fdc3ad13609bcdbb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | ex_8_2.sce | //Example 8.2 // Dipole moment of slab
clc;
clear;
//given data :
D=5D-4;// displacement vector magnitude in m2
P=4D-4;// Polarisation vector magnitude in m2
E=D-P;// Field Intensity in m2
V=.5;// volume of slab in m3
k=D/E;// dielectric contant
p=P*V;//total dipole moment in m5
disp(k,"Dielectric constant")
disp(p,"total dipole contant in m5")
|
f0e21cb3f255ffd305805708d341b37faf31f81a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH17/EX17.2/SCB_2.sce | 559a11240f43df669925ff8de8b0f1d5cc3fefc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | SCB_2.sce | // sum 17-2
clc;
clear;
l=60;
d=60;
r=d/2;
ho=0.008;
c=0.04;
S=0.0446;
nj=1260/60;
W=6000;
p=W/(l*d);
u=S*(c/r)^2*p/nj;
u=u*10^9;
// printing data in scilab o/p window
printf("u is %0.3f cP ",u); |
c30717d83d7624eebe2c72936692717132bcdf59 | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fminimax/fminimaxDemo/fminimax_v2.dem.sce | 1643d856cf67220b38e67df868d813941d5cbb80 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,397 | sce | fminimax_v2.dem.sce | mode(1)
//
// Demo of fminimax_v2.sci
//
// A basic case :
// we provide only the objective function and the nonlinear constraint
// function
function f = myfun(x)
f(1)= 2*x(1)^2 + x(2)^2 - 48*x(1) - 40*x(2) + 304; //Objectives
f(2)= -x(1)^2 - 3*x(2)^2;
f(3)= x(1) + 3*x(2) -18;
f(4)= -x(1) - x(2);
f(5)= x(1) + x(2) - 8;
endfunction
halt() // Press return to continue
// The initial guess
x0 = [0.1,0.1];
// The expected solution : only 4 digits are guaranteed
xopt = [4 4]
fopt = [0 -64 -2 -8 0]
maxfopt = 0
// Run fminimax
[x,fval,maxfval,exitflag,output,lambda] = fminimax(myfun, x0)
halt() // Press return to continue
// A case where we provide the gradient of the objective
// functions and the Jacobian matrix of the constraints.
// The objective function and its gradient
function f = myfun(x)
f(1)= 2*x(1)^2 + x(2)^2 - 48*x(1) - 40*x(2) + 304;
f(2)= -x(1)^2 - 3*x(2)^2;
f(3)= x(1) + 3*x(2) -18;
f(4)= -x(1) - x(2);
f(5)= x(1) + x(2) - 8;
endfunction
halt() // Press return to continue
// Defining gradient of myfun
function G = myfungrad(x)
G = [ 4*x(1) - 48, -2*x(1), 1, -1, 1;
2*x(2) - 40, -6*x(2), 3, -1, 1; ]'
endfunction
halt() // Press return to continue
halt() // Press return to continue
// The nonlinear constraints and the Jacobian
// matrix of the constraints
function [c,ceq] = confungrad(x)
// Inequality constraints
c(1) = 1.5 + x(1)*x(2) - x(1) - x(2)
c(2) = -x(1)*x(2) - 10
// No nonlinear equality constraints
ceq=[]
endfunction
halt() // Press return to continue
halt() // Press return to continue
// Defining gradient of confungrad
function [DC,DCeq] = cgrad(x)
// DC(:,i) = gradient of the i-th constraint
// DC = [
// Dc1/Dx1 Dc1/Dx2
// Dc2/Dx1 Dc2/Dx2
// ]
DC= [
x(2)-1, -x(2)
x(1)-1, -x(1)
]'
DCeq = []'
endfunction
halt() // Press return to continue
// Test with both gradient of objective and gradient of constraints
minimaxOptions = list("GradObj","ON","GradCon","ON");
// The initial guess
x0 = [0,10];
// The expected solution : only 4 digits are guaranteed
xopt = [0.92791 7.93551]
fopt = [6.73443 -189.778 6.73443 -8.86342 0.86342]
maxfopt = 6.73443
// Run fminimax
[x,fval,maxfval,exitflag,output] = fminimax(myfun,x0,[],[],[],[],[],[], confungrad,minimaxOptions,myfungrad,cgrad)
halt() // Press return to continue
halt() // Press return to continue
//========= E N D === O F === D E M O =========//
|
58b9c45fa5d5e87c4c8f7611319cf72b54b24e52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH5/EX5.5/ch5ex5.sce | e030c8ed8df104642185bf7cecbd5bf7a7e2934f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | ch5ex5.sce | //LTi Systems characterized by Linear Constant
//Coefficient Difference equations
//Inverse Z Transform
//z = %z;
syms n z;
H1 = (26/15)/(z-(1/2));
H2 = (7/3)/(z-2);
H3 = (18/5)/(z-3);
F1 = H1*z^(n)*(z-(1/2));
F2 = H2*z^(n)*(z-2);
F3 = H3*z^(n)*(z-3);
h1 = limit(F1,z,1/2);
disp(h1,'h1[n]=')
h2 = limit(F2,z,2);
disp(h2,'h2[n]=')
h3 = limit(F3,z,3);
disp(h3,'h3[n]=')
h = h1-h2+h3;
disp(h,'h[n]=') |
0c5bd21b1ffacdb1f68a85240d2c065651f98b5e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos_blocks/CLINDUMMY_f.sci | c9b50b18e6d5ae4a661b6e513f5c324f93100a99 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sci | CLINDUMMY_f.sci | function [x,y,typ]=CLINDUMMY_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1
x(3)(11)=[] //compatibility
case 'define' then
x0=0;
model=list('cdummy',[],[],[],[],x0,[],[],[],'c',[],[%f %t],' ',list())
gr_i=['xstringb(orig(1),orig(2),[''DUMMY'';''CLSS''],sz(1),sz(2),''fill'');']
x=standard_define([3 2],model,[],gr_i)
end
|
697e7ab1a06372deeb2236d2c9d783cd1ca9e7f3 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/scilab/constants/runme.sci | d158c9773ba6a22a9e52b526b7828c0b80d15887 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:94ca6e15f79d8ccf4ad78671fa93bce60edb7daa5c347b56f87383814fcbdac5
size 505
|
5ad3fbe7994a7ec4c47e31c28bf61cd8300030d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH7/EX7.4/Exa7_4.sce | 3a7a8d696108f423563ba17093ac6c5bbeed90e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Exa7_4.sce | //Exa 7.4
clc;
clear;
close;
//Given data
l=30;//in cm
l=l*10^-2;//in meter
A=1;//in cm^2
A=A*10^-4;//in meter^2
N=300;//turns of wire
i=0.032;//in Ampere
FI_B=2*10^-6;//in weber
meu_o=4*%pi*10^-7;//permeability of free space in weber/amp-meter
B=FI_B/A;//in weber/meter^2
disp(B,"Flux Density in weber/meter^2 : ");
H=N*i/l;//in amp-turn/meter
disp(H,"magnetic Intensity in amp-turn/meter : ");
meu=B/H;//in weber/Amp-meter
disp(meu,"Permeability in weber/amp-meter :");
meu_r=meu/meu_o;//Relative Permeability
disp(meu_r,"Relative Permeability : ");
//Answer of relative permeability is wrong in the book. |
daf0bec40495d9369bfde6d405aa72297b727615 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH4/EX4.4/Ex4_4.sce | a9116517d66df93c05cc892413f5282e5582af5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Ex4_4.sce | //Example 4_4
clc;
clear;
close;
format('v',6)
//given data :
c=3*10^8;//m/s//Speed of light
h=1.05*10^-34;//Js//Planks Constant
mc_GaAs=0.067;//mo
mc_InAs=0.01;//mo
k=0.01;///per Angstrum
mc_GaAs=mc_GaAs*0.91*10^-30;//kg
mc_InAs=mc_InAs*0.91*10^-30;//kg
E_GaAs=h^2*(3*k*10^10)^2/2/mc_GaAs;//J
E_GaAs=E_GaAs/(1.6*10^-19)*1000;//meV
disp(E_GaAs,"Energy of the electron in GaAs(meV)");
E_InAs=h^2*(3*k*10^10)^2/2/mc_InAs;//J
E_InAs=E_InAs/(1.6*10^-19)*1000;//meV
disp(E_InAs,"Energy of the electron in InAs(meV)");
//Answer given in the textbook is wrong.
|
ef9556029ff3fea20d0cfc0ed1d0ec6c37d79649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.14/ex_7_14.sce | 230379d5f86e2cad5d708dba6c4420392b9f5d5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | ex_7_14.sce | //Example 7.14 // resistance
clc;
clear;
close;
//given data :
alfa=20*10^-6; //resistance temperature coefficient in per degree celcius
R=120; // in ohm
E=400; // in MN/m^2
Gf=2;
Me=200*10^9; // modulus of elasticity in N/m^2
Cs=(1/10)*E*10^6; // in N/m^2
e=Cs/Me;
dR=R*Gf*e*10^3; //
t=20; // temerature in degree celcius
dR1=R*alfa*t*10^3;
disp(dR,"resistance due to change in stress,dR(m-ohm) = ")
disp(dR1,"resistance due to change of temperature,dR1(m-ohm) = ")
//ANSWER IS WRONG IN THE TEXTBOOK
|
44ece72a7ffd6fbb02f148ef45a7370f2bb882f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH6/EX6.10/6_10.sce | 9e48f9fec4c264acd3b3609dba2e1696d1b26c3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | 6_10.sce | //Chapter 6, Problem 10
clc;
C1=6*10^-6; //Capacitance of capacitor1
C2=4*10^-6; //Capacitance of capacitor2
C3=C1+C2; //Calculating equivalent capacitance in parallel
C4=(C1*C2)/(C1+C2); //Calculating equivalent capacitance in series
disp("(a)");
printf("In parallel, equivalent capacitance = %f uF",C3*10^6);
disp("(b)")
;printf("In series, equivalent capacitance = %f uF",C4*10^6);
|
0dad5d59a79281628b7a8ac05febc7547d43b15d | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH5/EX10/cha5_10.sce | 6aa99c0f87cc732a4ccd2450ac5fe794dcbf33c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | cha5_10.sce | F=60;P=4;N=1740;R1=0.5;
R2=0.5;X1=1;X2=1;Xm=35;
I=1.1;Peak=10;H=5;H1=7;
Phase=3;
Ns=120*F/P
S1=(Ns-N)/Ns
A=R2/S1
Z1=(Xm*%i)*(A+X1*%i)/(A+X2*%i+Xm*%i)
Rth=12.08;
Pg1=Phase*((I*Peak)/sqrt(2))^2*Rth
Wsyn=(Ns/60)*2*%pi
T1=Pg1/Wsyn
Ns1=-(120*H*F)/P
S2=(Ns1-N)/Ns1
B=R2/S2
Xm1=H*Xm
hX2=H*X2
Z2=Xm1*%i*(B+hX2*%i)/(B+hX2*%i+Xm1*%i)
Rth2=0.39;
Pg2=Phase*((0.22*Peak)/sqrt(2))^2*Rth2
Wsyn2=(Ns1/60)*2*%pi
T2=Pg2/Wsyn2
Ns3=(120*H1*F)/P
S3=(Ns3-N)/Ns3
C=R2/S3
Xm3=H1*Xm
hX3=H1*X2
Z3=Xm3*%i*(C+hX3*%i)/(C+hX3*%i+Xm3*%i)
Rth3=0.54;
Pg3=Phase*((0.16*Peak)/sqrt(2))^2*Rth3
Wsyn3=(Ns3/60)*2*%pi
T3=Pg3/Wsyn3
|
66b6d2ea12f2fb35919699bba218c07e7bd34cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH21/EX21.1/21_1.sce | b61b1c15a78b095f5bab85c7e575f27fc12333f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 21_1.sce | clc
//initialisation of variables
A= 500 //cm^2
m= 0.106 //mg
N= 6*10^23 //molecules
M= 284 //g mole^-1
d= 0.85 //g/cm^3
//CALCULATIONS
A1= A*M/(N*m^10^-3)
t= m*10^-3/(A*d)
//RESULTS
printf ('cross-sectional area = %.e cm^2 ',A1)
printf ('\n thcikness t of the film = %.e cm ',t)
|
f77354f560cd8f0d8ad55b45cb586f4884471a03 | d9433e89434ee8d62d3e576fb874618e0faf8b6c | /p2-E.sce | da324ee78bc8b2dedd9cd082155ce2c299293856 | [] | no_license | wps13/STD | 125f62aa98bcbe3f29eed9e20d5f9e8a2f3a34eb | 2e132f31d71a68ee52ebf1994f9c6062db6eb4d6 | refs/heads/master | 2020-04-07T01:26:44.358619 | 2018-12-22T01:48:21 | 2018-12-22T01:48:21 | 157,941,582 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | p2-E.sce | //sinal 1 - Estela
load('./xa_10_1.sod')
S1 = x_a
//sinal 2- Lais
load('./xa_26_1.sod')
S2 = x_a
//sinal 3 - Willane
load('./xa_43_1.sod')
S3 = x_a
S = [S1 S2 S3]
function sigDelta = modDelta(sinal,tempoFim, passo, delta)
sigDelta(1) = 0;
for k=1:tempoFim/passo
e(k) = sinal(k) - sigDelta(k); //sinal de erro
e_q(k) = delta*sign(e(k)); //versão quantizada
sigDelta(k+1) = sigDelta(k) + e_q(k); //aprox. do sinal quantizado
end
endfunction
passo = 1e-2;
tempoFinal = 2;
delta = 0.1;
t1 = 0 : 1/200 : 1
sinalFinal = modDelta(S,tempoFinal,passo,delta)
plot2d3(t1,sinalFinal)
|
8caca5c3b1a872d599443f894a3da672b93cbc88 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH19/EX19.13/Ex19_13.sce | ac65c76c97dc10e75dc5db2087ea1b4c47a94b79 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ex19_13.sce | errcatch(-1,"stop");mode(2);//Ex19_13 Pg-962
dec=175; //binary input
oct=dec2oct(dec) //decimal output
disp("The octal equivslent of 175 is")
disp(oct)
exit();
|
fe2ceaeca366f3e26802148971fb83922ff9fc0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.6/7_6.sce | 7bade4d650aa5cb5b5043813416fc90648b5beb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,205 | sce | 7_6.sce | clear;
clc;
printf("\t\t\tExample Number 7.6\n\n\n");
// cube cooling in air
// Example 7.6 (page no.-336)
// solution
L = 0.2;// [m] side length of cube
Ts = 60;// [degree celsius] surface temperature of cube
Ta = 10;// [degree celsius] air temperature
// this is an irregular solid so we use the information in the last entry of table 7-1(page no.-328) in the absence of a specific correlation for this geometry.
// the properties were evaluated as
v = 17.47*10^(-6);// [square meter/s]
k = 0.02685;// [W/m degree celsius]
Pr = 0.70;// prandtl number
Beta = 3.25*10^(-3);// [K^(-1)]
g = 9.8;// [square meter/s] acceleration due to gravity
// the characteristic length is the distance a particle travels in the boundary layer, which is L/2 along the bottom plus L along the side plus L/2 on the top or
Gr_into_Pr = (g*Beta*(Ts-Ta)*(2*L)^(3)*Pr)/(v^(2));
// from the last entry in table 7-1 we find
C = 0.52;
n = 1/4;
// so that
Nu = C*(Gr_into_Pr)^(n);
h_bar = Nu*k/(2*L);// [W/square meter degree celsius]
// the cube has six sides so the area is
A = 6*L^(2);// [square meter]
// the heat required is
q = h_bar*A*(Ts-Ta);// [W]
printf("heat transfer is %f W",q);
|
bac929f8f29ddcc9d37ca62e1a08d4bd2a93e592 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasedelay/phasedelay1.sce | a0b25a12d099053fcfd8f754a40dbc2741b43ba9 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | sce | phasedelay1.sce | b=[0.5 1 2 -3];
a=[1 1 -0.5];
n=3;
[phi]=phasedelay(b,a,n)
|
b02eab39c872fe62bbf499d10d618c7abc07f6d5 | 78de1b37ac7fbc77bc00584d6677402639eb8ccf | /Ex_6_8.sce | 4c03f08614ccbbff3369de030707be9240b9a0db | [] | no_license | devanshmody/c-c-programs | de25f17728b488bb5245342338d303d968f2ee05 | 7405239f4fc792a1382d7726cb1aaeffc3e740a8 | refs/heads/main | 2023-04-16T14:11:06.271935 | 2021-05-05T09:39:48 | 2021-05-05T09:39:48 | 364,526,778 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex_6_8.sce | //Example 6.8
clc;clear;close;
L=3;A=1/4;
x=A*ones(1,L);
//Calculation of DFT
X=dft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(X,'DFT of the Sequence is X(k): '); |
1294ce7c9773b6b5dc40eac695e4476e40795145 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH10/EX5.10.10/Ex5_10_10.sce | 22526d316207ea1c592c70b3e03ff627b1eb77b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex5_10_10.sce | //Section-5,Example-3,Page no.-D.12
//To find the percentage of R_1 and R_2 left unreacted.
clc;
R_0=1 //(let)
t_1=30
R_t=0.75*R_0
k_1=(2.303/t_1)*(log10(R_0/R_t))
t_2=35
R1_t=(R_0)/(10^((k_1*t_2)/2.303))
R1_tpr=100*R1_t
disp(R1_tpr,'Percentage of R_1 left unreacted(%)')
k_O=(1/t_1)*((1/R_t)-(1/R_0))
R2_t=(R_0)/((k_O*t_2)+R_0)
R2_tpr=100*R2_t
disp(R2_tpr,'Percentage of R_2 left unreacted(%)')
|
43e03fcfb15fbd1378307ef824541e7badfc0f83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH1/EX1.1/ex1_1.sce | 0d243ea80fe49cd18c5d8c166cf384f9adb74d7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
format('v',5)
// Given data
R1=4;// in ohm
R2= 6;// in ohm
R3= 2;// in ohm
V1= 24;// in V
V2= 12;// in V
// Applying KVL in Mesh ABEFA, V1 = (R1+R3)*I1 - R3*I2 (i)
// Applying KVL in Mesh BCDEB, V2 = R3*I1 - (R2+R3)*I2 (ii)
A= [(R1+R3) R3;-R3 -(R2+R3)];// assumed
B= [V1 V2];// assumed
I= B*A^-1;// Solving equations by matrix multiplication
I1= I(1);// in A
I2= I(2);// in A
disp(I1,"The current through 4 ohm resistor in A is");
// current through 2 ohm resistor
I= I1-I2;// in A
disp(I,"The current through 2 ohm resistor in A is");
disp(I2,"The current through 6 ohm resistor in A is");
disp("That is "+string(abs(I2))+" A current flows in 6 ohm resistor from C to B")
|
d896d0c0c9082f8674066fff705a1825ee283b6d | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /loadIPT.sce | 374451b293daf6aba736d8558fac111108cf52bb | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | loadIPT.sce | exec macros/show.sci
exec macros/imshow.sci
exec macros/modified_if.sci
exec macros/cmp.sci
exec loader.sce
//exec Octave/loader.sce
exec macros/il2mat.sci
exec macros/mat2il.sci
S = dir('macros/more')
for x=1:size(S(2), 1)
exec('macros/more/'+S(2)(x))
end
clear S
clear x
|
4f38fcf6f86134556100c1b6a4c52ea298b2c5e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.14/Ex17_14.sce | 9e8f4848dbd396a989fba27988509b4194a02ebe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Ex17_14.sce | clear
//Given
u=-9.0 //cm
y=1
y1=1.5
R=-15.0 //cm
//Calculation
v=1/(((y-y1)/R)-(y1/-u))
//Result
printf("\n The value of distance is %0.3f cm",v)
|
4b342685220da3af0c02776248170333a244acb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.48/Ex2_48.sce | 57c2b0e7b445a2fcabd450c6043257ee2f115c36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,135 | sce | Ex2_48.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 48
clc;
disp("CHAPTER 2");
disp("EXAMPLE 48");
//VARIABLE INITIALIZATION
pf1=0.8; //power factor of 1st circuit
pf2=0.6; //power factor of 2nd circuit
z=1; //this is an assumption
//SOLUTION
angle1=acos(pf1)*(180/%pi); //in degrees
angle2=acos(pf2)*(180/%pi); //in degrees
//function to convert from polar form to rectangular form
function [x,y]=pol2rect(mag,angle);
x=mag*cos(angle*(%pi/180)); //to convert the angle from degrees to radians
y=mag*sin(angle*(%pi/180));
endfunction;
[z1_x,z1_y]=pol2rect(z,angle1);
[z2_x,z2_y]=pol2rect(z,angle2);
nr=angle1+angle2; //numerator
z_x=z1_x+z2_x;
z_y=z1_y+z2_y;
//function to convert from rectangular form to polar form
function [z,angle]=rect2pol(x,y);
I=sqrt((x^2)+(y^2));
angle=atan(y/x)*(180/%pi); //to convert the angle from radians to degrees
endfunction;
[z,angle]=rect2pol(z_x,z_y);
angle_z=nr-angle;
pf=cos(angle_z*(%pi/180));
disp(sprintf("The power factor of the combination is %f",pf));
//END
|
87a99bb73df581384e5a91fecbddcbaf12f8daea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH3/EX3.5/ex3_5.sce | 7d5bc593555f9886f19458717c3ac8c5631b5bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | ex3_5.sce | clc;clear;
//Example 3.5
//given data
Z=1;
n=1;
e=1.6*10^-19;//the charge on electron in C
h=6.625*10^-34;//Plank's constant
Eo=8.854*10^-12;//absolute permitivity of free space in F/m
m=9.12*10^-31;//mass of electron in kg
//calculations
v=Z*e^2/(2*Eo*n*h);
disp(v,'velcocity in m/s');
E=-m*Z^2*e^4/(8*(Eo*n*h)^2);
disp(E,'energy of hydrogen atom in J');
f=m*Z^2*e^4/(4*Eo^2*(n*h)^3);
disp(f,'frequecy in Hz') |
28da2fb3623c211a8210171ea3b112815f678ac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.7/Ex6_12_7.sce | 7a6edbc4eec675c49fa64ab3779b9dd2c608bb80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex6_12_7.sce | //Section-6,Example-1,Page no.-P.38
//To find the partial vapour pressure of benzene in the solution.
clc;
n_B=1000/78
n_n=1.5
p_Bbar=94.6
x_B=n_B/(n_B+n_n)
p_B=x_B*p_Bbar
disp(p_B,'Partial vapour pressure of benzene(Torr)')
|
c82161c2e9a5491b9365840a2f6a0eef6ed9e03b | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/Indicador/Momento/ESTOCASTICO/treinamentoRede_ESTOCASTICO.sce | 2a4767e3715c84e0d2a89e3c21d5ca19c334abc8 | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | treinamentoRede_ESTOCASTICO.sce | clear;
path_treina_ESTOCASTICO = get_absolute_file_path('treinamentoRede_ESTOCASTICO.sce');
exec( path_treina_ESTOCASTICO+"\..\..\..\_treinamento.sce" );
treinar( path_treina_ESTOCASTICO, "ESTOCASTICO" );
|
6561f01df4ce45db3f2f98154b7267ec0817ba16 | b52ef17dbb229bbcc28dfe42bb6fa4ae0c774d0e | /week2/main.sce | 564a3e98471349ff85b3561d8fbff89ba56a5a1b | [] | no_license | ElenPatrusheva/scilab_exp | 5d04edcf32422d021ac73cedf9f4debb7681c35b | 99414b66fd869bd6c01b6ccda7aedf212108f09c | refs/heads/master | 2021-10-08T09:49:00.143990 | 2021-10-02T17:31:08 | 2021-10-02T17:31:08 | 249,473,770 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,636 | sce | main.sce | b = chdir('/home/elena/Documents/week2/lab_2');
exec('ADC.sce');
function noise=get_sinus(sin_freq, fs, sin_ampl)
step_size = sin_freq*(2*%pi)/fs;
part_len = size(recorded_data, "r") / fs
samples = (1:fs*part_len)*step_size;
noise = mtlb_t(sin_ampl*sin(samples));
endfunction
function try_frequencies(n, record,fs, sin_ampl)
f =figure(n);
clf;
counter = 1;
for sin_freq = 120:10:210
noise = get_sinus(sin_freq, fs, sin_ampl);
cleaned = record - noise;
subplot(4,3,counter);
plot(cleaned);
xlabel('samples');
ylabel('Amplitude');
title('Cleaned record for sin frequency ' + string(sin_freq));
counter = counter + 1;
show_window(n);
xname('Frame number ' + string(n));
end
endfunction
quant_levels = (-1:0.001:0.5);
sin_ampl = 0.1;
fs_s =[32000, 22050, 32050, 22050, 32050, 32000, 32000 ,22050, 22050, 22050, 32000, 32000, 22050, 32000];
freq_s =[200, 150, 180, 120, 210, 180, 140, 120, 150, 210, 150, 190, 140, 210];
// The part required to find frequences
/*
for n=1:14
fs = fs_s(n);
recorded_data = ADC(n, quant_levels, fs);
shift = mean(recorded_data);
try_frequencies(n, recorded_data, fs);
end
*/
result = [];
original_s = [];
for n=1:14
recorded_data = ADC(n, quant_levels, fs_s(n));
shift = mean(recorded_data);
recorded_data = recorded_data - shift;
cleaned = recorded_data - get_sinus(freq_s(n), fs_s(n), sin_ampl);
result(n).entries = cleaned;
original_s(n).entries = recorded_data;
//playsnd(cleaned, fs_s(n));
end
for n=1:14
playsnd(result(n).entries, fs_s(n));
end |
30eba311784ba99d85c3f88d073141dad2e410c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH18/EX18.4/Ex18_4.sce | 071742498128a480390ad846f2936d436eeb8269 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex18_4.sce | //Example 18.4//
n=8;//numbers Ni2+/ unit cell
n1=2; //moment of Ni2+
m=n*n1
mprintf("m = %i ",m)
a=18.4;// measured value of nickel ferrite
e=((a-m)/a)*100
mprintf("\ne = %i percent",e)
|
753e2e257209cf23133702c70906bb4b4b52d68c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH24/EX24.3/24_3.sce | 3fcb35898e32f3ac9b7383bc909eaec5fb6cfafb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | 24_3.sce | clc
//initialisation of variables
R= 0.08205 //l-atm mole^-1 K^-1
T= 25 //C
p= 1 //atm
Mr= 226 //gms
th= 3.82 //days
t= 1620 //years
//CALCULATIONS
NRn= th/(Mr*t*365.26)
V= NRn*R*(273+T)*1000/p
//RESULTS
printf ('millilitres of radon = %.2e ml',V)
|
0effa44da188dd29f6bf2560b1a9ad59ffa3caed | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH10/EX10.10/Exa_10_10.sce | 7ed13d3ece2e9b0bf72d01178b526a28a35d3b44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Exa_10_10.sce | //Maximally flat FIR filter design
Fp=0.2;
Fs=0.4;
Fc=0.3;
Ft=0.2;
N0=1+0.5/Ft^2;
N0=ceil(N0);
alpha=(cos(%pi*Fc))^2;
k=5;Mmin=14;
L=Mmin-k;
N=2*Mmin-1;
disp(N,'Hence with this length we can get maximally flat FIR filter with no ripples in passband'); |
837e35b5f6dc2f81c235dd779c675aefca612009 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.17/Ex2_17.sce | 697154b71d83fbe93e7d5bad5ad2954b9c33c862 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | Ex2_17.sce | clc;
Voutpk=8; //volt
Vf=1.8; //volt
If=0.02; //Ampere
Rs=(Voutpk-Vf)/If; //Ohm//v=r*i
disp('Ohm',Rs,"Rs=");
|
790d696a6043f3fd4c390d3dd394b6a4fe3329d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH10/EX10.1/Ch010Ex1.sce | ea506792f984427a3ca20875ccba6929f98f2514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ch010Ex1.sce | // Scilab code Ex10.1 : Pg:405 (2008)
clc;clear;
E = 1000; // Electric field applied to sodium chloride crystal, V/m
P = 4.3e-008; // Polarization, Coulomb per meter square
epsilon_0 = 8.85e-012; // Permittivity of free space, force per meter
// Since P = epsilon_0*(epsilon_r-1)*E, solving for epsilon_r
epsilon_r = 1 + P/(epsilon_0*E); // Relative permittivity of sodium chloride
printf("\nThe relative permittivity of sodium chloride = %4.2f ", epsilon_r);
// Result
// The relative permittivity of sodium chloride = 5.86 |
6d9d85ee4a49bbc3dd2e6a656040e5ef896ca9f7 | fcb923ff741381fc01b5fdbcc2c23fea444a01b1 | /nav30/bench_1/nav30.tst | 1bfe7345f77220f0ac868f0fea6943b289421391 | [] | no_license | zutshi/pwa_smt2_bench | e3ac1f980a1b1ef943f60b89252351474b7789ec | 6a33890266396786a37be4c015ff2b7656de07d9 | refs/heads/master | 2020-04-10T15:51:04.339663 | 2016-10-09T02:04:09 | 2016-10-09T02:04:09 | 68,058,186 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,510 | tst | nav30.tst | # REFERENCE:
# EMSOFT paper
inf = float('inf')
plant_pvt_init_data = None
# x0 = np.array([4, 5], [21, 22])
# v0 = np.array([[0.2, 0.5], [-0.5, 0.5]])
# Property
initial_set = [[4.0, 21.0, -1.0, -1.0],
[5.0, 22.0, 1.0, 1.0]]
#initial_set = [[5., 21.22936519, -0.959, 0.],
# [5., 21.22936519, -0.959, 0.078]]
P = [[6., 7., -inf, -inf],
[7., 8., inf, inf]]
Q = [[7., 9., -inf, -inf],
[8., 10., inf, inf]]
R = [[1., 6., -inf, -inf],
[2., 7., inf, inf]]
S = [[22., 11., -inf, -inf],
[23., 12., inf, inf]]
error_set = R
# P, Q, R
T = 20.0
# S
# T = 35.0
# Abstraction params: P, Q, R, S
#grid_eps = [0.2, 0.2, 0.4, 0.4]
grid_eps = [0.51]*4
delta_t = 5.0
num_samples = 5
MAX_ITER = 4
plant_description = 'python'
plant_path = 'nav30.py'
#############################################
############## Don't care params ############
#############################################
initial_controller_integer_state = []
initial_controller_float_state = []
num_control_inputs = 0
min_smt_sample_dist = 0
ci = [[], []]
pi = [[],[]]
controller_path = None
controller_path_dir_path = None
initial_discrete_state = []
initial_private_state = []
# Viloations
#
# S
# x0=[ 4.14327461 21.51742883 0.8471542 0.9884877 ] -> x=[ 22.44414369 11.999 0.22792075 -0.86384343], t=30.1382177243
# x0=[ 4.50024758 21.82478644 0.97146715 0.6993149 ] -> x=[ 22.4524101 11.999 0.22748131 -0.86401213], t=30.1798284278
|
a4750db19dc9197faff451896f8f53f6d1529819 | c2e508c300fac63880ad364fa5e7318720c637fd | /nand2tetris/projects/01/Repeater16.tst | 35ec5bc3d60776b16371acfa0ef6fc68b2f8a904 | [] | no_license | wengzilla/recurse_center | dad4a444a106cf7018d15c2352827975ebe1bad5 | b1f509bf6bf6994786def6af86fe5d422f27475d | refs/heads/master | 2020-12-25T11:04:57.155811 | 2016-08-11T20:34:56 | 2016-08-11T20:45:26 | 62,838,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | tst | Repeater16.tst | // File name: projects/01/Repeater16.tst
load Repeater16.hdl,
output-file Repeater16.out,
compare-to Repeater16.cmp,
output-list in%B3.1.3 out%B1.16.1;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
f923f760482f28a79583d337da9082604c121350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH8/EX8.1/example8_1.sce | c0bbb20867345d931d6ad3d43edc4f7fa5ea5525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | example8_1.sce | clear;
clc;
//Example8.1[Heating of water in a tube by Steam]
//Given:-
id=0.025;//Internal diameter[m]
Tin=15;//Initial temp[degree Celcius]
m_=0.3;//Flow rate[kg/s]
h=800/1000;//avg heat transfer coefficient[W/m^2.degree Celcius]
Tf=115;//Final temp of water[degree Celcius]
Ts=120;//[degree Celcius]
Hs=2203;//Heat of condensation of steam at 120 degree Celcius[kJ/kg]
Tavg=(Tin+Tf)/2;//[degree Celcius]
Cp=4187;//Sp Heat of water at Tavg[J/kg.degree Celcius]
//Solution:-
Q_=m_*Cp*(Tf-Tin)/1000;//[kW]
disp("kW",Q_,"The rate of heat transfer is")
del_Tf=Ts-Tf;//[degree Celcius]
del_Tin=Ts-Tin;//[degree Celcius]
ln_del_T=(del_Tf-del_Tin)/(log(del_Tf/del_Tin));//[degree Celcius]
disp("degree Celcius",ln_del_T,"Logrithmic Mean temperature difference is")
A=Q_/(h*ln_del_T);//[m^2]
disp("m^2",A,"Heat Transfer surface area is")
l=A/(%pi*id);//[m]
disp("m",round(l),"Required tube length is") |
ce0264b4414943bad0bb8e4f7ead574c231bc3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH11/EX11.3/CH11Exa3.sce | 72871362ba4cb22fa118581653bc55b74e3b4112 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,132 | sce | CH11Exa3.sce | // Scilab code Exa11.3 : : Page-536 (2011)
clc; clear;
f = 200*10^6; // Frequency of the accelerator, cycle per sec
M = 1.6724e-27; // Mass of the proton, Kg
E = 45.3*1.6e-13; // Accelerating energy, joule
L_f = round (1/f*sqrt(2*E/M)*100); // Length of the final drift tube, centi metre
L_1 = 5.35*10^-2; // Length of the first drift tube, metre
K_E = (1/2*M*L_1^2*f^2)/1.6e-13; // Kinetic energy of the injected proton, MeV
E_inc = E/1.6e-13-K_E; // Increase in energy, MeV
q = 1.6e-19; // Charge of the proton, C
V = 1.49e+06; // Accelerating voltage, volts
N = E_inc*1.6e-13/(q*V); // Number of drift protons
L = 1/f*sqrt(2*q*V/M)*integrate('n^(1/2)', 'n', 0, N); // Total length of the accelerator, metre
printf("\nThe length of the final drift tube = %d cm\nThe kinetic energy of the injected protons = %4.2f MeV\nThe total length of the accelerator = %3.1f metre", L_f, K_E, L);
// Result
// The length of the final drift tube = 47 cm
// The kinetic energy of the injected protons = 0.60 MeV
// The total length of the accelerator = 9.2 metre |
7d94fef7f3d4b987bacbaa3f7ba8c12751d48774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.a.4/Example_a_6_4.sce | f49fdb7e61324c29321359419b4455c2b2d38734 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Example_a_6_4.sce | //Example_a_6_4 page no:235
clc;
R1=5;
I5mag=sqrt(600/5);
V=I5mag*sqrt(50);
apparent_power=3000;
Itmag=apparent_power/V;
Itang=45;
I5ang=-45;
Itreal=Itmag*cosd(Itang);
Itimag=Itmag*sind(Itang);
It=Itreal+(Itimag*%i);
I5real=I5mag*cosd(I5ang);
I5imag=I5mag*sind(I5ang);
I5=I5real+(I5imag*%i);
Iz=It-I5;
Izmag=sqrt(real(Iz)^2+imag(Iz)^2);
Izang=atand(imag(Iz)/real(Iz));
Zmag=V/Izmag;
Zang=0-Izang;
disp(Zmag,"the magnitude of impedence is (in ohm)");
disp(Zang,"the angle of impedence is (in degree)");
|
4e2daf4e2f3e1053023c3804e8db1c5e9f634519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.17/example_3_17.sce | 0e4872505a6a4056565816cdfd333bc73aefeeed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | example_3_17.sce | clear;
clc;
disp("--------------Example 3.17---------------")
L=9; // number of levels
bits_per_level=log2(L); // formula to calculate number of bits per level
printf("The number of bits per level is %3.2f bits.\n",bits_per_level);
if(~(bits_per_level/10 == 0)) // if the number of bits is not an integer or power of 2
printf("This answer is not realistic. The number of bits sent per level needs to be an integer as well as a power of 2.\n");
r=nextpow2(bits_per_level); // find nearesr power of 2
bits=2^r;
printf("Therefore %d bits can represent one level.",bits); // display result
end
|
935de3c63f0830aa2b1989a8cea7c9753ade6735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH18/EX18.3/Example18_3.sce | 656fe92e4c76e8ac017e1016d4f61b4153814e2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example18_3.sce | clear;
clc;
//Caption:SCR Relaxation Oscillator Phase control Circuit
//Given Data
C=0.1;//in microF
V=60;//in V
Vb=32;//in V
Vh=10;//holding voltage in V
Ih=100;//in microA
c=45;//conductance angle in degree
cd = 360 - c;//angle in which capacitor will get charged
td = (cd/360)*(1/60);//in ms
//if the anode voltage is positive,the SCR will fire when vc=32V
vc=32;//in V
//let time constant = t = R*C
//vc-Vh = (V-Vh)(1-exp(-td/t))
t = -td/log(1-((vc-Vh)/(V-Vh)));
disp('sec',t,'time constant = ');
R = t/C;//Resistance in K
disp('K',R*1000,'R=');
//end |
17c9ef88865bd712a69cb566c9f97c3c4f3942dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH9/EX9.8/Ex9_8.sce | 0f5dc525b59bd6571d24bf3602d2cdbd00bba4cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex9_8.sce | //Example 9.8: Reduction of state table
clc // Clears the console
disp("Given State Table")
disp("q | x=0 x=1 | z")
disp('--------------------------------')
disp("A | C D | 1")
disp("B | C D | 0")
disp("C | B D | 1")
disp("D | C A | 1")
disp('Step 1 produces five SP Partitions')
disp('P1 = (AB)(C)(D)')
disp('P2 = (ABC)(D)')
disp('P3 = (AD)(B)(C)')
disp('P4 = (A)(BC)(D)')
disp('P5 = (ABD)(C)')
disp('Step 2 requires three sums')
disp('P1 + P3 = (ABD)(C)--> P5')
disp('P1 + P4 = (ABC)(D)--> P2')
disp('P3 + P4 = (AD)(BC)--> P6')
disp('only one new partition is found by step 2.')
|
89e15253f00f75db39f0ec42242611edf58ceefb | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_a6_hrz_col/~BivLCM-SR-bfi_a6_hrz_col-PLin-VLin.tst | 8b2476b10ea2fb85f32c4c8555f0f995156ae97a | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_a6_hrz_col-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.354193D+00
2 -0.241634D-02 0.301726D-02
3 0.162580D+00 -0.259457D-02 0.282286D+00
4 -0.256243D-02 0.115641D-02 -0.561260D-02 0.214152D-02
5 -0.534605D-03 0.112312D-03 -0.144546D-02 0.279951D-03 0.277590D-02
6 0.172132D-02 0.841078D-06 0.159235D-02 0.426053D-04 0.401311D-04
7 -0.152660D-02 0.611933D-04 -0.156427D-02 0.172355D-03 0.209245D-03
8 0.228686D-02 0.382661D-04 0.164616D-02 -0.311573D-04 0.222813D-03
9 -0.110352D+00 0.174329D-01 -0.122380D+00 0.699754D-02 0.101033D+00
10 -0.154913D+00 0.149672D-01 -0.241888D-01 0.310189D-01 0.196668D+00
11 -0.523176D-01 0.192870D-01 0.472688D-01 0.111615D-01 0.391342D-01
12 -0.719955D+00 0.176271D-01 -0.551598D+00 0.137790D-01 0.440325D-01
13 -0.104545D-01 -0.295588D-03 -0.398696D-01 0.580292D-02 0.302493D-01
14 -0.126956D+00 0.352900D-02 -0.329751D+00 0.130281D-01 0.317054D-01
15 -0.806744D+00 0.799696D-01 -0.518627D+00 0.451835D-01 -0.140975D+00
16 -0.383080D-01 -0.123425D-01 0.853968D-02 -0.711701D-02 0.646628D-03
17 -0.119121D-01 -0.212261D-02 -0.723236D-02 -0.740800D-03 -0.590139D-03
18 -0.794365D+00 0.392253D-01 -0.118658D+01 0.618212D-01 -0.135971D-01
19 -0.909690D-01 -0.528200D-02 0.750151D-01 -0.725195D-02 0.615677D-02
20 -0.145249D+01 0.561337D-01 -0.250066D+01 0.783909D-01 -0.240571D-01
21 0.957913D-01 -0.665474D-02 -0.454444D-03 -0.938396D-02 -0.631939D-02
22 -0.419541D-02 -0.648230D-03 -0.594144D-02 -0.362999D-03 -0.318523D-03
23 0.286564D-01 -0.714902D-02 0.358307D-01 -0.859080D-02 -0.590718D-03
24 -0.262465D-02 -0.171025D-03 0.654917D-03 -0.642929D-04 -0.530211D-05
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.169826D-02
7 0.865380D-03 0.193166D-02
8 0.397990D-03 -0.997411D-04 0.285803D-02
9 0.286857D-01 0.506565D-01 0.555724D-01 0.794361D+02
10 0.342979D-01 0.371839D-01 0.508864D-02 0.482245D+01 0.330275D+02
11 0.515191D-01 0.697213D-01 0.350805D-01 0.202327D+02 0.383115D+01
12 0.213443D-02 0.347014D-01 -0.123064D-02 0.265976D+02 0.653476D+01
13 0.961993D-01 0.949282D-01 0.187523D-01 0.220616D+01 0.674895D+01
14 0.455001D-01 0.450966D-01 0.110568D+00 0.722012D+01 0.420373D+01
15 -0.347129D-01 0.114180D-01 -0.949925D-01 -0.104491D+02 -0.212457D+02
16 -0.104238D-02 -0.155295D-02 -0.150797D-02 0.499497D+00 -0.576510D-01
17 -0.101346D-03 -0.229718D-03 0.458852D-03 -0.211989D+00 -0.280464D-01
18 -0.997151D-01 -0.633466D-01 -0.127520D+00 -0.564453D+01 -0.704432D+01
19 -0.150703D-01 0.779388D-03 -0.410318D-02 -0.289434D+00 0.592003D+00
20 -0.646657D-01 -0.864149D-02 -0.224468D+00 -0.709091D+01 -0.118902D+01
21 0.116435D-01 -0.642389D-02 0.998203D-03 0.718337D+00 -0.704696D+00
22 -0.912613D-04 -0.864259D-04 0.616073D-03 -0.900401D-01 -0.181096D-01
23 -0.987599D-03 -0.406296D-02 -0.399783D-02 0.239021D+00 -0.772791D-01
24 -0.866079D-05 0.166457D-03 0.725030D-03 -0.663681D-01 -0.137826D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.530018D+02
12 0.525381D+01 0.114498D+03
13 0.390074D+01 0.131824D+01 0.134089D+02
14 0.118798D+01 0.323775D+01 0.561437D+01 0.280002D+02
15 -0.338916D+01 0.933331D+00 -0.272122D+01 -0.786758D+01 0.373396D+03
16 -0.144721D-01 0.514389D+00 -0.700815D-01 -0.684237D-01 0.868892D+00
17 -0.107663D+00 -0.143297D+00 -0.200447D-02 0.363599D-01 -0.184785D+01
18 -0.956860D+01 -0.863578D+01 -0.753951D+01 -0.102393D+02 0.188726D+03
19 0.351121D+00 0.313562D+01 -0.394874D+00 -0.793658D+00 0.132152D+01
20 -0.582468D+00 -0.173651D+02 -0.384628D+01 -0.163941D+02 0.998942D+02
21 0.342734D+00 -0.264029D+01 -0.952103D-02 0.475155D+00 -0.188711D+01
22 -0.912384D-01 -0.411500D-01 -0.406675D-02 0.601828D-01 -0.896481D+00
23 0.345647D+00 0.673132D+00 -0.296767D+00 -0.290040D+00 -0.917630D+00
24 -0.741128D-01 -0.904412D-01 0.224074D-01 0.616321D-01 -0.375173D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.509883D+00
17 -0.178938D-01 0.219180D-01
18 -0.121139D+00 -0.946608D+00 0.210278D+03
19 0.283011D+00 -0.322293D-01 0.170950D+01 0.372891D+01
20 -0.795328D+00 -0.456350D+00 0.152568D+03 0.142442D+01 0.247762D+03
21 0.272633D+00 0.600199D-02 -0.167448D+01 -0.311840D+01 -0.223970D+01
22 -0.118092D-01 0.114765D-01 -0.925171D+00 -0.421990D-01 -0.633637D+00
23 0.199107D+00 -0.716629D-02 -0.759853D+00 0.135844D+00 0.709220D+00
24 -0.603461D-02 0.650041D-02 -0.527936D+00 -0.233101D-01 -0.962974D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.404831D+01
22 -0.268024D-02 0.121617D-01
23 0.514577D+00 -0.208759D-01 0.557528D+00
24 -0.217414D-01 0.816735D-02 -0.512500D-01 0.124184D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.074 1.000
3 0.514 -0.089 1.000
4 -0.093 0.455 -0.228 1.000
5 -0.017 0.039 -0.052 0.115 1.000
6 0.070 0.000 0.073 0.022 0.018
7 -0.058 0.025 -0.067 0.085 0.090
8 0.072 0.013 0.058 -0.013 0.079
9 -0.021 0.036 -0.026 0.017 0.215
10 -0.045 0.047 -0.008 0.117 0.650
11 -0.012 0.048 0.012 0.033 0.102
12 -0.113 0.030 -0.097 0.028 0.078
13 -0.005 -0.001 -0.020 0.034 0.157
14 -0.040 0.012 -0.117 0.053 0.114
15 -0.070 0.075 -0.051 0.051 -0.138
16 -0.090 -0.315 0.023 -0.215 0.017
17 -0.135 -0.261 -0.092 -0.108 -0.076
18 -0.092 0.049 -0.154 0.092 -0.018
19 -0.079 -0.050 0.073 -0.081 0.061
20 -0.155 0.065 -0.299 0.108 -0.029
21 0.080 -0.060 0.000 -0.101 -0.060
22 -0.064 -0.107 -0.101 -0.071 -0.055
23 0.064 -0.174 0.090 -0.249 -0.015
24 -0.040 -0.028 0.011 -0.012 -0.001
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.478 1.000
8 0.181 -0.042 1.000
9 0.078 0.129 0.117 1.000
10 0.145 0.147 0.017 0.094 1.000
11 0.172 0.218 0.090 0.312 0.092
12 0.005 0.074 -0.002 0.279 0.106
13 0.637 0.590 0.096 0.068 0.321
14 0.209 0.194 0.391 0.153 0.138
15 -0.044 0.013 -0.092 -0.061 -0.191
16 -0.035 -0.049 -0.040 0.078 -0.014
17 -0.017 -0.035 0.058 -0.161 -0.033
18 -0.167 -0.099 -0.164 -0.044 -0.085
19 -0.189 0.009 -0.040 -0.017 0.053
20 -0.100 -0.012 -0.267 -0.051 -0.013
21 0.140 -0.073 0.009 0.040 -0.061
22 -0.020 -0.018 0.104 -0.092 -0.029
23 -0.032 -0.124 -0.100 0.036 -0.018
24 -0.002 0.034 0.122 -0.067 -0.022
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 0.067 1.000
13 0.146 0.034 1.000
14 0.031 0.057 0.290 1.000
15 -0.024 0.005 -0.038 -0.077 1.000
16 -0.003 0.067 -0.027 -0.018 0.063
17 -0.100 -0.090 -0.004 0.046 -0.646
18 -0.091 -0.056 -0.142 -0.133 0.674
19 0.025 0.152 -0.056 -0.078 0.035
20 -0.005 -0.103 -0.067 -0.197 0.328
21 0.023 -0.123 -0.001 0.045 -0.049
22 -0.114 -0.035 -0.010 0.103 -0.421
23 0.064 0.084 -0.109 -0.073 -0.064
24 -0.091 -0.076 0.055 0.105 -0.174
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.169 1.000
18 -0.012 -0.441 1.000
19 0.205 -0.113 0.061 1.000
20 -0.071 -0.196 0.668 0.047 1.000
21 0.190 0.020 -0.057 -0.803 -0.071
22 -0.150 0.703 -0.579 -0.198 -0.365
23 0.373 -0.065 -0.070 0.094 0.060
24 -0.076 0.394 -0.327 -0.108 -0.549
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.012 1.000
23 0.343 -0.254 1.000
24 -0.097 0.665 -0.616 1.000
|
f8026d46682e859e3f342085ef921239592fcdf5 | 5cf042cd196f5fcc3858775fe19c65cbd3238b05 | /radar.sci | e5bb26e1fe3597b60b1ec76dfacd9fa8f7676469 | [] | no_license | parikh-dharit/Radar-Simulation | 344f326f355be10d8756c7f804dabd6240b3e6ed | cbbbfc9e9a0c7e4a3ff1e120382f6e711512be31 | refs/heads/master | 2021-01-10T05:19:52.031162 | 2016-01-06T15:48:41 | 2016-01-06T15:48:41 | 49,144,415 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,018 | sci | radar.sci | clf;
clear;
t = 0:0.01:20
function ts=f(t)
if t<2 then
ts = sin (10*t)
else
ts = 0
end
endfunction
subplot(221);
plot(t,f);
function ns=f2(t)
ns = (sin (4*t)/5 - sin (2*t)/5 + sin (9*t)/7 - sin(8*t)/6)/2 ;
endfunction
rd = grand(1,1,"uin",2,9);
subplot(222)
plot(t,f2);
function rs=f1(t)
// rs = (f(t-rd)*14)/15 + f2(t);
if t>rd&t<(2+rd) then
rs = (f(t-rd)*14)/15 + f2(t); //sin (4*t)/5 - sin (2*t)/5 + sin (9*t)/7 - sin(8*t)/6 ;
else
rs = f2(t);//sin (4*t)/5 - sin (2*t)/5 + sin (9*t)/7 - sin(8*t)/6;
end
endfunction
subplot(223)
plot(t,f1);
for n = 1:11
function ts1=f0(t)
ts1 = f(t-n)
endfunction
function new=g(t)
new = f0(t) * f1(t);
endfunction
intvalue = intg(0,20,g);
if n==1 then
td=n
maxi= intvalue
else
if intvalue>maxi then
td=n
maxi=intvalue
end
end
end
disp(td,"Delay : ");
|
133fc0194d214676ea64ed045e83a45478b52548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.20/Ex1_20.sce | 688b9bda8a042ddc71d58ab7f218e8a10cce3289 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | Ex1_20.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.20
//Given Data Set in the Problem(SI Units)
w=16
t=25
T=273+t
p=0.25*10^6
g=9.81
//Calculations
//1)Density
density=w/g
mprintf("The Density of the gas is %f kg/m^3 \n",density)
//2)Gas consatnt
R=p/(density*T)
mprintf("The gas constant is %f Nm/kg-K \n",R)
|
9fd5a8920a5c66893f7d8405c1839c67f6a48a6f | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.abalone-10-1tra/result8s0.tst | 7cbe91aee17db1d49a644cacba9b0fa5ce16f224 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,402 | tst | result8s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]
@attribute Rings{15,7,9,10,8,20,16,19,14,11,12,18,13,5,4,6,21,17,22,1,3,26,23,29,2,27,25,24}
@inputs Sex,Length,Diameter,Height,Whole_weight,Shucked_weight,Viscera_weight,Shell_weight
@outputs Rings
@data
9 7
10 7
12 7
10 7
12 7
18 7
8 7
7 7
9 7
13 7
9 7
12 7
13 7
9 7
9 7
10 7
5 7
14 7
9 7
14 7
8 7
9 7
9 7
14 7
22 7
3 7
5 7
10 7
7 7
15 7
13 7
12 7
4 7
19 7
5 7
8 7
9 7
8 7
20 7
16 7
15 7
12 7
14 7
6 7
14 7
11 7
9 7
8 7
19 7
16 7
17 7
21 7
16 7
15 7
15 7
10 7
6 7
5 7
20 7
10 7
14 7
10 7
7 7
13 7
13 7
13 7
10 7
12 7
17 7
8 7
9 7
7 7
10 7
10 7
2 7
15 7
14 7
13 7
20 7
13 7
15 7
9 7
11 7
10 7
6 7
9 7
10 7
12 7
8 7
8 7
12 7
11 7
9 7
4 7
6 7
6 7
7 7
7 7
7 7
8 7
7 7
9 7
9 7
11 7
8 7
10 7
8 7
11 7
10 7
11 7
6 7
7 7
6 7
8 7
9 7
9 7
7 7
9 7
10 7
9 7
9 7
9 7
11 7
5 7
5 7
4 7
7 7
6 7
7 7
6 7
7 7
7 7
10 7
9 7
10 7
8 7
10 7
10 7
9 7
9 7
10 7
12 7
9 7
10 7
10 7
12 7
12 7
12 7
14 7
6 7
6 7
8 7
8 7
11 7
10 7
10 7
5 7
8 7
7 7
6 7
7 7
6 7
8 7
7 7
9 7
8 7
10 7
10 7
10 7
10 7
10 7
11 7
10 7
11 7
9 7
9 7
9 7
11 7
14 7
7 7
8 7
10 7
10 7
9 7
8 7
8 7
9 7
8 7
8 7
9 7
9 7
9 7
8 7
11 7
9 7
11 7
11 7
10 7
10 7
11 7
9 7
10 7
10 7
12 7
10 7
12 7
4 7
6 7
7 7
8 7
7 7
9 7
9 7
9 7
11 7
8 7
6 7
12 7
9 7
9 7
12 7
17 7
10 7
8 7
9 7
7 7
6 7
6 7
12 7
13 7
9 7
12 7
16 7
14 7
13 7
12 7
15 7
23 7
18 7
12 7
18 7
5 7
16 7
11 7
17 7
12 7
10 7
10 7
10 15
15 7
10 7
6 7
5 7
17 7
14 7
14 7
19 7
6 7
7 7
8 7
11 7
13 7
13 7
7 7
6 7
7 7
11 7
9 7
13 7
10 7
5 7
8 7
6 7
9 7
8 7
9 7
9 7
8 7
9 7
8 7
9 7
9 7
9 7
8 7
10 7
11 7
8 7
11 7
8 7
11 7
11 7
10 7
4 7
7 7
9 7
10 7
12 7
11 7
11 7
6 7
11 7
9 7
8 7
11 7
9 7
11 7
10 7
10 7
10 7
8 7
9 7
8 7
8 7
10 7
10 7
8 7
12 7
9 7
11 7
11 7
11 7
8 7
11 7
10 7
8 7
8 7
7 7
9 7
6 7
11 7
8 7
7 7
10 7
13 7
11 7
15 7
18 7
10 7
13 7
15 7
13 7
16 7
12 7
4 7
13 7
11 7
13 7
14 7
11 7
17 7
10 7
5 7
7 7
13 7
8 7
7 7
7 7
10 7
12 7
7 7
8 7
8 7
11 7
10 7
9 7
11 7
11 7
7 7
6 7
8 7
9 7
10 7
11 7
11 7
11 7
8 7
10 7
7 7
8 7
11 7
11 7
13 7
11 7
9 7
12 7
7 7
7 7
8 7
9 7
9 7
9 7
10 7
10 7
7 7
8 7
8 7
9 7
7 7
10 7
11 7
18 7
11 7
8 7
7 7
6 7
6 7
11 7
9 7
9 7
8 7
10 7
9 7
8 7
9 7
11 7
7 7
8 7
|
dcfe3d1ef6256059785188ee9da73da9d5fc216c | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH10/EX10.16/10_16.sci | 23304aac721416ceb4a60bd48d67ae3b69cb0ce4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sci | 10_16.sci | //equation//
ieee(2)
s=%s;
m=s^6+2*s^5+7*s^4+10*s^3+14*s^2+8*s+8
routh=routh_t(m);
disp(routh,"routh=")
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else ("system is stable")
end
|
d81f03c6e581ec1faef4e6b68a96fdc2ad1b57a8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt12.sce | fb9c527634bd7a1c84449d2c8c4e1e5a1fe307fb | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | latcfilt12.sce |
k=[12 3 4 5 67 8 9];
zi=[1 2 3 4 5 6 7];
[f,g,zf] = latcfilt(k,'ic',zi);
disp(f);
disp(g);
disp(zf);
//output
//!--error 10000
//wrong input data type
//at line 36 of function latcfilt called by :
//[f,g,zf] = latcfilt(k,'ic',zi);
//matlab
//Ladder filter coefficients (V) must be a double precision 2-D
//array.
|
125c8ad6d2e123d93d8505b0c0f3a71d29626358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH12/EX12.16/12_16.sce | 764ad784b7641c0fdb43aecead1ba8fbca20fe31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | 12_16.sce | clear;
clc
i=100
L=4e-3
C=300e-12
E=i* sqrt(L/C)
T=1/ sqrt(L*C)
mprintf("e= %.0f *1e3 sin( %.3f *1e6 t) kV",E/1e3,T/1e6)
|
68d5208db9c6d542fda5424134319d3fe14ff561 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH14/EX14.3/c14_3.sce | 0513f4d3c7b3c063076754b8d7d079680e041851 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | c14_3.sce | //(14.3) Measurements show that at a temperature T and a pressure of 1 atm, the equilibrium mixture for the system of Example 14.2 has the composition yCO = 0.298,yO2 = .149, yCO2 = .553.Determine the temperature T of the mixture, in K.
//solution
yCO = .298
//solving yCO = 2z/(2 + z)
z = 2*yCO/(2 - yCO)
p = 1 //in atm
pref = 1 //in atm
K = (z/(1-z))*(z/(2 + z))^.5*(p/pref)^.5
//with this value of K, table A-27 gives
T = 2881
printf('the temperature T of the mixture in kelvin is: %f',T)
|
c6b752603d549b24717c0318e8b21446ec7135bc | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP6/fillTE.sci | 2046002faade18b353e4b502cc7f1f6944a123cf | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sci | fillTE.sci | function[TE] = fillTE(a, t0, T)
exec('fillTV.sci', -1);
deff('[x] = f(t)', 'x = 3 / 2 * exp(-t) - 1 / 2 * cos(t) + 1 / 2 * sin(t)');
TE = abs(f(T) - fillTV(a, t0, T));
endfunction
|
8c2e699a7742097fc203005b46369393d531edd2 | e086c1a264e49af80443d44ae3a705cb43b7a21f | /AppTests/testInvalidInputForSave02.tst | 4557bb98e5dfa906256e1edc5e11f240e8f8b9cd | [] | no_license | step-batch-7/juice-mildshower | 60cfbf427cb8bb6d3b7fda894b6e71904b78ac92 | 730148258036da3382cd23579ce7a8cdfa7af722 | refs/heads/master | 2023-01-03T06:41:42.322261 | 2019-12-02T19:42:26 | 2019-12-02T19:42:26 | 223,359,891 | 0 | 1 | null | 2022-12-30T19:13:03 | 2019-11-22T08:38:28 | JavaScript | UTF-8 | Scilab | false | false | 79 | tst | testInvalidInputForSave02.tst | node beverage.js --save --empId 1234 --qty 3
Please give a valid set of input.
|
4b2006c40a38ee706ec1f00e4f1144aa0cea8a6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH16/EX16.3/16Ex3.sce | 5a2ccc42c992544b71ef556fe9f230a03a0fc59a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | 16Ex3.sce | //chapter 16 Ex 3
clc;
clear;
close;
//let pipes be A and B
t12=12; //time taken by A and B to fill tank together
AB1hour=1/t12; //part filled by both in 1 hour
//Let reservoir be filled by pipe 1 in x hours, thus other in (10+x)hours, thus the equation that is formed is (1/x)+1/(10+x)=1/12; on solving we get
mycoeff=[-120 -14 1];
p=poly(mycoeff,"x","coeff");
r=roots(p);
v=int32([20 -6]);
a=v(1); b=v(2);
if a>0 then mprintf("Thus the time taken by both pipes individually are %d hours and %d hours respectively to fill the tank",a,a+10);
end
|
800d59020f35232f3ac1feb4fb350b6f717e00a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH2/EX2.7/Ex2_7.sce | 43631cc12452ca652fbb4308ddd2edb60fbb6ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex2_7.sce | //Example 2.7
clc
clear
function [f,df] = fun7(x)
f = x.*exp(x) - 2;
df = x.*exp(x) + exp(x);
endfunction
xold = 1;
maxit = 2;
iter = 1;
while (1)
[fx,dfx] = fun7(xold);
xnew = xold - fx/dfx;
if iter == maxit then
break
end
xold = xnew;
iter = iter + 1;
end
root = round(xnew*10^3) / 10^3;
disp(root,"root = ")
|
57790125bbfd6e60d574c2f90847bae301464396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.15/33_15.sce | c6cc546c09818304a8c041d9be6b550a510a175a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,430 | sce | 33_15.sce | //Problem 33.15: (a) Convert the circuit to the left of terminals AB in Figure 33.72 to an equivalent Th´evenin circuit by initially converting to a Norton equivalent circuit. (b) Determine the magnitude of the current flowing in the (1.8+i4) ohm impedance connected between terminals A and B of Figure 33.72.
//initializing the variables:
E1 = 12; // in volts
E2 = 24; // in volts
Z1 = 3; // in ohm
Z2 = 2; // in ohm
R1 = %i*4; // in ohm
R2 = 1.8; // in ohm
//calculation:
Z3 = R1 + R2
//For the branch containing the E1 source, conversion to a Norton equivalent network gives
Isc1 = E1/Z1
//For the branch containing the E2 source, conversion to a Norton equivalent circuit gives
Isc2 = E2/Z2
//Thus Figure 33.73 shows a network equivalent to Figure 33.72. From Figure 33.73, the total short-circuit current
Isc = Isc1 + Isc2
//the total impedance is given by
z = Z1*Z2/(Z1 + Z2)
//Thus Figure 33.73 simplifies to Figure 33.74.
//The open-circuit voltage across AB of Figure 33.74, E
E = Isc*z
//the impedance ‘looking in’ at AB,is z
//the Th´evenin equivalent circuit is as shown in Figure 33.75.
R = 1.8 + %i*4; // in ohm
//when R impedance is connected to terminals AB of Figure 33.75, the current I flowing is given by
I = E/(z + R)
Imag = (real(I)^2 + imag(I)^2)^0.5
printf("\n\n Result \n\n")
printf("\n the magnitude of the current flowing (1.8 + i4) ohm resistor is %.2f A", Imag) |
37264b0772ec5ce5df06c3b09dd58ff5dd4ea466 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH19/EX19.1/Example19_1.sce | 7c7d5cabd90a86465d8582e5c2b856e1b4a59ef0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,434 | sce | Example19_1.sce | clear ;
clc;
// Example 19.1
printf('Example 19.1\n\n');
//Page No. 563
// Solution
// Use phase rule to get degree of freedom(F) = 2-P+C
// (a)
N1 = 1;
P1 = 1 ;// Number of phases present
C1 = 1 ;//Number of components present
F1 = 2-P1+C1 ;//Number of degree of freedom
printf('\n (a) Number of degree of freedom of pure benzene is %i. Therefore %i additional intensive variables must be specified to fix the system.\n ',F1,F1);
// (b)
N2 = 1;
P2 = 2 ;// Number of phases present
C2 = 1 ;//Number of components present
F2 = 2-P2+C2 ;//Number of degree of freedom
printf('(b) Number of degree of freedom of a mixture of ice and water only is %i. Therefore %i additional intensive variables must be specified to fix the system.\n ',F2,F2);
// (c)
N3 = 2;
P3 = 2 ;// Number of phases present
C3 = 2 ;//Number of components present
F3 = 2-P3+C3 ;//Number of degree of freedom
printf('(c) Number of degree of freedom of a mixture of liquid benzene,benzene vapour and helium gas is %i. Therefore %i additional intensive variables must be specified to fix the system.\n ',F3,F3);
// (d)
N4 = 2;
P4 = 2 ;// Number of phases present
C4 = 2 ;//Number of components present
F4 = 2-P4+C4 ;//Number of degree of freedom
printf('(d) Number of degree of freedom of a mixture of salt and water designed to achieve a specific vapour pressure is %i. Therefore %i additional intensive variables must be specified to fix the system.\n ',F4,F4); |
2cd4120316c225492807918c1d7e92d9f153bef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.9/6Ex9.sce | c915ca68b1b5aef9685f4f28ec53f4c03507025f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 6Ex9.sce | //chapter 6 Ex 9
clc;
clear;
close;
total=11; avg11=60; avg6first=58; avg6last=63;
num6=(((avg6first*6)+(avg6last*6))-avg11*total);
mprintf("The 6th number is %d",num6);
|
03efa3b7d9dd6bc33cc76fecb944e5835f3761b9 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/gibbsRxn.tst | 1c8b2312c6ea47a88dc59e8c40e9d7ab4635b278 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | tst | gibbsRxn.tst | $thermo = VirtualMaterials.SRK
/ -> $thermo
#Peng-Robinson
thermo + METHANE WATER CARBON_MONOXIDE CARBON_DIOXIDE BGS-HYDROGEN
units SI
# A Equilibrum reactor - isothermal, no pressure drop
rxn = EquiliReactor.EquilibriumReactor()
cd /rxn
In.P = 100
In.T = 1000 K
In.MoleFlow = 5
In.Fraction = 0.4 0.6 0 0 0
#In.Fraction = 1.95862592784202e-002 9.93197945149974e-002 0.175637702766885 3.57267224820499e-002 0.669729520957648
Out.P = 100
Out.T = 1000 K
'OutQ = 100000
NumberRxn = 2
Rxn0.Formula = Shift:1*3+1*4-!2-1*1
Rxn1.Formula = reforming:1*2+3*4-1*1-!0
CalculationOption = 2
In
Out
OutQ
copy /
paste /
cd /RootClone.rxn
In
Out
OutQ
|
ad55e58b11c89203f971706835e1bef090eef4d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.7.45/8_7_45.sce | f8a57f4771e1baa22c7462b6b460faf439a96f4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 8_7_45.sce | clc
clear
//Input data
u=1500 //Flight velocity in m/s
eff=0.75 //Propulsive efficiency
//calculation
//Converting relation eff=(2*sig)/(1+sig^2) into 2nd degree polynomial of sig
sig=((2-(sqrt(4-(4*eff*eff))))/(2*eff)) //Jet speed ratio
Cj=u/sig //Jet velocity in m/s
//Output
printf('Jet velocity is %3.2f m/s',Cj)
|
26bc614e82474adb1416dd95d06529d99f006c9b | 9596182c6505cb4b2b746b501d799eb3e083d479 | /python/PMapNav.sce | 29586bf49d58b566978205d29536d5b18f271ab2 | [] | no_license | ColinGilbert/projectzombie | 2b55361c6f1c5d41d82d2fb03d200fd4e3be2f19 | af772cd66fabf899eb124602dcbd4e6c4a21b467 | refs/heads/master | 2021-01-22T02:07:58.275092 | 2015-04-06T00:57:57 | 2015-04-06T00:57:57 | 33,460,671 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,583 | sce | PMapNav.sce | TOLERANCE = 0.0001 //Setting abitrarily. Mainly we want to avoid C/0.0000001 as this creates a large
//number for our C's. In our case, this won't be a case because of the way
//we are computing distance transforms based on pixels. That's why we don't set to %eps (machine eps)
//ALSO NOTE: We're not worrying too much about floating point details right now as this is
//mainly for protyping. Safe to say we have to think hard about this later-on.
function y = Pcliff(d,params)
scale=-80
if d > TOLERANCE then
y = scale/(d**2)
else
y = scale
end
endfunction
function y = isInRange(d,l,r)
if (d >= l) & (d <= r) then
y = %t
else
y = %f
end
endfunction
//This is temorary so we can create a Unit potential map to examine.
//Later we probably want to implement this so it gets apply a potential map,
//instead of creating two potential maps.
function y = Popp(d,params)
if isInRange(d,0,params.D-2)
y = params.P(1)(d,params.D)
elseif isInRange(d,params.D-2,params.D)
y = params.P(2)(d,params.D)
elseif isInRange(d,params.D-2,params.R)
y = params.P(3)(d,params.D)
else
y = 0
end
y = y * params.WEIGHT
endfunction
function Y = GetPotentialMap(X, P, params)
Y = []
for c=X,
v = []
for e=c' //column turns into row vector to do for each element in column.
v = [v; P(e,params)] //append each P(e) into rows. In the end producing a N column vector.
end
Y = [Y,v] //append the column vector. In the end producing a MxN transformed output matrix.
end
endfunction
function Y = GetDistanceMapObstacles(fileName)
RGB = ReadImage('data\testcitymap_new.png')
Image = RGB2Gray(RGB)
EdgeImage = ~SegmentByThreshold(Image, 1)
Y = double(DistanceTransform(EdgeImage))
endfunction
function Y=GetEdgeImageUnits(Units, Image, UnitDesc)
if ~exists("UnitDesc","l")
UnitDesc = [1,1] //A 1 x 1 sized Unit
end
for c=Units,
for i=0:UnitDesc(1)-1 //number of rows
for j=0:UnitDesc(2)-1 //number of cols
Image(c(1,:)+i, c(2,:)+j) = uint8(1)
end
end
end
Y = ~SegmentByThreshold(Image, 1)
endfunction
//This function will get the distance map for a given set of units with position vectors as a
//2xN matric. Where each column vector is the position of the unit.
function Z = GetDistanceMapUnits(X,Image)
for c=X,
Image(c(1,:),c(2,:)) = uint8(1)
end
EdgeImage = ~SegmentByThreshold(Image, 1)
Z = double(DistanceTransform(EdgeImage))
endfunction
//Utility function to save the edge image for units out.
function Z = WriteEdgeImageUnit(X,Image)
for c=X,
for i=0:10,
for j=0:10
Image(c(1,:)+i,c(2,:)+j) = uint8(1)
end
end
end
EdgeImage = ~SegmentByThreshold(Image, 1)
WriteImage(uint8(EdgeImage), 'data\EdgeImageBase.png')
Z=[]
endfunction
function Y = GetParamsTList()
Y = tlist(["PARAM_LIST","D","R","P","WEIGHT"],[],[],[],[0.1429])
endfunction
//This function will get a vector of potential functions of OPP Units.
function Y = OPPUPotential()
function i = OPPUP1(d,D)
scale = 240.0
if d < TOLERANCE
i = 80
else
i = scale/(d*(D-2))
end
endfunction
function j = OPPUP2(d,D)
scale = 240.0
if d < TOLERANCE
j = 80
else
j = scale
end
endfunction
function k = OPPUP3(d,D)
scale = 240.0
scale2 = 0.24
if d < TOLERANCE
k = 80
else
k = scale-scale2*(d-D)
end
endfunction
Y = list(OPPUP1,OPPUP2,OPPUP3)
endfunction
//This function will get a vector of potential functions of OPP Base.
function Y = OPPBPotential()
function i = OPPBP1(d,D)
scale = 360.0
if d < TOLERANCE
i = 0
else
i = scale/((D-2)*d)
end
endfunction
function j = OPPBP2(d,D)
scale = 360.0
if d < TOLERANCE
j = 0
else
j = scale
end
endfunction
function k = OPPBP3(d,D)
scale = 360.0
if d < TOLERANCE
k = 0
else
k = scale - (d - D)*0.32
end
endfunction
Y = list(OPPBP1,OPPBP2,OPPBP3)
endfunction
function Y = GetBiasedScaledPMap(X,bias)
[nr,nc] = size(X)
for i=1:nr,
for j=1:nc,
t = X(i,j)
if t > 0.0
X(i,j) = X(i,j) * bias
end
end
end
Y = []
endfunction
OPPU_Tank = GetParamsTList()
OPPU_Tank.D = 7
OPPU_Tank.R = 68
OPPU_Tank.P = OPPUPotential()
OPPU_Base = GetParamsTList()
OPPU_Base.D = 12
OPPU_Base.R = 1000
OPPU_Base.P = OPPBPotential()
BasePos = [61 39
250 131]
WORKING_PATH="E:/Users/gnulinux/projects/prjz/scilab/potential_path/"
function Y = ComputeEdgeImages()
path = pwd()
disp("Path is: " + path)
BaseEdgeImg = uint8(zeros(512,512))
ObsEdgeImg = uint8(zeros(512,512))
RGB = ReadImage(WORKING_PATH+'data/testcitymap_new.png')
Image = RGB2Gray(RGB)
ObsEdgeImg = ~SegmentByThreshold(Image, 1)
BaseEdgeImg = GetEdgeImageUnits(BasePos,BaseEdgeImg,[10,10])
Y = tlist(["EdgeImages","BaseEdgeImg","ObsEdgeImg"],[BaseEdgeImg],[ObsEdgeImg])
endfunction
function WriteEdgeImagesAsPng(EdgeImages)
nc = size(EdgeImages)
for i=2:nc,
WriteImage(uint8(EdgeImages(i)), WORKING_PATH+'data/'+EdgeImages(1)(i)+'.png')
end
endfunction
function Y = GetDistanceMaps()
DMapBase = read(WORKING_PATH+'data/BaseEdgeImg.mtd',-1,512)
DMapObs = read(WORKING_PATH+'data/ObsEdgeImg.mtd',-1,512)
Y = tlist(["DistanceMapsList","DMapBase","DMapObs"],[DMapBase],[DMapObs])
endfunction
function Y = GetPotentialMaps(DMaps)
PMapObs = GetPotentialMap(DMaps.DMapObs, Pcliff, 0)
PMapBase = GetPotentialMap(DMaps.DMapBase, Popp, OPPU_Base)
PMapCombined = PMapObs + PMapBase
Y = tlist(["PMapsList","PMapObs","PMapBase","PMapCombined"],[PMapObs],[PMapBase],[PMapCombined])
endfunction
function Y = GetResults()
BaseImage = uint8(zeros(512,512))
DistanceMapObs = GetDistanceMapObstacles()
DistanceMapBase = GetDistanceMapUnits(BasePos,BaseImage)
WriteEdgeImageUnit(BasePos,BaseImage)
clear('BaseImage')
PMapObs = GetPotentialMap(DistanceMapObs, Pcliff, 0)
PMapBase = GetPotentialMap(DistanceMapBase, Popp, OPPU_Base)
PMapCombined = PMapObs + PMapBase
Y = tlist(["PMapNavResults","PMapObs","PMapBase","PMapCombined","DistanceMapObs","DistanceMapBase"],[PMapObs],[PMapBase],[PMapCombined],[DistanceMapObs], [DistanceMapBase])
endfunction
function Y = GetBaseImage()
Y = uint8(zeros(512,512))
endfunction
|
71840e0a8c29c7376b9368e3f00d32d8b916b062 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_btree_2_j.tst | 76e9be1d60a16ff31b4d4ffbc41adcca63a271f7 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,524 | tst | test_btree_2_j.tst | Total index levels = 1
Total number of nodes = 9
Total number of items = 24
Dumping level #0
[Node 2] flags = 0, dge_link = 4
lft_link = -1, rgt_link = -1
Item #0, data = b, link = 0
Item #1, data = c, link = 3
Item #2, data = d, link = 1
Dumping level #1
[Node 0] flags = 5, dge_link = 5
lft_link = -1, rgt_link = 5
Item #0, data = a, link = -1
Item #1, data = a, link = -1
Item #2, data = a, link = -1
Item #3, data = a, link = -1
Item #4, data = a, link = -1
[Node 5] flags = 1, dge_link = 0
lft_link = 0, rgt_link = 3
Item #0, data = a, link = -1
[Node 3] flags = 5, dge_link = 6
lft_link = 5, rgt_link = 6
Item #0, data = b, link = -1
Item #1, data = b, link = -1
Item #2, data = b, link = -1
Item #3, data = b, link = -1
Item #4, data = b, link = -1
[Node 6] flags = 1, dge_link = 3
lft_link = 3, rgt_link = 1
Item #0, data = b, link = -1
[Node 1] flags = 5, dge_link = 7
lft_link = 6, rgt_link = 7
Item #0, data = c, link = -1
Item #1, data = c, link = -1
Item #2, data = c, link = -1
Item #3, data = c, link = -1
Item #4, data = c, link = -1
[Node 7] flags = 1, dge_link = 1
lft_link = 1, rgt_link = 4
Item #0, data = c, link = -1
[Node 4] flags = 7, dge_link = 8
lft_link = 7, rgt_link = 8
Item #0, data = d, link = -1
Item #1, data = d, link = -1
Item #2, data = d, link = -1
Item #3, data = d, link = -1
Item #4, data = d, link = -1
[Node 8] flags = 1, dge_link = 4
lft_link = 4, rgt_link = -1
Item #0, data = d, link = -1
|
8dfae3e39f16d8b9ae7fbd6ba9bf6b88761d0486 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH7/EX7.12/Ex7_12.sce | b79cd75541a2520e82624d86ed9a68b9979a57ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex7_12.sce | //resistance per square
//given
clc
l=30d-3//metre
t=0.1d-6//metre
Rp=0.3//ohm
delta_s=4.1d+7//mho/m
w=l/(Rp*t*delta_s)//metre
w=round(w*1000)/1000///rounding off decimals
disp(t*1d+6, w*1000,l*1d+3 ,'the design parameter of planer resistor are in mm and um')//millimetre
|
04e7c2a0d6c96aa5049b6ae06064b19b3a627571 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH2/EX2.5/Ex2_5.sce | 5bec0530874d24b6fffc5305a4509720de867953 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex2_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 2,Example 5")
disp("let the conversion relation be X=aC+b")
disp("where C is temperature in degree celcius,a&b are constants and X is temperature in X degree ")
disp("at freezing point,temperature=0 degree celcius,0 degree X")
disp("so by equation X=aC+b")
X=0;//temperature in degree X
C=0;//temperature in degree celcius
disp("we get b=0")
b=0;
disp("at boiling point,temperature=100 degree celcius,1000 degree X")
X=1000;//temperature in degree X
C=100;//temperature in degree celcius
a=(X-b)/C
disp("conversion relation")
disp("X=10*C")
disp("absolute zero temperature in degree celcius=-273.15")
disp("absolute zero temperature in degree X=")
10*-273.15
|
c725185f1896313ea5ce22d9798232bafec6b273 | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P3_GAUSS.tst | 9581c4ce043cb9d56639558fdab3d0da8bc343da | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 1,038 | tst | IsentropicVortex16_P3_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=3 GAUSS</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P3_GAUSS.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P3_GAUSS.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="rho" tolerance="1e-12">0.00474302</value>
<value variable="rhou" tolerance="1e-12">0.00947318</value>
<value variable="rhov" tolerance="1e-12">0.00869843</value>
<value variable="E" tolerance="1e-12">0.0254323</value>
</metric>
<metric type="Linf" id="2">
<value variable="rho" tolerance="1e-12">0.00539172</value>
<value variable="rhou" tolerance="1e-12">0.0113971</value>
<value variable="rhov" tolerance="1e-12">0.0117187</value>
<value variable="E" tolerance="1e-12">0.0374887</value>
</metric>
</metrics>
</test>
|
319ed7c8c0a523860695d0d110194c8f7adbd3f1 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testplot3dcolor.sce | 1ae957e77450f3179e1b174282c24bdf0065e2bd | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | testplot3dcolor.sce | exec('testplot3d.sce',-1) //to delete
F=gcf(); // le handle de la figure
// les 3 surfacesde type Fac3d
F.children(2:4).children
// le titre de chaque tracé
F.children(2:4).title.text
// couleurs de l'affichage
F.children(2:4).children.color_flag
F.children(2:4).children.color_mode
F.children(2:4).children.hiddencolor
|
8c29426d7bb903c02838abb6a7b4dafd3a10c25f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH17/EX17.2/EX17_2.sce | 145890ab0f29ea40f30c1187a7fdb49e695560a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | EX17_2.sce | //Chapter 17, Example 17.2
clc
//Initialisation
C=10**-6 //capacitance in farad
RG=10**6 //resistance in ohm
pi=3.14 //pi
//Calculation
fc=1/(2*pi*C*RG) //frequency in Hz
//Results
printf("Fc = %.2f Hz",fc )
|
96b4362fbd6f4cf122a583bdb0856ab8171304af | 3a031f437fdd7426aec9731b31871506b540c723 | /Histogram of Colored Image.sce | b786dd221ba91e36cb7a27b86de1eb828cd62c54 | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Histogram of Colored Image.sce | RGB=imread('C:\Users\Mohammed Kesury\Desktop\Sem 6\DIP\peppers_color.tif')
figure
imshow(RGB)
figure
R=RGB(:,:,1)
imhist(R,20,'red')
figure
G=RGB(:,:,2)
imhist(G,20,'green')
figure
B=RGB(:,:,3)
imhist(B,20,'blue')
|
a52cfa2d02df53ef85f238ebce8c0bd2507cc4ea | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/68.tst | 6e65db4450baae6489b85beb53a7e3484c7c6669 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | tst | 68.tst | int f(float x, int y) {
}
int (*f)(float, int y); |
4a9f2e68a399e08edebd0eb32ac584e1b7ec72dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH14/EX14.3/14_3.sce | 46e9c1f61616ae7032d5cb4fa7fa48b09b11395c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | 14_3.sce | clc;
clear;
function z=f(x,y)
z=2*x*y + 2*x - x^2 - 2*y^2
endfunction
x=-1;
y=1;
dfx=2*y+2-2*x;
dfy=2*x-4*y;
//the function can thus be expressed along h axis as
//f((x+dfx*h),(y+dfy*h))
disp("180*h^2 + 72*h - 7","The final equation is=") |
c28db85a593e39fe5c114cd3a8dbbfdf0550a311 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.1/Ex3_1.sce | a05877bbc3c7fea690d1c337c2dc90c5c142ef78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex3_1.sce | clear;
clc;
printf("\t\t\tProblem Number 3.1\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.1 (page no. 91)
// Solution
//For a constant volume process, 10 Btu/lbm heat is added to the system
//We can consider thet a tank having a fixed volume has heat added to it
//Under these conditions,the mechanical work done on or by the system must be 0
//u2-u1=q
printf("Heat has been converted to internal energy of the working fluid\n");
//So,
printf(" So,Change in internal energy u2-u1=10 Btu/Lbm");
|
e4758a48c6f393e74b8ec5d1673aeb195fa7fb88 | 326368489d1e9ba465455b1f208307d03053b760 | /Makefile.tst | 3ccb50177742ace4d204325fd468189b9e2de46b | [
"Apache-2.0"
] | permissive | fossabot/yaos | c2b1e9efdb61585be5bcd20ac8e03eb5d6d35459 | 159a56005fe8fab99d54aa78b35a03c1bf757f2e | refs/heads/master | 2020-04-11T04:39:01.462687 | 2018-12-12T17:09:15 | 2018-12-12T17:09:15 | 161,520,258 | 0 | 0 | null | 2018-12-12T17:09:15 | 2018-12-12T17:09:14 | null | UTF-8 | Scilab | false | false | 2,202 | tst | Makefile.tst | ifeq ($(OS),Windows_NT)
ifeq ($(shell uname -s),) # not in a bash-like shell
CLEANUP = del /F /Q
MKDIR = mkdir
else # in a bash-like shell, like msys
CLEANUP = rm -f
MKDIR = mkdir -p
endif
TARGET_EXTENSION=.exe
else
CLEANUP = rm -f
MKDIR = mkdir -p
TARGET_EXTENSION=out
endif
.PHONY: cleantest
.PHONY: test
PATHU = tools/Unity/src/
PATHS = ./
PATHT = test/
PATHB = build/
PATHD = build/depends/
PATHO = build/objs/
PATHR = build/results/
BUILD_PATHS = $(PATHB) $(PATHD) $(PATHO) $(PATHR)
TSTSRC = $(wildcard $(PATHT)*.c)
COMPILE=gcc -c
LINK=gcc
DEPEND=gcc -MM -MG -MF
TCFLAGS =-Iinclude -I$(PATHU) -I$(PATHS) -DTEST $(DEFS)
RESULTS = $(patsubst $(PATHT)Test%.c,$(PATHR)Test%.txt,$(TSTSRC) )
ORGSRC = $(patsubst $(PATHT)Test%.c,%.c,$(TSTSRC))
ALLSRC = $(foreach w,$(ORGSRC),$(shell find . -name $(w)))
ALLOBJ = $(foreach s,$(ALLSRC),$(PATHO)$(notdir $(s:.c=.o)))
PASSED = `grep -s PASS $(PATHR)*.txt`
FAIL = `grep -s FAIL $(PATHR)*.txt`
IGNORE = `grep -s IGNORE $(PATHR)*.txt`
define create_rule =
$(eval test_o := $(PATHO)$(notdir $(1:.c=.o)))
$(test_o) : $(1)
$(Q)$(COMPILE) $(TCFLAGS) $(1) -o $(test_o)
endef
test: $(BUILD_PATHS) $(RESULTS)
@echo "\n TEST IGNORES:"
@echo "$(IGNORE)"
@echo " TEST FAILURES:"
@echo "$(FAIL)"
@echo " TEST PASSED:"
@echo "$(PASSED)"
$(PATHR)%.txt: $(PATHB)%.$(TARGET_EXTENSION)
@echo " TESTING " $@ $<
@-./$< > $@ 2>&1
$(PATHB)Test%.$(TARGET_EXTENSION): $(PATHO)Test%.o $(PATHO)%.o $(PATHO)unity.o #$(PATHD)Test%.d
$(Q)$(LINK) -o $@ $^
$(PATHO)%.o:: $(PATHT)%.c
$(Q)$(COMPILE) $(TCFLAGS) $< -o $@
$(PATHO)%.o:: $(PATHS)%.c
$(Q)$(COMPILE) $(TCFLAGS) $< -o $@
$(PATHO)%.o:: $(PATHU)%.c $(PATHU)%.h
$(Q)$(COMPILE) $(TCFLAGS) $< -o $@
$(PATHD)%.d:: $(PATHT)%.c
$(DEPEND) $@ $<
$(PATHB):
$(Q)$(MKDIR) $(PATHB)
$(PATHD):
$(Q)$(MKDIR) $(PATHD)
$(PATHO):
$(Q)$(MKDIR) $(PATHO)
$(PATHR):
$(Q)$(MKDIR) $(PATHR)
$(foreach test_s,$(ALLSRC),$(eval $(call create_rule,$(test_s))))
cleantest:
$(CLEANUP) $(PATHO)*.o
$(CLEANUP) $(PATHB)*.$(TARGET_EXTENSION)
$(CLEANUP) $(PATHR)*.txt
.PRECIOUS: $(PATHB)Test%.$(TARGET_EXTENSION)
.PRECIOUS: $(PATHD)%.d
.PRECIOUS: $(PATHO)%.o
.PRECIOUS: $(PATHR)%.txt
|
1c61414ad97b5c9ab1692db55075c5d4d46fa5e6 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/116.tst | c1235648babefbbbfc179bf3338c10a9a6e8201d | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | tst | 116.tst | int main(void)
{
int p, q;
&p * &q;
} |
80b113b05103f5aba242f128c7bdd49d99c1c5ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH6/EX6.6/Ex6_6.sce | 73a92d30a0f261b2ba8ecac2ed8cfb7b7050cf91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Ex6_6.sce |
clc
//given that
P_m = 2.3e-14 // permissibility coefficient of CO2 through PET
P_1 = 400// Pressure inside bottle in KPa
P_2 = 0.4 // Pressure outside bottle in KPa
A = 500 // Surface area of bottle in cm^2
x = 0.05 // wall thickness of bottle in cm
V = 750 // volume in cm^3
printf("\Example 6.6\n")
J = -P_m*(P_2-P_1)*1e3/x // calculation of diffusion flux
printf("\n Part A:")
printf("\n Diffusion flux is %0.1e cm^3 STP/(cm^2-s)",J)
printf("\n\n Part B:")
V_co2 = J*A
t = V/V_co2 // calculation of self life
printf("\n Self life for bottle of pop is %d days (or about %d months).", t/(60*60*24),t/(60*60*24*30))
// Answer in book is 97 days. It is because of considering different number of significant figure
|
fc8b90545033a532843de5cc773e6ec96269566d | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH8/EX8.11/11.sce | 8bf60a54996bb35ea0af6a5b2beffd094d9c50c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 11.sce | clc
// H_L=1.2*v^2/2/g
// H_L=4*f*L_eq/d*V^2/2/g
// L_eq=60*d
// H_L=240*f*v^2/2/g
// Combining the two equations for head loss
// 1.2*v^2/2/g=240*f*v^2/2/g
f=1.2/240;
disp("Friction factor =")
disp(f) |
23b64f7bf86699d410faafc06d1caf9ae32f9af2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH1/EX1.23.9/ex1_23_9.sce | 1d2cbf77f87273e47cc595c845b457752856178f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex1_23_9.sce | //Exa 1.23.9
clc;
clear;
close;
// Given data
N_V = 1.04 * 10^19;// in cm^-3
T1 = 300;// in K
T2 = 400;// in K
del_E = 0.27;// in eV
N_V = N_V * (T2/T1)^1.5;// in cm^-3
KT = (0.0259) * (T2/T1);// in eV
P_o = N_V * exp(-(del_E)/KT);// in cm^-3
disp(P_o,"The thermal equilibrium hole concentration in silicon in cm^-3 is ");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.