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
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60e8db5e854de425363c897914499de7696ff3de
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/575/CH6/EX6.3.3/6_3_3.sce
|
5262b69c2ed2134ab684a7a338884b746cf5b333
|
[] |
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
| 724
|
sce
|
6_3_3.sce
|
clc
pathname=get_absolute_file_path('6_3_3.sce')
filename=pathname+filesep()+'633.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
P=hr*P75
y=P/Porig
ndot=PorigBar*Vdot/(R*T)
ndotWater=ndot*y
printf(" \n Molar flowrate of Water=%f Kmol/h",ndotWater)
ndotBDA=ndot*(1-y)
printf(" \n Molar flowrate of Dry Air=%f Kmol/h",ndotBDA)
ndotO2=ndotBDA*0.21
printf(" \n Molar flowrate of Oxygen=%f Kmol/h",ndotO2)
hm=P/(Porig-P)
ha=hm*18/29
hmdot=P75/(Porig-P75)
hp=100*hm/hmdot
printf(" \n Molal Humidity=%f mol water/mol BDA",hm)
printf(" \n Absolute Humidity=%f kg water/kg BDA",ha)
printf(" \n Percentage Humidity=%f",hp)
|
ce3f428de2608c4fa220126e34b364271266e2c1
|
d465fcea94a1198464d7f8a912244e8a6dcf41f9
|
/system/kiks_arena_addremoterobot.sci
|
c5ffad92d0eec7b43221f949de66b013cf632f28
|
[] |
no_license
|
manasdas17/kiks-scilab
|
4f4064ed7619cad9e2117a6c0040a51056c938ee
|
37dc68914547c9d0f423008d44e973ba296de67b
|
refs/heads/master
| 2021-01-15T14:18:21.918789
| 2009-05-11T05:43:11
| 2009-05-11T05:43:11
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,295
|
sci
|
kiks_arena_addremoterobot.sci
|
function [] = kiks_arena_addremoterobo(xpos,ypos)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global("KIKS_MMPERPIXEL","KIKS_ROBOT_RADIUS","KIKS_COLOR_ROBOT","KIKS_RBTMASK_COL","KIKS_ARENA_COLORMASK");
[rows,cols] = size(mtlb_double(KIKS_RBTMASK_COL));
//size(KIKS_RBTMASK_COL)
minx = mtlb_s(floor(mtlb_double(xpos)/mtlb_double(KIKS_MMPERPIXEL)),floor(mtlb_double(KIKS_ROBOT_RADIUS)/mtlb_double(KIKS_MMPERPIXEL)));// xpos - robot radius
miny = mtlb_s(floor(mtlb_double(ypos)/mtlb_double(KIKS_MMPERPIXEL)),floor(mtlb_double(KIKS_ROBOT_RADIUS)/mtlb_double(KIKS_MMPERPIXEL)));// ypos - robot radius
maxx = mtlb_a(floor(mtlb_double(xpos)/mtlb_double(KIKS_MMPERPIXEL)),floor(mtlb_double(KIKS_ROBOT_RADIUS)/mtlb_double(KIKS_MMPERPIXEL)));
maxy = mtlb_a(floor(mtlb_double(ypos)/mtlb_double(KIKS_MMPERPIXEL)),floor(mtlb_double(KIKS_ROBOT_RADIUS)/mtlb_double(KIKS_MMPERPIXEL)));
KIKS_ARENA_COLORMASK(mtlb_imp(miny,maxy),mtlb_imp(minx,maxx)) = mtlb_a(mtlb_double(KIKS_ARENA_COLORMASK(mtlb_imp(miny,maxy),mtlb_imp(minx,maxx))),mtlb_double(KIKS_RBTMASK_COL));
endfunction
|
2a9dc85817a42808c28c1a95694dd92139cbe8a8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3793/CH15/EX15.3/exp_15_3.sce
|
3730a145466b105de8296155a6e77e3c551605e8
|
[] |
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
| 277
|
sce
|
exp_15_3.sce
|
clear;
clc;
E_ll=110;
X=10;
V_o=(3*sqrt(2)*E_ll)/%pi;
U1=15;
V_d1=(V_o*(cosd(X)+cosd(U1+X)))/2;
printf("\nthe dc output voltage when (U1=15) = %.3f kV",V_d1);
U2=20;
V_d2=(V_o*(cosd(X)+cosd(U2+X)))/2;
printf("\nthe dc output voltage when (U2=20) = %.3f kV",V_d2);
|
3b896a82a087346520964df1ca454d09e5e46074
|
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
|
/dbt air rockets.sce
|
075a208b98007225f40b4c731200fb4ea4b68a4c
|
[] |
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
| 29,145
|
sce
|
dbt air rockets.sce
|
Name=dbt air rockets
PlayerCharacters=QC no movement
BotCharacters=target_decay_midair.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=QC no movement
AddedBots=target_decay_midair.bot
PlayerMaxLives=0
BotMaxLives=100
PlayerTeam=1
BotTeams=2
MapName=boxernobounds.map
MapScale=3.5
BlockProjectilePredictors=false
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=100.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=10.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=diabotical
WeaponHeroTag=Rocket launcher
DifficultyTag=5
AuthorsTag= Ass1st
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Target jumps in random direction and height, starting from different spawns with varying height. Hit it midair.
GameVersion=2.0.0.2
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
[Aim Profile]
Name=All over noob
MinReactionTime=0.1
MaxReactionTime=0.1
MinSelfMovementCorrectionTime=0.0001
MaxSelfMovementCorrectionTime=0.0001
FlickFOV=0.0
FlickSpeed=1.0
FlickError=100.0
TrackSpeed=1.0
TrackError=100.0
MaxTurnAngleFromPadCenter=360.0
MinRecenterTime=0.0
MaxRecenterTime=0.0
OptimalAimFOV=360.0
OuterAimPenalty=0.0
MaxError=90.0
ShootFOV=90.0
VerticalAimOffset=1000.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
[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=target_decay_midair
DodgeProfileNames=Balanced all directions
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=All over noob;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=true
CharacterProfile=target_decay_midair
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=QC no movement
MaxHealth=100.0
WeaponProfileNames=QC RL no splash;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=160.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=1600.0
Acceleration=32000.0
AirAcceleration=16000.0
Friction=6.0
BrakingFrictionFactor=6.0
JumpVelocity=2700.0
Gravity=10.0
AirControl=0.1
CanCrouch=true
CanPogoJump=true
CanCrouchInAir=true
CanJumpFromCrouch=true
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Spheroid
MainBBHeight=320.0
MainBBRadius=58.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
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=;;;Launch.abilmelee
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=target_decay_midair
MaxHealth=200.0
WeaponProfileNames=no damage;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=4.0
MovementType=Base
MaxSpeed=1300.0
MaxCrouchSpeed=500.0
Acceleration=9000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=2000.0
Gravity=5.0
AirControl=0.2
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cylindrical
MainBBHeight=150.0
MainBBRadius=75.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
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=Jump on ground.abilmov;;;
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.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=10.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
[Dodge Profile]
Name=Balanced all directions
MaxTargetDistance=9000.0
MinTargetDistance=0.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.16
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.1
MaxCrouchTime=0.2
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
[Weapon Profile]
Name=QC RL no splash
Type=Projectile
ShotsPerClick=1
DamagePerShot=100.0
KnockbackFactor=6.0
TimeBetweenShots=0.8
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=6787.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=6787.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=100.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Rocket
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=2.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=4.0
RecoilNegatable=false
DecalType=0
DecalSize=30.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.1
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=72.099998
ADSFOVScale=Quake Champions
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.0
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=Flare
ParticleBodyImpact=Flare
ParticleProjectileTrail=Smoke
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=true
Radius=20.0
DamageAtCenter=100.0
DamageAtEdge=100.0
SelfDamageMultiplier=0.0
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=true
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=1.0,1.0,-1.0,0.0
SpreadSCH=1.0,1.0,-1.0,0.0
SpreadMSH=1.0,1.0,-1.0,0.0
SpreadMCH=1.0,1.0,-1.0,0.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.5
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=180.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.001
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
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=no damage
Type=Hitscan
ShotsPerClick=1
DamagePerShot=0.0
KnockbackFactor=0.0
TimeBetweenShots=0.01
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.1
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=0.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=999.0
HitSoundCooldown=999.0
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=0.1
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=false
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=0.1
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=false
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.0
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=None
ParticleProjectileTrail=None
ParticleHitscanTrace=None
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=0.1
DamageAtCenter=0.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.0
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=360.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Movement Ability Profile]
Name=Jump on ground
MaxCharges=1.0
ChargeTimer=0.01
ChargesRefundedOnKill=0.0
DelayAfterUse=0.2
FullyAuto=false
AbilityDuration=0.0
LockDirectionForDuration=true
NegateGravityForDuration=false
MainVelocity=1500.0
MainVelocityCanGoVertical=true
MainVelocitySetToMovementKeys=true
UpVelocity=2000.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=true
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=false
AIReuseTimer=0.01
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=900000.0
AIMaxTargFOV=360.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Melee Ability Profile]
Name=Launch
MaxCharges=1.0
ChargeTimer=1.0
ChargesRefundedOnKill=1.0
DelayAfterUse=0.1
FullyAuto=false
AbilityDuration=0.15
HurtboxRadius=4000.0
HurtboxDamage=0.0
HurtboxGroundKnockbackFactor=0.0
HurtboxAirKnockbackFactor=0.0
BlockAttackTimer=0.0
AbilityBlockedWhenAttacking=false
AmmoPerShot=0
FlatKnockbackHorizontal=4500.0
FlatKnockbackVertical=7500.0
FlatKnockbackHorizontalMin=-4500.0
FlatKnockbackVerticalMin=4500.0
AIUseInCombat=true
AIUseOutOfCombat=false
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=1.0
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=2000.0
AIMaxTargFOV=15.0
AIDamageReaction=true
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-576.000000 0.000000 256.000000
448.000000 0.000000 256.000000
448.000000 0.000000 -768.000000
-576.000000 0.000000 -768.000000
-576.000000 -16.000000 256.000000
448.000000 -16.000000 256.000000
448.000000 -16.000000 -768.000000
-576.000000 -16.000000 -768.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
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.000000
-576.000000 0.000000 -768.000000
448.000000 0.000000 -768.000000
448.000000 0.000000 -784.000000
-576.000000 0.000000 -784.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
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 0.000000 272.000000
448.000000 0.000000 272.000000
448.000000 0.000000 256.000000
-576.000000 0.000000 256.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
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 0.000000 256.000000
464.000000 0.000000 256.000000
464.000000 0.000000 -768.000000
448.000000 0.000000 -768.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
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.000000
-592.000000 0.000000 256.000000
-576.000000 0.000000 256.000000
-576.000000 0.000000 -768.000000
-592.000000 0.000000 -768.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
-592.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 704.000000 -768.000000
-592.000000 704.000000 -768.000000
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
448.000000 704.000000 256.000000
464.000000 704.000000 256.000000
464.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 704.000000 -784.000000
-576.000000 704.000000 -784.000000
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 704.000000 272.000000
448.000000 704.000000 272.000000
448.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 720.000000 256.000000
448.000000 720.000000 256.000000
448.000000 720.000000 -768.000000
-576.000000 720.000000 -768.000000
-576.000000 704.000000 256.000000
448.000000 704.000000 256.000000
448.000000 704.000000 -768.000000
-576.000000 704.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -736.000000
Bool8 teamA 0
entity
type CameraPath
UInt32 entityIdAttachedTo 5
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type Target
Vector3 position 352.000000 256.000000 224.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 224.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 416.000000 0.000000 -256.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -544.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamB 0
|
1523696ed3f66483bcefcea34d5e808ff655ea76
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2939/CH11/EX11.5/Ex11_5.sce
|
66bdb6bbbb6c26bca2c5f04e206e6e2c7b0ada79
|
[] |
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
| 679
|
sce
|
Ex11_5.sce
|
//Ex11_5
clc;
//Given:
i1=4000;// initial intensity of radiaton
i2=2000;// final intensity of radiation
density1=8.96;// density of copper
l=6.022*10^23;// avogadro constant
ue=0.211;// electron absorption coefficent in barn per electron
// 1 b=10^(-24) cm^2
//solution:
uCu=ue*29;//atomic absorbtion coefficient in b/atom
umCu=(6.022*10^23*uCu*10^-24)/63; // mass absorbtion coefficient in cm^2/g
ulCu=umCu*density1;// linear absorption coefficient in cm^-1
// we know that, i2=i1*exp(ulCu*x)
x=log(i1/i2)/(ulCu);// thickness of the copper plate
printf("\n The thickness of copper nedded to reduce the intensity of the radiation in cm is =%f",x)
|
eb86037d1a20c7605da8f59fccffc213c21679d7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2102/CH1/EX1.10/exa_1_10.sce
|
5709400cf5d3c592c358e9edd8d212c9ef553e13
|
[] |
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
| 241
|
sce
|
exa_1_10.sce
|
// Exa 1.10
clc;
clear;
close;
// Given data
format('v',13)
Bo= 1.7*10^-5;// in weber/meter^2
miu_o= 4*%pi*10^-7 ;// in weber/amp-meter
H= Bo/miu_o;//in A/m
disp(H,"The horizontal component of the magnetic intensity in A/m is : ")
|
a7da86664d0b410741abc54acf112bd06a3c8e97
|
9b046504c3b7683d3bfa294fe100408058e75aa3
|
/Metodos/Clase7/ejemplos/integracion/1reglaTrapezoidal.sce
|
c245d3f1966adc8b7699537f12cb9d08643f5c52
|
[] |
no_license
|
DavidAlex99/Cursos
|
f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f
|
aee547ab09db7e535bea5a6d41ed6e455f8a9a89
|
refs/heads/master
| 2023-01-08T02:46:07.502656
| 2020-11-14T00:45:57
| 2020-11-14T00:45:57
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 437
|
sce
|
1reglaTrapezoidal.sce
|
clc()
clear all
function result=f(x)
result = 0.2+25*x-200*x^2+675*x^3-900*x^4+400*x^5
endfunction
function result=reglaTrapecio(a,b,funcion)
result = (b-a)*(funcion(a)+funcion(b))/2
endfunction
a = 0
b = 0.8
disp("integral")
integral = integrate("0.2+25*x-200*x^2+675*x^3-900*x^4+400*x^5",'x',a,b)
disp(integral)
aproximacion = reglaTrapecio(a,b,f)
disp(aproximacion)
disp("error")
disp((integral-aproximacion)*100/integral)
|
b35eefa9e289c5796e823124110bb3509847d5ef
|
6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee
|
/giarratano/SOURCE/TESTING/testrule.tst
|
da7dac0b4ccec430d914acef29cc834c3ddb2db6
|
[] |
no_license
|
arranger1044/icse-1516
|
c40d2c86892cd90c14042a95581cbb0e238190fb
|
ee4bafb57bb549ef40e29b8edf8cdad038e97162
|
refs/heads/master
| 2020-12-24T19:04:01.588095
| 2016-05-31T07:46:47
| 2016-05-31T07:46:47
| 56,578,768
| 14
| 5
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 7,527
|
tst
|
testrule.tst
|
(set-dynamic-constraint-checking FALSE)
(set-sequence-operator-recognition FALSE)
(set-static-constraint-checking TRUE)
(set-reset-globals TRUE)
(set-auto-float-dividend TRUE)
(set-fact-duplication FALSE)
(set-incremental-reset TRUE)
(set-salience-evaluation when-defined)
(set-strategy depth)
(open "testrule.rsl" testall "w")
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "example.tst")
(printout testall "Completed example.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "memtest.tst")
(printout testall "Completed memtest.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "conres.tst")
(printout testall "Completed conres.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "fldval50.tst")
(printout testall "Completed fldval.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "incrrset.tst")
(printout testall "Completed incrrset.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "dynsal.tst")
(printout testall "Completed dynsal.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "globltst.tst")
(printout testall "Completed globltst.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "rfrshagn.tst")
(printout testall "Completed rfrshagn.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "templerr.tst")
(printout testall "Completed templerr.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "globlerr.tst")
(printout testall "Completed globlerr.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "drtest01.tst")
(printout testall "Completed drtest01.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "drtest02.tst")
(printout testall "Completed drtest02.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "drtest03.tst")
(printout testall "Completed drtest03.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "drtest04.tst")
(printout testall "Completed drtest04.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "basicfnx.tst")
(printout testall "Completed basicfnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "predcfnx.tst")
(printout testall "Completed predcfnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "multifnx.tst")
(printout testall "Completed multifnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "strngfnx.tst")
(printout testall "Completed strngfnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "mathfnx.tst")
(printout testall "Completed mathfnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "textpro.tst")
(printout testall "Completed textpro.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "iofnx.tst")
(printout testall "Completed iofnx.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "dffctcmd.tst")
(printout testall "Completed dffctcmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "dftmpcmd.tst")
(printout testall "Completed dftmpcmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "dfgblcmd.tst")
(printout testall "Completed dfgblcmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "factscmd.tst")
(printout testall "Completed factscmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "memrycmd.tst")
(printout testall "Completed memrycmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "lgclexe.tst")
(printout testall "Completed lgclexe.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "dfrulcmd.tst")
(printout testall "Completed dfrulcmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "seqop.tst")
(printout testall "Completed seqop.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "rulemisc.tst")
(printout testall "Completed rulemisc.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "pataddtn.tst")
(printout testall "Completed pataddtn.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "tceplace.tst")
(printout testall "Completed tceplace.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "sfmfmix.tst")
(printout testall "Completed sfmfmix.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "tmpldflt.tst")
(printout testall "Completed tmpldflt.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "visible.tst")
(printout testall "Completed visible.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "focuscmd.tst")
(printout testall "Completed focuscmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "modulcmd.tst")
(printout testall "Completed modulcmd.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "modulprt.tst")
(printout testall "Completed modulprt.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "focusexe.tst")
(printout testall "Completed focusexe.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "mfvmatch.tst")
(printout testall "Completed mfvmatch.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "ceerr.tst")
(printout testall "Completed ceerr.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "jnftrght.tst")
(printout testall "Completed jnftrght.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "bigbug.tst")
(printout testall "Completed bigbug.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "factsav.tst")
(printout testall "Completed factsav.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "fctpcstr.tst")
(printout testall "Completed fctpcstr.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "joinshre.tst")
(printout testall "Completed joinshre.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "modlmisc.tst")
(printout testall "Completed modlmisc.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(batch "tmplmslt.tst")
(printout testall "Completed tmplmslt.tst test" crlf)
(clear)
(release-mem)
(printout testall "Memory use: " (mem-used) crlf)
(close testall)
(exit)
|
f4fa7a269c0ceba2f499901f7be96599e7215167
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/68/CH4/EX4.6/ex6.sce
|
cd91485deb06d4bd421b4307c0a118cb9afa7f4b
|
[] |
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
| 350
|
sce
|
ex6.sce
|
// Example 4.6; Design of given circuit to obtain I_D=0.5mA and V_D=3V
// MOSFET is in saturation
V_DD=5; // (V)
V_D=3; // (V)
I_D=0.5*10^-3; // (A)
V_t=-1; // (V)
K=1*10^-3; // K=k'_n(W/L)
V_OV=sqrt(2*I_D/K);
V_GS=V_t+(-V_OV)
R_D=V_D/I_D;
V_Dmax=V_D-V_t; // - sign as magnitude of V_t is considered
R_D=V_Dmax/I_D;
disp(R_D,"R_D (ohm)")
|
817ff3a5c1368c49340f333f005de7339e4674a9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3669/CH6/EX6.6/6.sce
|
a1de2752dafc470e1b40d084587292e9f5c30b50
|
[] |
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
| 529
|
sce
|
6.sce
|
//Variable declaration
epsilon0=8.85*10**-12;
epsilonr=3.75; //dielectric constant
gama=1/3; //internal field constant
D=2050; //density(kg/m**3)
Na=6.02*10**26; //avagadro number
M=32; //atomic weight
//Calculation
N=Na*D/M; //number of atoms(per m**3)
alphae=((epsilonr-1)/(epsilonr+2))*3*epsilon0/N; //electronic polarizability(F m**2)
//Result
printf('electronic polarizability is %0.3f *10**-40 F m**2 \n',(alphae*10**40))
printf('answer varies due to approximating off errors\n')
|
e11356ccaee13e75e5670e6e3fe8b4f245b1d1bd
|
5b9f487ff7bdee72460540eb553805051f614d2c
|
/hinfinito1.sce
|
a8f0b5d2879683c9f7184fac012a6435c7077318
|
[] |
no_license
|
sebas220996/lista-de-ejercicios-3-SCA-Caceres
|
8340123a09264e8a1ba3032f8603d1e0577f46c2
|
8a8bafd11cea79464174204456a108d4038a15d3
|
refs/heads/master
| 2022-12-02T23:28:22.783052
| 2020-08-11T07:59:51
| 2020-08-11T07:59:51
| 286,680,495
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 4,432
|
sce
|
hinfinito1.sce
|
// CONTROL SUSPENSION DE UN AUTOMOVIL
// Alumno: Sebastian Miguel Caceres Huaman
// Author: juan C. Cutipa-Luque
// Docente: juan C. Cutipa-Luque
//Codigo Reutilizado de un ejemplo Mostrado en Clase
clf(); // close current figure
clear // clear all pasta variables
xdel(winsid()) // close all windows
//Modelo de la planta
k1 = 1;
k2 = 4;
b1 = 0.2;
b2 = 0.1;
m1 = 1;
m2 = 2;
ap = [0 0 1 0; 0 0 0 1; -k1/m1 k1/m1 -b1/m1 b1/m1; k1/m2 -(k1 + k2)/m2 b2/m2 -(b1 + b2)/m2];
bp = [0 0; 0 0; 1/m1 0; 0 1/m2];
cp = [1 0 0 0; 0 1 0 0];
dp = 0*ones (2,2);
// Controllability and Observability
// Cc=[B, AB, A^2 B,..., A^(n-1) B]
Cc = cont_mat(ap,bp)
rankCc=rank(Cc)
//
// O=[C; CA; CA^2;...; CA^(n-1) ]
O = obsv_mat(ap, cp)
rankO=rank(O)
//valores singulares con escalonamiento
su = diag( [0.9614, 0.2753] )
sx = diag( [3.157, 11.47, 3.157, 11.47] )
sy = diag( [3.157 3.157] )
ap_ = sx*ap*inv(sx)
bp_ = sx*bp*inv(su)
cp_ = sy*cp*inv(sx)
dp_ = sy*dp*inv(su)
//planta aumentada con integradores antes del proyecto de controlador
[ns,nc] = size(bp_); //ns = número de entradas;
//nc = número de controles;
a_1 = [ap_ bp_ ;
0*ones(nc,ns) 0*ones(nc,nc) ];
b_1 = [0*ones(ns,nc); eye(nc,nc)];
c_1 = [cp_ 0*ones(nc,nc)];
d_1 = 0*ones(nc,nc)
G = syslin('c', a_1, b_1, c_1, d_1);
w = logspace(-3,3);
ms=1.7;// 0.3;%1.5; % guarantee overshot Mp < 6dB = 20*log10(2)
wbs=0.23;//0.05;%0.23;
ee=1e-3;//1e-4
ki=1; // used to give more accurate adjustment to the cut-off frequency wbs
// by default set it to 1
// -------- WT Data ------------
mt=1.3;//1.00; % guarantee overshot Mp < 2dB = 20*log10(1.26)
wbt=4.1;//9.1;%4.1;
ee=1e-3;//1e-4
// -------- WS ------------
s=poly(0,'s');
ws1=(s/ms+wbs)/(s+wbs*ee),
ws2=ws1;
ws=[ws1,0;0,ws2]
//Ws=syslin('c',ws)
Ws=blockdiag(ws1,ws2)
// -------- WT ------------
s=poly(0,'s');
wt1=(s+wbt/mt)/(ee*s+wbt),
wt2=wt1;
wt=[wt1,0;0,wt2]
//Wt=syslin('c',wt)
Wt=blockdiag(wt1,wt2)
// -------- WR ------------
s=poly(0,'s');
wr1=s/s,
wr2=wr1;
wr=[wr1,0;0,wr2]
// ------------------ Plot weighting functions
svs = svplot(Ws,w);
svt = svplot(Wt,w);
scf(2);
plot2d("ln", w, [-20*log(svs')/log(10) -20*log(svt')/log(10)])
xgrid(12)
xtitle("Singular values plot inv(Ws) and inv(Wt)","Frequency (rad/s)", "Amplitude (dB)");
[P,r]=augment(G,'ST');
//[P,r]=augment(g,'SRT');
P = blockdiag(Ws,Wt,eye(G))*P;
//P=minreal(P);
//trick to tackle when "D12 is not full rank"
P.D(1,3)=0.0001;
P.D(2,4)=0.0001;
r=[2,2]
romin=0.0001
romax=2000
nmax=100;
//[K,ro]=h_inf(P,r,romin,romax,nmax)
// alternatives
//[AK,BK,CK,DK,(RCOND)] = hinf(P.A,P.B,P.C,P.D,2,2,4)
K = ccontrg(P, [2,2], 1.3) // this is good for me and for this system
// -------------- Analysis of the Feeedback Control System
[Se,Re,Te]=sensi(G,K) // S=(I+GK)^-1, T=I-S=GK(I+GK)^-1
// ------------------ Plot weighting functions
svS = svplot(Se,w);
svT = svplot(Te,w);
scf(3);
plot2d("ln", w,[-20*log(svs')/log(10) 20*log(svS')/log(10)],[-1 -1 2 2],leg="$\overline{\sigma}(W_S^{-1})$@$\underline{\sigma}(W_S^{-1})$@$\overline{\sigma}(S)$@$\underline{\sigma}(S)$")
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
xgrid(12)
//set(gca(),"auto_clear","off")
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
scf(4);
plot2d("ln", w,[-20*log(svt')/log(10) 20*log(svT')/log(10)],[-1 -1 2 2],leg="$\overline{\sigma}(W_T^{-1})$@$\underline{\sigma}(W_T^{-1})$@$\overline{\sigma}(T)$@$\underline{\sigma}(T)$")
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
xgrid(12)
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
// --------------- Open loop and Closed loop analysis --------------
sysOL=G*K
sysCL=G*K*inv(eye(2,2)+G*K)
// eigenvalues in LHP (Left Half Plane), stable according to RH
spec(sysCL.A)
sv1= svplot(sysOL,w);
sv2= svplot(sysCL,w);
scf(5);
plot2d("ln", w,[20*log(sv1')/log(10) 20*log(sv2')/log(10)],[2 2 3 3],leg="$\overline{\sigma}(GK)$@$\underline{\sigma}(GK)$@$\overline{\sigma}(T)$@$\underline{\sigma}(T)$")
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
xgrid(12)
//set(gca(),"auto_clear","off")
xtitle("","Frequency (rad/s)", "Amplitude (dB)");
// Time responses in XCOS
|
47388ed186ba74cb870bad09686400946f109cfd
|
e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4
|
/New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Siouan/dak.tst
|
efcd2669acac3f35e3b87b0027a9487780900912
|
[] |
no_license
|
davidgu13/Lemma-vs-Form-Splits
|
c154f1c0c7b84ba5b325b17507012d41b9ad5cfe
|
3cce087f756420523f5a14234d02482452a7bfa5
|
refs/heads/master
| 2023-08-01T16:15:52.417307
| 2021-09-14T20:19:28
| 2021-09-14T20:19:28
| 395,023,433
| 3
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 15,688
|
tst
|
dak.tst
|
héc̣a V;SG;1;PRS
héc̣a V;PL;2;PRS
héc̣a V;PL;3;PRS
héc̣a V;PL;1;PRS
héc̣a V;PL;1+INCL;PRS
héc̣a V;SG;3;PRS
héc̣a V;SG;2;PRS
ehnake V;PL;1;PRS
ehnake V;PL;3;PRS
ehnake V;SG;1;PRS
ehnake V;SG;3;PRS
ehnake V;PL;2;PRS
ehnake V;SG;2;PRS
ehnake V;PL;1+INCL;PRS
papsuŋ V;PL;2;PRS
papsuŋ V;SG;3;PRS
papsuŋ V;SG;2;PRS
papsuŋ V;SG;1;PRS
papsuŋ V;PL;3;PRS
papsuŋ V;PL;1;PRS
papsuŋ V;PL;1+INCL;PRS
yukape V;PL;3;PRS
yukape V;PL;1;PRS
yukape V;SG;3;PRS
yukape V;PL;1+INCL;PRS
yukape V;SG;1;PRS
yukape V;PL;2;PRS
yukape V;SG;2;PRS
yatke V;SG;2;PRS
yatke V;PL;1+INCL;PRS
yatke V;SG;1;PRS
yatke V;PL;1;PRS
yatke V;SG;3;PRS
yatke V;PL;2;PRS
yatke V;PL;3;PRS
ḣa V;SG;1;PRS
ḣa V;SG;2;PRS
ḣa V;PL;3;PRS
ḣa V;PL;1+INCL;PRS
ḣa V;PL;2;PRS
ḣa V;SG;3;PRS
ḣa V;PL;1;PRS
niwe V;SG;2;PRS
niwe V;PL;1;PRS
niwe V;PL;2;PRS
niwe V;SG;1;PRS
niwe V;PL;3;PRS
niwe V;PL;1+INCL;PRS
niwe V;SG;3;PRS
hetaŋhaŋ V;PL;1+INCL;PRS
hetaŋhaŋ V;SG;2;PRS
hetaŋhaŋ V;PL;1;PRS
hetaŋhaŋ V;SG;3;PRS
hetaŋhaŋ V;SG;1;PRS
hetaŋhaŋ V;PL;2;PRS
hetaŋhaŋ V;PL;3;PRS
nażiŋ V;PL;1+INCL;PRS
nażiŋ V;SG;3;PRS
nażiŋ V;SG;1;PRS
nażiŋ V;SG;2;PRS
nażiŋ V;PL;3;PRS
nażiŋ V;PL;2;PRS
nażiŋ V;PL;1;PRS
iyuṭe V;PL;3;PRS
iyuṭe V;SG;1;PRS
iyuṭe V;SG;3;PRS
iyuṭe V;PL;1+INCL;PRS
iyuṭe V;SG;2;PRS
iyuṭe V;PL;1;PRS
iyuṭe V;PL;2;PRS
kaḣuġa V;PL;2;PRS
kaḣuġa V;SG;3;PRS
kaḣuġa V;PL;3;PRS
kaḣuġa V;PL;1+INCL;PRS
kaḣuġa V;PL;1;PRS
kaḣuġa V;SG;1;PRS
kaḣuġa V;SG;2;PRS
kíciyuza V;PL;3;PRS
kíciyuza V;PL;2;PRS
kíciyuza V;SG;1;PRS
kíciyuza V;SG;2;PRS
kíciyuza V;PL;1;PRS
kíciyuza V;PL;1+INCL;PRS
kíciyuza V;SG;3;PRS
wótehda V;PL;2;PRS
wótehda V;SG;2;PRS
wótehda V;PL;3;PRS
wótehda V;SG;3;PRS
wótehda V;PL;1+INCL;PRS
wótehda V;SG;1;PRS
wótehda V;PL;1;PRS
aṗe V;PL;2;PRS
aṗe V;PL;3;PRS
aṗe V;SG;1;PRS
aṗe V;PL;1+INCL;PRS
aṗe V;PL;1;PRS
aṗe V;SG;2;PRS
aṗe V;SG;3;PRS
ṡicedake V;PL;1+INCL;PRS
ṡicedake V;PL;3;PRS
ṡicedake V;SG;1;PRS
ṡicedake V;SG;2;PRS
ṡicedake V;PL;2;PRS
ṡicedake V;SG;3;PRS
ṡicedake V;PL;1;PRS
ġuye V;SG;2;PRS
ġuye V;PL;3;PRS
ġuye V;SG;3;PRS
ġuye V;PL;2;PRS
ġuye V;PL;1;PRS
ġuye V;PL;1+INCL;PRS
ġuye V;SG;1;PRS
yużuŋ V;SG;2;PRS
yużuŋ V;PL;1+INCL;PRS
yużuŋ V;SG;1;PRS
yużuŋ V;PL;1;PRS
yużuŋ V;PL;2;PRS
yużuŋ V;PL;3;PRS
yużuŋ V;SG;3;PRS
ec̣uŋ V;PL;1+INCL;PRS
ec̣uŋ V;PL;1;PRS
ec̣uŋ V;SG;3;PRS
ec̣uŋ V;SG;1;PRS
ec̣uŋ V;SG;2;PRS
ec̣uŋ V;PL;2;PRS
ec̣uŋ V;PL;3;PRS
ṭiṭoḳaŋ i V;PL;2;PRS
ṭiṭoḳaŋ i V;PL;1;PRS
ṭiṭoḳaŋ i V;SG;3;PRS
ṭiṭoḳaŋ i V;SG;2;PRS
ṭiṭoḳaŋ i V;SG;1;PRS
ṭiṭoḳaŋ i V;PL;1+INCL;PRS
ṭiṭoḳaŋ i V;PL;3;PRS
(ob) wóhdake V;PL;2;PRS
(ob) wóhdake V;PL;1+INCL;PRS
(ob) wóhdake V;PL;3;PRS
(ob) wóhdake V;SG;1;PRS
(ob) wóhdake V;SG;3;PRS
(ob) wóhdake V;PL;1;PRS
(ob) wóhdake V;SG;2;PRS
c̣iŋ V;PL;3;PRS
c̣iŋ V;SG;2;PRS
c̣iŋ V;PL;2;PRS
c̣iŋ V;PL;1+INCL;PRS
c̣iŋ V;SG;3;PRS
c̣iŋ V;SG;1;PRS
c̣iŋ V;PL;1;PRS
każużu V;SG;2;PRS
każużu V;SG;3;PRS
każużu V;SG;1;PRS
każużu V;PL;2;PRS
każużu V;PL;1+INCL;PRS
każużu V;PL;1;PRS
każużu V;PL;3;PRS
manuŋ V;SG;2;PRS
manuŋ V;PL;1;PRS
manuŋ V;PL;1+INCL;PRS
manuŋ V;PL;2;PRS
manuŋ V;PL;3;PRS
manuŋ V;SG;1;PRS
manuŋ V;SG;3;PRS
ihdoi V;PL;1+INCL;PRS
ihdoi V;SG;3;PRS
ihdoi V;PL;2;PRS
ihdoi V;SG;2;PRS
ihdoi V;PL;1;PRS
ihdoi V;SG;1;PRS
ihdoi V;PL;3;PRS
yuinaḣni V;PL;2;PRS
yuinaḣni V;SG;2;PRS
yuinaḣni V;PL;1+INCL;PRS
yuinaḣni V;PL;3;PRS
yuinaḣni V;SG;3;PRS
yuinaḣni V;SG;1;PRS
yuinaḣni V;PL;1;PRS
kaḣdoke V;PL;2;PRS
kaḣdoke V;PL;3;PRS
kaḣdoke V;SG;2;PRS
kaḣdoke V;SG;3;PRS
kaḣdoke V;PL;1+INCL;PRS
kaḣdoke V;PL;1;PRS
kaḣdoke V;SG;1;PRS
iyakaṡke V;PL;3;PRS
iyakaṡke V;PL;1;PRS
iyakaṡke V;SG;2;PRS
iyakaṡke V;SG;3;PRS
iyakaṡke V;PL;2;PRS
iyakaṡke V;PL;1+INCL;PRS
iyakaṡke V;SG;1;PRS
waṡte V;PL;2;PRS
waṡte V;PL;3;PRS
waṡte V;SG;1;PRS
waṡte V;SG;3;PRS
waṡte V;SG;2;PRS
waṡte V;PL;1;PRS
waṡte V;PL;1+INCL;PRS
anaġoptaŋ V;PL;2;PRS
anaġoptaŋ V;SG;3;PRS
anaġoptaŋ V;PL;3;PRS
anaġoptaŋ V;SG;2;PRS
anaġoptaŋ V;PL;1;PRS
anaġoptaŋ V;PL;1+INCL;PRS
anaġoptaŋ V;SG;1;PRS
pasdohaŋ V;PL;2;PRS
pasdohaŋ V;SG;3;PRS
pasdohaŋ V;PL;1;PRS
pasdohaŋ V;PL;1+INCL;PRS
pasdohaŋ V;SG;1;PRS
pasdohaŋ V;SG;2;PRS
pasdohaŋ V;PL;3;PRS
wayatke V;PL;2;PRS
wayatke V;SG;2;PRS
wayatke V;PL;3;PRS
wayatke V;PL;1;PRS
wayatke V;PL;1+INCL;PRS
wayatke V;SG;3;PRS
wayatke V;SG;1;PRS
wac̣i V;PL;3;PRS
wac̣i V;PL;2;PRS
wac̣i V;SG;1;PRS
wac̣i V;PL;1+INCL;PRS
wac̣i V;SG;3;PRS
wac̣i V;PL;1;PRS
wac̣i V;SG;2;PRS
hdoku V;PL;1+INCL;PRS
hdoku V;PL;2;PRS
hdoku V;PL;1;PRS
hdoku V;SG;1;PRS
hdoku V;SG;3;PRS
hdoku V;SG;2;PRS
hdoku V;PL;3;PRS
iṡtohmuze V;PL;3;PRS
iṡtohmuze V;SG;2;PRS
iṡtohmuze V;PL;1+INCL;PRS
iṡtohmuze V;SG;1;PRS
iṡtohmuze V;SG;3;PRS
iṡtohmuze V;PL;1;PRS
iṡtohmuze V;PL;2;PRS
ṡape V;PL;3;PRS
ṡape V;PL;2;PRS
ṡape V;SG;1;PRS
ṡape V;SG;2;PRS
ṡape V;PL;1+INCL;PRS
ṡape V;SG;3;PRS
ṡape V;PL;1;PRS
yahomni V;SG;1;PRS
yahomni V;PL;1;PRS
yahomni V;PL;2;PRS
yahomni V;PL;3;PRS
yahomni V;SG;2;PRS
yahomni V;PL;1+INCL;PRS
yahomni V;SG;3;PRS
waṡ'agic̣'iye V;SG;3;PRS
waṡ'agic̣'iye V;SG;1;PRS
waṡ'agic̣'iye V;PL;1+INCL;PRS
waṡ'agic̣'iye V;PL;2;PRS
waṡ'agic̣'iye V;PL;3;PRS
waṡ'agic̣'iye V;SG;2;PRS
waṡ'agic̣'iye V;PL;1;PRS
o V;SG;3;PRS
o V;SG;2;PRS
o V;SG;1;PRS
o V;PL;2;PRS
o V;PL;3;PRS
o V;PL;1;PRS
o V;PL;1+INCL;PRS
kaḳoḳoke V;PL;1+INCL;PRS
kaḳoḳoke V;SG;2;PRS
kaḳoḳoke V;PL;1;PRS
kaḳoḳoke V;PL;2;PRS
kaḳoḳoke V;PL;3;PRS
kaḳoḳoke V;SG;3;PRS
kaḳoḳoke V;SG;1;PRS
waṡtedake V;PL;3;PRS
waṡtedake V;PL;1;PRS
waṡtedake V;SG;1;PRS
waṡtedake V;PL;2;PRS
waṡtedake V;SG;3;PRS
waṡtedake V;PL;1+INCL;PRS
waṡtedake V;SG;2;PRS
ḣpaŋye V;PL;3;PRS
ḣpaŋye V;SG;2;PRS
ḣpaŋye V;PL;1+INCL;PRS
ḣpaŋye V;PL;2;PRS
ḣpaŋye V;SG;3;PRS
ḣpaŋye V;SG;1;PRS
ḣpaŋye V;PL;1;PRS
ókiye V;PL;2;PRS
ókiye V;PL;3;PRS
ókiye V;SG;2;PRS
ókiye V;SG;1;PRS
ókiye V;PL;1;PRS
ókiye V;PL;1+INCL;PRS
ókiye V;SG;3;PRS
ṡakiye V;PL;2;PRS
ṡakiye V;PL;1+INCL;PRS
ṡakiye V;PL;3;PRS
ṡakiye V;PL;1;PRS
ṡakiye V;SG;3;PRS
ṡakiye V;SG;1;PRS
ṡakiye V;SG;2;PRS
wac̣iŋye V;SG;1;PRS
wac̣iŋye V;PL;3;PRS
wac̣iŋye V;PL;1;PRS
wac̣iŋye V;PL;2;PRS
wac̣iŋye V;SG;3;PRS
wac̣iŋye V;SG;2;PRS
wac̣iŋye V;PL;1+INCL;PRS
iwaṡtedaŋ ec̣uŋ V;SG;1;PRS
iwaṡtedaŋ ec̣uŋ V;SG;3;PRS
iwaṡtedaŋ ec̣uŋ V;PL;1;PRS
iwaṡtedaŋ ec̣uŋ V;PL;2;PRS
iwaṡtedaŋ ec̣uŋ V;SG;2;PRS
iwaṡtedaŋ ec̣uŋ V;PL;3;PRS
iwaṡtedaŋ ec̣uŋ V;PL;1+INCL;PRS
wayawa hi V;PL;2;PRS
wayawa hi V;SG;1;PRS
wayawa hi V;PL;3;PRS
wayawa hi V;SG;3;PRS
wayawa hi V;SG;2;PRS
wayawa hi V;PL;1+INCL;PRS
wayawa hi V;PL;1;PRS
huwe i V;SG;1;PRS
huwe i V;PL;2;PRS
huwe i V;PL;3;PRS
huwe i V;PL;1+INCL;PRS
huwe i V;PL;1;PRS
huwe i V;SG;3;PRS
huwe i V;SG;2;PRS
ḣtani hi V;PL;1;PRS
ḣtani hi V;PL;2;PRS
ḣtani hi V;SG;2;PRS
ḣtani hi V;PL;3;PRS
ḣtani hi V;SG;1;PRS
ḣtani hi V;PL;1+INCL;PRS
ḣtani hi V;SG;3;PRS
ípuze V;PL;1+INCL;PRS
ípuze V;SG;3;PRS
ípuze V;PL;1;PRS
ípuze V;SG;2;PRS
ípuze V;SG;1;PRS
ípuze V;PL;3;PRS
ípuze V;PL;2;PRS
kai V;SG;2;PRS
kai V;PL;1+INCL;PRS
kai V;PL;2;PRS
kai V;SG;3;PRS
kai V;PL;3;PRS
kai V;PL;1;PRS
kai V;SG;1;PRS
inaḣme V;SG;3;PRS
inaḣme V;PL;3;PRS
inaḣme V;SG;1;PRS
inaḣme V;PL;1;PRS
inaḣme V;SG;2;PRS
inaḣme V;PL;1+INCL;PRS
inaḣme V;PL;2;PRS
hdużaża V;PL;1;PRS
hdużaża V;PL;2;PRS
hdużaża V;SG;3;PRS
hdużaża V;SG;1;PRS
hdużaża V;PL;3;PRS
hdużaża V;SG;2;PRS
hdużaża V;PL;1+INCL;PRS
háŋske V;SG;3;PRS
háŋske V;PL;2;PRS
háŋske V;PL;3;PRS
háŋske V;SG;1;PRS
háŋske V;SG;2;PRS
háŋske V;PL;1+INCL;PRS
háŋske V;PL;1;PRS
kahdi V;PL;1;PRS
kahdi V;SG;3;PRS
kahdi V;SG;1;PRS
kahdi V;PL;1+INCL;PRS
kahdi V;PL;2;PRS
kahdi V;SG;2;PRS
kahdi V;PL;3;PRS
aohaha V;PL;2;PRS
aohaha V;PL;1;PRS
aohaha V;PL;3;PRS
aohaha V;SG;2;PRS
aohaha V;SG;1;PRS
aohaha V;PL;1+INCL;PRS
aohaha V;SG;3;PRS
kaḣape V;SG;3;PRS
kaḣape V;SG;1;PRS
kaḣape V;PL;2;PRS
kaḣape V;PL;1;PRS
kaḣape V;PL;3;PRS
kaḣape V;PL;1+INCL;PRS
kaḣape V;SG;2;PRS
(ob) wóta V;SG;1;PRS
(ob) wóta V;SG;2;PRS
(ob) wóta V;PL;1;PRS
(ob) wóta V;SG;3;PRS
(ob) wóta V;PL;1+INCL;PRS
(ob) wóta V;PL;3;PRS
(ob) wóta V;PL;2;PRS
ihduṡdoke V;PL;2;PRS
ihduṡdoke V;PL;1+INCL;PRS
ihduṡdoke V;SG;2;PRS
ihduṡdoke V;PL;1;PRS
ihduṡdoke V;SG;3;PRS
ihduṡdoke V;SG;1;PRS
ihduṡdoke V;PL;3;PRS
hinażiŋ V;SG;1;PRS
hinażiŋ V;PL;1;PRS
hinażiŋ V;PL;3;PRS
hinażiŋ V;SG;2;PRS
hinażiŋ V;SG;3;PRS
hinażiŋ V;PL;1+INCL;PRS
hinażiŋ V;PL;2;PRS
yuwiŋze V;PL;3;PRS
yuwiŋze V;PL;2;PRS
yuwiŋze V;PL;1+INCL;PRS
yuwiŋze V;SG;1;PRS
yuwiŋze V;SG;2;PRS
yuwiŋze V;SG;3;PRS
yuwiŋze V;PL;1;PRS
wópeṭuŋ V;PL;2;PRS
wópeṭuŋ V;PL;1;PRS
wópeṭuŋ V;PL;3;PRS
wópeṭuŋ V;SG;3;PRS
wópeṭuŋ V;PL;1+INCL;PRS
wópeṭuŋ V;SG;1;PRS
wópeṭuŋ V;SG;2;PRS
yuġaŋ V;PL;2;PRS
yuġaŋ V;SG;1;PRS
yuġaŋ V;SG;2;PRS
yuġaŋ V;SG;3;PRS
yuġaŋ V;PL;1;PRS
yuġaŋ V;PL;1+INCL;PRS
yuġaŋ V;PL;3;PRS
éokasiŋ V;PL;2;PRS
éokasiŋ V;SG;2;PRS
éokasiŋ V;SG;1;PRS
éokasiŋ V;PL;1;PRS
éokasiŋ V;SG;3;PRS
éokasiŋ V;PL;1+INCL;PRS
éokasiŋ V;PL;3;PRS
ahiṭuŋwe V;SG;1;PRS
ahiṭuŋwe V;PL;1;PRS
ahiṭuŋwe V;PL;2;PRS
ahiṭuŋwe V;PL;1+INCL;PRS
ahiṭuŋwe V;PL;3;PRS
ahiṭuŋwe V;SG;3;PRS
ahiṭuŋwe V;SG;2;PRS
uŋspeḳiye V;SG;3;PRS
uŋspeḳiye V;SG;1;PRS
uŋspeḳiye V;PL;1;PRS
uŋspeḳiye V;SG;2;PRS
uŋspeḳiye V;PL;1+INCL;PRS
uŋspeḳiye V;PL;2;PRS
uŋspeḳiye V;PL;3;PRS
yubaze V;SG;1;PRS
yubaze V;PL;3;PRS
yubaze V;SG;3;PRS
yubaze V;PL;1+INCL;PRS
yubaze V;SG;2;PRS
yubaze V;PL;1;PRS
yubaze V;PL;2;PRS
oihdake V;SG;2;PRS
oihdake V;PL;1;PRS
oihdake V;SG;3;PRS
oihdake V;PL;3;PRS
oihdake V;SG;1;PRS
oihdake V;PL;2;PRS
oihdake V;PL;1+INCL;PRS
(ob) ye V;SG;1;PRS
(ob) ye V;PL;1;PRS
(ob) ye V;PL;3;PRS
(ob) ye V;SG;2;PRS
(ob) ye V;PL;1+INCL;PRS
(ob) ye V;PL;2;PRS
(ob) ye V;SG;3;PRS
ḳadhde V;SG;1;PRS
ḳadhde V;PL;3;PRS
ḳadhde V;PL;2;PRS
ḳadhde V;SG;3;PRS
ḳadhde V;PL;1;PRS
ḳadhde V;PL;1+INCL;PRS
ḳadhde V;SG;2;PRS
spaye V;PL;1+INCL;PRS
spaye V;SG;2;PRS
spaye V;SG;3;PRS
spaye V;PL;2;PRS
spaye V;PL;1;PRS
spaye V;PL;3;PRS
spaye V;SG;1;PRS
waŋke V;SG;3;PRS
waŋke V;PL;1;PRS
waŋke V;PL;2;PRS
waŋke V;SG;1;PRS
waŋke V;PL;3;PRS
waŋke V;PL;1+INCL;PRS
waŋke V;SG;2;PRS
yuṡpuṡpu V;PL;1+INCL;PRS
yuṡpuṡpu V;PL;2;PRS
yuṡpuṡpu V;PL;1;PRS
yuṡpuṡpu V;PL;3;PRS
yuṡpuṡpu V;SG;2;PRS
yuṡpuṡpu V;SG;3;PRS
yuṡpuṡpu V;SG;1;PRS
okiwa V;PL;1;PRS
okiwa V;SG;2;PRS
okiwa V;SG;1;PRS
okiwa V;PL;1+INCL;PRS
okiwa V;PL;2;PRS
okiwa V;PL;3;PRS
okiwa V;SG;3;PRS
c̣uwita V;PL;3;PRS
c̣uwita V;SG;3;PRS
c̣uwita V;SG;1;PRS
c̣uwita V;SG;2;PRS
c̣uwita V;PL;2;PRS
c̣uwita V;PL;1+INCL;PRS
c̣uwita V;PL;1;PRS
amaġażu V;SG;1;PRS
amaġażu V;PL;3;PRS
amaġażu V;SG;3;PRS
amaġażu V;SG;2;PRS
amaġażu V;PL;1+INCL;PRS
amaġażu V;PL;2;PRS
amaġażu V;PL;1;PRS
naġiyeye V;PL;1+INCL;PRS
naġiyeye V;PL;2;PRS
naġiyeye V;PL;3;PRS
naġiyeye V;SG;1;PRS
naġiyeye V;PL;1;PRS
naġiyeye V;SG;3;PRS
naġiyeye V;SG;2;PRS
ohoda V;SG;2;PRS
ohoda V;PL;1+INCL;PRS
ohoda V;SG;3;PRS
ohoda V;PL;3;PRS
ohoda V;PL;2;PRS
ohoda V;SG;1;PRS
ohoda V;PL;1;PRS
c̣oṗa V;SG;1;PRS
c̣oṗa V;PL;3;PRS
c̣oṗa V;SG;2;PRS
c̣oṗa V;SG;3;PRS
c̣oṗa V;PL;1;PRS
c̣oṗa V;PL;2;PRS
c̣oṗa V;PL;1+INCL;PRS
yaoṭaŋiŋ V;SG;3;PRS
yaoṭaŋiŋ V;PL;2;PRS
yaoṭaŋiŋ V;SG;1;PRS
yaoṭaŋiŋ V;PL;1+INCL;PRS
yaoṭaŋiŋ V;SG;2;PRS
yaoṭaŋiŋ V;PL;3;PRS
yaoṭaŋiŋ V;PL;1;PRS
ozikiye V;PL;1+INCL;PRS
ozikiye V;PL;2;PRS
ozikiye V;SG;3;PRS
ozikiye V;PL;3;PRS
ozikiye V;SG;1;PRS
ozikiye V;SG;2;PRS
ozikiye V;PL;1;PRS
ṭokṡu V;PL;3;PRS
ṭokṡu V;SG;1;PRS
ṭokṡu V;PL;1+INCL;PRS
ṭokṡu V;SG;3;PRS
ṭokṡu V;PL;2;PRS
ṭokṡu V;PL;1;PRS
ṭokṡu V;SG;2;PRS
wod i V;SG;3;PRS
wod i V;PL;3;PRS
wod i V;PL;1+INCL;PRS
wod i V;PL;1;PRS
wod i V;SG;1;PRS
wod i V;SG;2;PRS
wod i V;PL;2;PRS
yac̣aŋze V;PL;1+INCL;PRS
yac̣aŋze V;PL;2;PRS
yac̣aŋze V;PL;3;PRS
yac̣aŋze V;SG;1;PRS
yac̣aŋze V;SG;2;PRS
yac̣aŋze V;PL;1;PRS
yac̣aŋze V;SG;3;PRS
tógeḣpekiye V;PL;1;PRS
tógeḣpekiye V;PL;3;PRS
tógeḣpekiye V;PL;1+INCL;PRS
tógeḣpekiye V;PL;2;PRS
tógeḣpekiye V;SG;3;PRS
tógeḣpekiye V;SG;2;PRS
tógeḣpekiye V;SG;1;PRS
icaġe V;SG;3;PRS
icaġe V;SG;1;PRS
icaġe V;PL;2;PRS
icaġe V;PL;3;PRS
icaġe V;PL;1+INCL;PRS
icaġe V;PL;1;PRS
icaġe V;SG;2;PRS
ayupte V;PL;1+INCL;PRS
ayupte V;PL;1;PRS
ayupte V;SG;1;PRS
ayupte V;PL;3;PRS
ayupte V;SG;3;PRS
ayupte V;PL;2;PRS
ayupte V;SG;2;PRS
ihdoye V;PL;2;PRS
ihdoye V;SG;3;PRS
ihdoye V;PL;1;PRS
ihdoye V;PL;3;PRS
ihdoye V;SG;1;PRS
ihdoye V;SG;2;PRS
ihdoye V;PL;1+INCL;PRS
ob i V;PL;1+INCL;PRS
ob i V;SG;2;PRS
ob i V;PL;2;PRS
ob i V;SG;3;PRS
ob i V;PL;1;PRS
ob i V;PL;3;PRS
ob i V;SG;1;PRS
ihdohi V;SG;1;PRS
ihdohi V;PL;1+INCL;PRS
ihdohi V;SG;2;PRS
ihdohi V;PL;1;PRS
ihdohi V;PL;3;PRS
ihdohi V;SG;3;PRS
ihdohi V;PL;2;PRS
kíciyuhe V;SG;3;PRS
kíciyuhe V;SG;1;PRS
kíciyuhe V;PL;2;PRS
kíciyuhe V;SG;2;PRS
kíciyuhe V;PL;3;PRS
kíciyuhe V;PL;1;PRS
kíciyuhe V;PL;1+INCL;PRS
uŋspe V;SG;1;PRS
uŋspe V;SG;3;PRS
uŋspe V;PL;3;PRS
uŋspe V;PL;1;PRS
uŋspe V;SG;2;PRS
uŋspe V;PL;2;PRS
uŋspe V;PL;1+INCL;PRS
aḣpeya V;SG;3;PRS
aḣpeya V;SG;2;PRS
aḣpeya V;PL;3;PRS
aḣpeya V;PL;2;PRS
aḣpeya V;PL;1;PRS
aḣpeya V;PL;1+INCL;PRS
aḣpeya V;SG;1;PRS
yuṡiŋṡiŋ V;PL;3;PRS
yuṡiŋṡiŋ V;SG;3;PRS
yuṡiŋṡiŋ V;SG;1;PRS
yuṡiŋṡiŋ V;PL;1;PRS
yuṡiŋṡiŋ V;PL;1+INCL;PRS
yuṡiŋṡiŋ V;SG;2;PRS
yuṡiŋṡiŋ V;PL;2;PRS
awaciŋ V;SG;1;PRS
awaciŋ V;PL;1;PRS
awaciŋ V;PL;1+INCL;PRS
awaciŋ V;SG;2;PRS
awaciŋ V;PL;2;PRS
awaciŋ V;PL;3;PRS
awaciŋ V;SG;3;PRS
yuṭaŋka V;PL;3;PRS
yuṭaŋka V;SG;3;PRS
yuṭaŋka V;PL;1;PRS
yuṭaŋka V;SG;1;PRS
yuṭaŋka V;SG;2;PRS
yuṭaŋka V;PL;2;PRS
yuṭaŋka V;PL;1+INCL;PRS
iṭuŋṡni V;PL;1+INCL;PRS
iṭuŋṡni V;SG;3;PRS
iṭuŋṡni V;PL;1;PRS
iṭuŋṡni V;SG;1;PRS
iṭuŋṡni V;PL;2;PRS
iṭuŋṡni V;PL;3;PRS
iṭuŋṡni V;SG;2;PRS
ic̣apte V;PL;3;PRS
ic̣apte V;PL;2;PRS
ic̣apte V;SG;3;PRS
ic̣apte V;PL;1+INCL;PRS
ic̣apte V;SG;2;PRS
ic̣apte V;PL;1;PRS
ic̣apte V;SG;1;PRS
íyotaŋka V;SG;2;PRS
íyotaŋka V;SG;3;PRS
íyotaŋka V;PL;2;PRS
íyotaŋka V;PL;1+INCL;PRS
íyotaŋka V;PL;1;PRS
íyotaŋka V;SG;1;PRS
íyotaŋka V;PL;3;PRS
yuḣdeca V;PL;1+INCL;PRS
yuḣdeca V;SG;1;PRS
yuḣdeca V;SG;2;PRS
yuḣdeca V;SG;3;PRS
yuḣdeca V;PL;1;PRS
yuḣdeca V;PL;2;PRS
yuḣdeca V;PL;3;PRS
yukse V;SG;2;PRS
yukse V;PL;3;PRS
yukse V;PL;1+INCL;PRS
yukse V;PL;1;PRS
yukse V;SG;1;PRS
yukse V;PL;2;PRS
yukse V;SG;3;PRS
hdicu V;PL;3;PRS
hdicu V;SG;1;PRS
hdicu V;PL;1+INCL;PRS
hdicu V;SG;3;PRS
hdicu V;PL;1;PRS
hdicu V;SG;2;PRS
hdicu V;PL;2;PRS
odote V;PL;1;PRS
odote V;SG;3;PRS
odote V;SG;1;PRS
odote V;PL;1+INCL;PRS
odote V;SG;2;PRS
odote V;PL;3;PRS
odote V;PL;2;PRS
ṡape ṡni V;PL;1+INCL;PRS
ṡape ṡni V;PL;3;PRS
ṡape ṡni V;SG;3;PRS
ṡape ṡni V;PL;2;PRS
ṡape ṡni V;SG;1;PRS
ṡape ṡni V;SG;2;PRS
ṡape ṡni V;PL;1;PRS
wayawa i V;PL;1+INCL;PRS
wayawa i V;SG;3;PRS
wayawa i V;SG;2;PRS
wayawa i V;PL;2;PRS
wayawa i V;PL;1;PRS
wayawa i V;PL;3;PRS
wayawa i V;SG;1;PRS
sdohaŋ ye V;PL;2;PRS
sdohaŋ ye V;SG;1;PRS
sdohaŋ ye V;SG;3;PRS
sdohaŋ ye V;PL;1+INCL;PRS
sdohaŋ ye V;PL;1;PRS
sdohaŋ ye V;PL;3;PRS
sdohaŋ ye V;SG;2;PRS
itohomni V;PL;3;PRS
itohomni V;PL;1+INCL;PRS
itohomni V;PL;1;PRS
itohomni V;SG;2;PRS
itohomni V;PL;2;PRS
itohomni V;SG;1;PRS
itohomni V;SG;3;PRS
kau V;PL;1;PRS
kau V;PL;3;PRS
kau V;PL;1+INCL;PRS
kau V;SG;3;PRS
kau V;SG;2;PRS
kau V;PL;2;PRS
kau V;SG;1;PRS
yuide V;SG;1;PRS
yuide V;SG;2;PRS
yuide V;SG;3;PRS
yuide V;PL;1+INCL;PRS
yuide V;PL;1;PRS
yuide V;PL;3;PRS
yuide V;PL;2;PRS
|
b51b17ba32302c1ab26ec8ec8ff48967d19dd2e5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1949/CH2/EX2.1/2_1.sce
|
ad0f0a959b336434c5f5469bb472463a289a6865
|
[] |
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
| 306
|
sce
|
2_1.sce
|
//Chapter-2,Example 2_1,Page 2-30
clc()
//Given Data:
m=4 //order
N=1/5000*10^-2 //N=(a+b) grating element
//Calculations:
//We know, (a+b)*sin(theta)=m*lam
//for longest wavelength, sin(theta)=1
lam=N/m //longest wavelength
printf('The longest wavelength is =%.10f m',lam)
|
acbb439aa0376de4630bd40841583090d6b8e080
|
1ecec5dc2d882bd1c1a8def2e3299183fc5b962f
|
/main.sce
|
f3938a62f390e5cbd47a46105e0b25ac87a9aca8
|
[] |
no_license
|
hansgillis/scigame
|
362eebd4d631945232d62be65442947f30cf2951
|
489d2fc4a0c2780ac011ad368c83812881b4b64d
|
refs/heads/master
| 2020-12-24T13:21:48.494208
| 2015-02-04T18:42:02
| 2015-02-04T18:42:02
| 30,297,370
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,610
|
sce
|
main.sce
|
// initialiseert en importeert scigame module
exec("scigame/init.sce");
exec("logic.sce");
function main()
// maakt een venster
window = Window([800, 600]);
// laad een afbeelding in een variabele
// image = Image(pathfile, [x, y, breedte, hoogte])
bg = Image("img/background.png", [0, 0, 800, 600]);
ball = Image("img/ball.png", [384, 284, 32, 32]);
stick_player = Image("img/stick.png", [718, 260, 64, 128]);
stick_scibot = Image("img/stick.png", [30, 260, 64, 128]);
// maak een sprite object aan,
// sprite is een extend image object met meer methodes zoals
// move(sprite, dx, dy)
// render(sprite, position)
// collision(sprite1, sprite2)
// sprite = Sprite(window, image)
sprite_ball = Sprite(window, ball);
sprite_player = Sprite(window, stick_player);
sprite_scibot = Sprite(window, stick_scibot);
CONST_SPEED = 15;
speed = 15;
delta = [-speed, 0];
// zolang er niet op escape wordt geklikt...
while ~event.poll(-27)
if is_hitting_right_bound(window, sprite_ball, delta(1)) then
speed = CONST_SPEED;
set_x(sprite_ball, window.width / 10 * 6 + sprite_ball.image.width / 2)
set_y(sprite_ball, window.height / 2 - sprite_ball.image.height / 2)
delta(1) = -speed;
delta(2) = 0;
elseif is_hitting_left_bound(window, sprite_ball, delta(1)) then
speed = CONST_SPEED;
set_x(sprite_ball, window.width / 10 * 4 - sprite_ball.image.width / 2)
set_y(sprite_ball, window.height / 2 - sprite_ball.image.height / 2)
delta(1) = speed;
delta(2) = 0;
end
if collision(sprite_ball, sprite_scibot) then
delta = bounce(sprite_ball, sprite_scibot, speed);
elseif collision(sprite_ball, sprite_player) then
delta = bounce(sprite_ball, sprite_player, -speed);
end
if is_hitting_lower_bound(window, sprite_ball, delta(2)) then
delta(2) = delta(2) * (-1)
set_y(sprite_ball, 0);
elseif is_hitting_upper_bound(window, sprite_ball, delta(2)) then
delta(2) = delta(2) * (-1)
set_y(sprite_ball, window.height - sprite_ball.image.height);
end
ps = get_position(sprite_scibot)
pb = get_position(sprite_ball)
if ps(2) + sprite_scibot.image.height / 4 < pb(2) - sprite_ball.image.height / 2 then
move(sprite_scibot, 0, -speed / 2);
elseif ps(2) + sprite_scibot.image.height / 4 * 3 > pb(2) - sprite_ball.image.height / 2 then
move(sprite_scibot, 0, speed / 2);
end
move(sprite_ball, delta(1), delta(2));
set_y(sprite_player, window.height - get_mouse_y() - stick_player.height / 2);
// regelt de frames per second
tick();
end
// sluit alles mooi af
destroy(window);
endfunction
main();
|
21aaf011477491543dcd2ef287b71183743dff1d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2339/CH5/EX5.12.1/Ex5_12.sce
|
e1f88b1771b3a3957ed2085d9533321bb02ef0fc
|
[] |
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
| 596
|
sce
|
Ex5_12.sce
|
clc
clear
Ms=7.3; //kg/kg of fuel
Tfw=46; //in C
P=10; //in bar
FOE=1.17; //Factor of Evaporation
Eff=0.79;
Me=FOE*Ms;
printf('Equivalent Evaporation: %3.2f kg/kg of coal',Me);
printf('\n');
Hfw=192.6; //in kJ/kg
Hg=2778.1; //in kJ/kg
Tsat=179.9; //in C
Cps=2.1; //in kJ/kg K
H=(2257*FOE)+Hfw;
Tsup=((H-Hg)/Cps)+Tsat;
printf('Temperature of Superheated Steam: %3.1f C',Tsup);
printf('\n');
CV=(Ms*(H-Hfw))/Eff;
printf('Calorific Value: %3.1f kJ/kg',CV);
printf('\n');
|
df32d4618f6e639d8168e1a17deb943c145cb985
|
1b969fbb81566edd3ef2887c98b61d98b380afd4
|
/Rez/bivariate-lcmsr-post_mi/bfi_hp8_bfa_mt_d/~BivLCM-SR-bfi_hp8_bfa_mt_d-PLin-VLin.tst
|
2fd960cb9b0e75c69258c6e47f02ecc42e257609
|
[] |
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_hp8_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.235037D+00
2 -0.340034D-02 0.183337D-02
3 -0.837864D-01 0.635934D-03 0.437632D+00
4 0.266567D-03 -0.604582D-03 -0.563942D-02 0.373489D-02
5 -0.234541D-03 -0.248378D-04 -0.202905D-02 0.774970D-04 0.234874D-02
6 0.660681D-03 0.429560D-05 0.521289D-03 -0.976605D-04 -0.565049D-05
7 0.787290D-03 -0.103484D-04 -0.163753D-02 -0.400162D-04 -0.191050D-03
8 0.224056D-03 -0.603480D-04 -0.645437D-03 0.641814D-04 0.123067D-04
9 -0.259360D+00 0.544292D-03 -0.994243D-01 0.157584D-01 0.367221D-01
10 -0.219795D+00 -0.350717D-02 0.142959D+00 0.522892D-02 0.112070D+00
11 0.267986D+00 -0.132779D-02 0.643797D-01 -0.117500D-01 -0.116666D-01
12 -0.213568D+00 -0.151645D-01 0.683188D+00 0.233905D-01 0.374197D-01
13 -0.165475D-01 -0.400265D-02 0.821428D-01 0.596373D-03 -0.285225D-01
14 -0.118238D+00 -0.944688D-02 0.830508D-01 0.300649D-02 -0.303542D-02
15 -0.996510D+00 0.183223D-01 0.434005D+00 -0.107689D-01 -0.621134D-01
16 -0.202454D-01 -0.263616D-02 0.916931D-02 0.142020D-02 0.373801D-03
17 0.273702D-02 -0.446901D-03 -0.781602D-03 -0.132762D-04 -0.563768D-03
18 0.186298D+00 0.380010D-01 -0.163021D+00 -0.407267D-01 0.163912D-01
19 0.122105D+00 0.458224D-02 0.400079D-01 -0.439947D-03 0.563497D-02
20 0.795550D-01 -0.325798D-01 0.178146D+01 0.202658D-01 -0.118084D-01
21 -0.121554D+00 0.351739D-03 -0.409170D-01 -0.197030D-02 -0.591108D-02
22 0.575054D-03 -0.217992D-03 0.527059D-03 0.509002D-03 0.279396D-03
23 0.465330D-02 -0.223407D-02 -0.167762D-01 0.123027D-01 -0.129714D-02
24 -0.132306D-02 0.516492D-03 0.283600D-02 -0.497288D-03 0.807969D-04
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.593551D-03
7 0.606714D-03 0.355128D-02
8 -0.352140D-03 -0.420837D-04 0.312385D-02
9 -0.811044D-02 -0.225769D-01 0.189001D-01 0.390940D+02
10 -0.544445D-02 -0.404317D-01 -0.113968D-02 0.114398D+01 0.156200D+02
11 0.236166D-01 0.486983D-01 -0.399166D-01 -0.504336D+01 0.432495D+00
12 -0.240208D-01 -0.775302D-01 0.721520D-01 0.487654D+01 0.227162D+01
13 0.523905D-01 0.122752D+00 -0.328023D-01 -0.105176D+01 -0.269386D+01
14 -0.551120D-01 -0.543960D-01 0.402902D+00 0.272857D+01 0.476965D+00
15 -0.125530D-01 0.629244D-02 -0.102172D-01 -0.451795D+01 -0.773375D+01
16 -0.735247D-03 -0.186945D-02 -0.372241D-03 0.657404D+00 -0.699433D-01
17 0.217440D-03 0.215006D-03 -0.261454D-03 -0.763096D-01 -0.197052D-01
18 -0.378127D-01 -0.729173D-01 -0.879044D-03 -0.150404D+01 -0.385358D+00
19 -0.673202D-02 0.161871D-01 -0.694752D-02 -0.291026D+00 0.690290D-01
20 0.678639D-01 0.126768D-01 -0.365219D+00 -0.905239D+01 0.533323D+01
21 0.890853D-02 -0.916757D-02 0.796732D-02 -0.404693D+00 -0.158455D+00
22 -0.250043D-03 -0.651524D-03 0.253469D-03 0.559623D-01 0.242856D-01
23 -0.135834D-02 -0.338991D-02 -0.115267D-02 -0.967037D-01 0.871999D-01
24 0.999810D-04 0.428213D-03 0.253982D-03 0.305557D-01 -0.148495D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.413156D+02
12 -0.213676D+02 0.171076D+03
13 -0.287800D+00 -0.479954D+01 0.155636D+02
14 -0.504088D+01 0.816679D+01 -0.105118D+02 0.116136D+03
15 -0.242857D+01 0.746969D+01 0.948534D+00 -0.220313D+01 0.138648D+03
16 0.978289D-03 -0.825234D-01 -0.183427D+00 0.176900D+00 0.825817D+00
17 0.143330D-01 -0.587891D-01 0.198571D-01 0.374437D-01 -0.750739D+00
18 -0.382201D+01 0.171832D+02 -0.396734D+01 0.190460D+01 -0.434084D+02
19 -0.416674D+00 0.142422D+01 -0.519378D+00 -0.212879D+01 0.187662D+01
20 0.599898D+01 -0.241311D+02 0.883538D+01 -0.763294D+02 0.112108D+02
21 0.917631D+00 -0.167198D+01 0.805890D+00 0.149361D+01 -0.247111D+01
22 -0.455101D-01 -0.326123D-01 -0.494682D-01 0.771130D-01 0.263090D+00
23 -0.216208D+00 0.133755D+01 -0.234610D+00 -0.390151D+00 0.193079D+00
24 0.869323D-02 -0.158451D+00 0.236730D-01 -0.156724D-01 -0.801621D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.221348D+00
17 -0.165856D-01 0.931027D-02
18 -0.465531D+00 0.274308D+00 0.153744D+03
19 0.160019D-02 -0.291680D-01 -0.101691D+00 0.500625D+01
20 -0.155582D+00 -0.280498D-01 -0.873060D+02 -0.294190D+00 0.551796D+03
21 -0.174398D+00 0.422213D-01 0.240554D+01 -0.464764D+01 -0.158805D+01
22 0.792161D-02 -0.378866D-02 -0.718064D+00 0.342713D-02 0.388385D+00
23 0.661327D-02 -0.281557D-02 -0.976533D+00 -0.570372D-01 0.558150D+01
24 -0.161680D-02 0.524722D-03 0.393168D+00 0.148288D-01 -0.240085D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.534544D+01
22 -0.534736D-01 0.836078D-02
23 -0.218934D+00 0.150201D-01 0.876324D+00
24 0.123264D-01 -0.427805D-02 -0.783519D-01 0.256387D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.164 1.000
3 -0.261 0.022 1.000
4 0.009 -0.231 -0.139 1.000
5 -0.010 -0.012 -0.063 0.026 1.000
6 0.056 0.004 0.032 -0.066 -0.005
7 0.027 -0.004 -0.042 -0.011 -0.066
8 0.008 -0.025 -0.017 0.019 0.005
9 -0.086 0.002 -0.024 0.041 0.121
10 -0.115 -0.021 0.055 0.022 0.585
11 0.086 -0.005 0.015 -0.030 -0.037
12 -0.034 -0.027 0.079 0.029 0.059
13 -0.009 -0.024 0.031 0.002 -0.149
14 -0.023 -0.020 0.012 0.005 -0.006
15 -0.175 0.036 0.056 -0.015 -0.109
16 -0.089 -0.131 0.029 0.049 0.016
17 0.059 -0.108 -0.012 -0.002 -0.121
18 0.031 0.072 -0.020 -0.054 0.027
19 0.113 0.048 0.027 -0.003 0.052
20 0.007 -0.032 0.115 0.014 -0.010
21 -0.108 0.004 -0.027 -0.014 -0.053
22 0.013 -0.056 0.009 0.091 0.063
23 0.010 -0.056 -0.027 0.215 -0.029
24 -0.017 0.075 0.027 -0.051 0.010
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.418 1.000
8 -0.259 -0.013 1.000
9 -0.053 -0.061 0.054 1.000
10 -0.057 -0.172 -0.005 0.046 1.000
11 0.151 0.127 -0.111 -0.125 0.017
12 -0.075 -0.099 0.099 0.060 0.044
13 0.545 0.522 -0.149 -0.043 -0.173
14 -0.210 -0.085 0.669 0.040 0.011
15 -0.044 0.009 -0.016 -0.061 -0.166
16 -0.064 -0.067 -0.014 0.223 -0.038
17 0.092 0.037 -0.048 -0.126 -0.052
18 -0.125 -0.099 -0.001 -0.019 -0.008
19 -0.123 0.121 -0.056 -0.021 0.008
20 0.119 0.009 -0.278 -0.062 0.057
21 0.158 -0.067 0.062 -0.028 -0.017
22 -0.112 -0.120 0.050 0.098 0.067
23 -0.060 -0.061 -0.022 -0.017 0.024
24 0.026 0.045 0.028 0.031 -0.023
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 -0.254 1.000
13 -0.011 -0.093 1.000
14 -0.073 0.058 -0.247 1.000
15 -0.032 0.049 0.020 -0.017 1.000
16 0.000 -0.013 -0.099 0.035 0.149
17 0.023 -0.047 0.052 0.036 -0.661
18 -0.048 0.106 -0.081 0.014 -0.297
19 -0.029 0.049 -0.059 -0.088 0.071
20 0.040 -0.079 0.095 -0.302 0.041
21 0.062 -0.055 0.088 0.060 -0.091
22 -0.077 -0.027 -0.137 0.078 0.244
23 -0.036 0.109 -0.064 -0.039 0.018
24 0.008 -0.076 0.037 -0.009 -0.043
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.365 1.000
18 -0.080 0.229 1.000
19 0.002 -0.135 -0.004 1.000
20 -0.014 -0.012 -0.300 -0.006 1.000
21 -0.160 0.189 0.084 -0.898 -0.029
22 0.184 -0.429 -0.633 0.017 0.181
23 0.015 -0.031 -0.084 -0.027 0.254
24 -0.021 0.034 0.198 0.041 -0.638
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.253 1.000
23 -0.101 0.175 1.000
24 0.033 -0.292 -0.523 1.000
|
b439a05150ccc02b8f16571455f0f8550a15a3f8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3035/CH15/EX15.2/Ex15_2.sce
|
38ff030b87d00f623e9ae2ed5693d4b454d3ff4f
|
[] |
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
| 932
|
sce
|
Ex15_2.sce
|
// Variable Declaration
V = 1.0 //Infinite bus voltage(p.u)
E = 1.0 //e.m.f of finite generator behind transient reactance(p.u)
X_T = 0.8 //Transfer reactance(p.u)
P_i = 0.5 //Input power(p.u)
P_i_d = 0.8 //p.u
P_0 = 0.5 //Output power(p.u)
P = 0.5 //Power(p.u)
// Calculation Section
P_m = E*V/X_T //Amplitude of power angle curve(p.u)
delta_0 = asin(P_i/P_m) //Radians
delta = asin(P_i_d/P_m) //Radians
delta_m = %pi-delta //Radians
A_acc = P_i_d*(delta-delta_0)-P_m*(cos(delta_0)-cos(delta)) //Possible area of a// Result Sectioneleration
A_dec = P_m*(cos(delta)-cos(delta_m))-P_i_d*(delta_m-delta) //Possible area of deceleration
// Result Section
if (A_acc < A_dec) then
printf('System is stable')
stability = A_dec/A_acc
printf('Margin of stability = %.2f' ,stability)
else
printf('System is not stable')
end
|
4cff732f8ba0deb747b6dce259272a2314ca107f
|
44dccf35d0d05580e3fc20af3b7697b3c638d82d
|
/testcases/detectMinEigenFeatures/4.sce
|
164fd5487d32de0812fb61d95ce45e726d446e14
|
[] |
no_license
|
surirohit/Scilab-Image-Processing-Toolbox-Unclean
|
213caacd69badd81ec0f99a800f44a2cf8f79b5d
|
3a8057f8a8d05e7efd83704a0e732bdda23fa3a0
|
refs/heads/master
| 2020-04-09T07:31:20.042501
| 2016-06-28T09:33:57
| 2016-06-28T09:33:57
| 60,406,367
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 95
|
sce
|
4.sce
|
i = imread('test1.jpg');
corners = detectMinEigenFeatures(i,'MinQuality',0.08);
disp(corners);
|
c7548a3497e8f5036163386deea1a05d35c136fb
|
39c5c468df5e2bde0147a30cf092fc8da3e7ed3e
|
/UFRGS/calcNumerico/area2/m9/rieman.sce
|
766ea07fb4d7772b340c86e8f03a2dcd95af0e26
|
[] |
no_license
|
andredxc/Files
|
9dffc9fe5f7e923b83035d794dfa15c930cdb898
|
e32309b9ab548b829b04be66c2776cf9c9c6656e
|
refs/heads/master
| 2021-06-03T10:44:01.606242
| 2020-09-21T15:39:48
| 2020-09-21T15:39:48
| 107,410,076
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 414
|
sce
|
rieman.sce
|
/*
Rieman M9
n -> numero de intervalos
h -> comprimento do intervalo
a -> intervalo inferior
b -> intervalo superior
*/
function y = f3(x)
y = x^2 + exp(x)
endfunction
a = 0
b = 2
//n = 100
//h = (b - a)/n
h = 0.0078125
n = (b - a)/h
f = f3
x = linspace(a, b, n+1)
S = 0
for i = 1:n
x1 = x(i)
A1 = 1
dS = (A1*f(x1))*h
S = S + dS
end
disp(S)
|
10910e456186a60fa64a057d5cbc8c5e6c6ad736
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1994/CH10/EX10.5/Example10_5.sce
|
659206859de7a6f5e374067c2429f75d407c823d
|
[] |
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
| 371
|
sce
|
Example10_5.sce
|
//Chapter-10,Example10_5,pg10_20
P=4
f=50
N=1455
E1line=415
Ns=120*f/P
s=(Ns-N)/Ns
fr=s*f
E1ph=E1line/sqrt(3)
E2ph=0.5*E1ph//K=2
E2r=s*E2ph
printf("frequency of rotor e.m.f\n")
printf("fr=%.2f Hz\n",fr)
printf("magnitude of induced e.m.f standstill\n")
printf("E2ph=%.2f V\n",E2ph)
printf("magnitude of induced e.m.f running\n")
printf("E2r=%.3f V",E2r)
|
2bf4863d6d1a4e5f83ed7d66e3884a1c5288c39f
|
986b9b329679cdb931a688f3b846e253cf877a93
|
/Exercise_30.sce
|
a752a7209253c4d2dbe49c69273f834326e25a5c
|
[] |
no_license
|
Gotcha17/CompFin_Sheet10
|
437c12ec6d2a42a423cac4f508525e4fd761ff21
|
2a8f1a3a58708d3233240828b7202c9e8466fc58
|
refs/heads/master
| 2021-01-02T23:01:07.219707
| 2017-08-21T20:14:26
| 2017-08-21T20:14:26
| 99,440,898
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 3,678
|
sce
|
Exercise_30.sce
|
clc; clear; funcprot(0);
function V0 = UpOutPut_BS_MC_Richardson (S0, r, sigma, T, K, B, M, m)
delta_t = T/(2*m); // Fine mash
// generate a Matrix of mxM normaly distributed r.v. with mean = 0 and ...
// sd = sqrt(delta_t)
delta_W1 = grand(m, M, "nor", 0, sqrt(delta_t));
delta_W2 = grand(m, M, "nor", 0, sqrt(delta_t));
// Initialize matrices for no barrier hit information
nobarrier_hit_fine = ones(1,M);
nobarrier_hit_coarse = ones(1,M);
// Set initial stock values for first time t=0
Euler_fine = S0;
Euler_coarse = S0;
// Since in the BS model dSt = r*St*dt + sigma*St*delta_W
for i=1:m
// Calculation matrices of values for fine grid and for coarse grid
// Since grid of fine calculation is twice as fine, twice as many
// calculation steps are needed
Euler_fine = Euler_fine + r*Euler_fine*delta_t +...
sigma.*Euler_fine.*delta_W1(i,:);
nobarrier_hit_fine = nobarrier_hit_fine.*(Euler_fine<B);
Euler_fine = Euler_fine + r*Euler_fine*delta_t +...
sigma.*Euler_fine.*delta_W2(i,:);
nobarrier_hit_fine = nobarrier_hit_fine.*(Euler_fine<B);
// For the coarse grid, stepsize is twice as large: 2*delta_t
// and also both brownian motions are needed for this stepsize
Euler_coarse = Euler_coarse + r*Euler_coarse*2*delta_t +...
sigma.*Euler_coarse.*(delta_W1(i,:)+delta_W2(i,:));
nobarrier_hit_coarse = nobarrier_hit_coarse.*(Euler_coarse<B);
end
// Define put option function g
function y = g(x)
y = max((K - x), 0);
endfunction
//
V_fine = nobarrier_hit_fine.*(g(Euler_fine)*exp(-r*T));
V_coarse = nobarrier_hit_coarse.*(g(Euler_coarse)*exp(-r*T));
// Calculating final result for option price at time t=0 by averaging over...
// all simulated prices with the MC simulation
V0 = mean(2*V_fine-V_coarse);
endfunction
// Function from Exercise 12
function V_0 = UpOutPut_BinMod(S_0, r, sigma, T, K, B, M)
delta_t = T/M; //calculation of delta_t
Beta = (exp(-r*delta_t)+exp((r+sigma^2)*delta_t))/2; //calculation of beta for CRR
u=Beta+sqrt((Beta^2)-1); //so u>d is true
d=u^-1; //because ud=1
q=(exp(r*delta_t)-d)/(u-d); //calculation of succes probability (u)
S=zeros(M+1,M+1); //creation stock price matrix
S(1,1)=S_0; //Setting stock price at t=0 as initial price in the stock matrix
for i=2:M+1 //Initializing algo for computation of stock price
for j=1:i
S(j,i)=S(1,1)*u^(j-1)*d^(i-j); //with j upwards and i-j downwards movements
end
end
V=-ones(M+1,M+1); //creating option value matrix
V(:,M+1)=max((K-S(:,M+1)), 0); //calculation of option values for last column
for i=M:-1:1 //Initializing algo for computation of option price
//option value is zero if at current point stock price is higher than the barrier
V(1:i,i)=exp(-r*delta_t)*(q*V(2:i+1,i+1)+(1-q)*V(1:i,i+1)).*(S(1:i,i) < B);
end
V_0 = V(1,1); //setting of first element of the option value matrix as option price at time t=0
endfunction
// Set values for the input variables
S0 = 100; S_0 = S0; r = 0.05; sigma = 0.2; T = 1; K = 100; B = 110; M = 10000; m = 250;
// Run functions and display result
V0 = UpOutPut_BS_MC_Richardson (S0, r, sigma, T, K, B, M, m)
M = 1000;
V_0 = UpOutPut_BinMod(S_0, r, sigma, T, K, B, M)
disp("Price of UpOutPut BS_MC_Richardson: "+string(V0))
disp("Price of UpOutPut BinMod: "+string(V_0))
|
bb9d58c7e5f7557ebabdcb16cebc16c47d4a4dee
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1958/CH3/EX3.2/Chapter3_example2.sce
|
be52d35396098c50a48e63ea0b69a67886476abd
|
[] |
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
|
Chapter3_example2.sce
|
clc
clear
//Input data
m=0.5//Mass of the sphere in kg
vi=100//Initial velocity in m/s
vf=20//Final velocity in m/s
//Calculations
h=(vi^2-vf^2)/(2*9.8)//Height in m
PE=(m*9.8*h)//Potential energy in J
//Calculations
printf('Potential energy of the sphere is %i J',PE)
|
8fecb4b311fe48cd0d9e15e8b9ad106678069699
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/275/CH1/EX1.1.20/Ch1_1_20.sce
|
a0debd1343f2e538c68a4a1f58b6b45ae737acd9
|
[] |
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
| 555
|
sce
|
Ch1_1_20.sce
|
clc
disp("Example 1.20")
printf("\n")
disp("calculate dynamic and substrate resistance")
printf("Given\n")
disp("forward current=20mA,cut in voltage=0.33v")
If=20*10^-3
Vf=0.33
Rf=Vf/If
If1=If-(10^-2) //min forward current
If2=If+(10^-2) //max forward current
Vf1=0.31
Vf2=0.35
rd=(Vf2-Vf1)/(If2-If1)
rd1=0.026/If
rsub=rd-rd1
printf("static forward resistance=\n%f ohm\n",Rf)
printf("Dynamic resistance=\n%f ohm\n",rd)
printf("Dynamic resistance using forward current=\n%f ohm\n",rd1)
printf("substrate resistance=\n%f ohm\n",rsub)
|
f2d25e56dc4f5d93cd404df629c7258920373d7b
|
4ed576b765859807d6c29665521e0697d6f9bae7
|
/archive/02/ex2.1.sce
|
4ae51868053c1e3a95e2b48b9d43fdef5989bfc1
|
[] |
no_license
|
sbednarz/scilab
|
96b9182730fa48d11f27840fc197d151adb01e2c
|
28f81c58bc4972eeb41f403cb157fb989e809f41
|
refs/heads/master
| 2021-07-11T04:42:04.289126
| 2021-05-17T20:55:19
| 2021-05-17T20:55:19
| 100,467,366
| 3
| 1
| null | 2020-06-19T06:49:18
| 2017-08-16T08:37:06
|
Scilab
|
UTF-8
|
Scilab
| false
| false
| 815
|
sce
|
ex2.1.sce
|
// ex2.1
function eq = model(x)
x1H2O = x(1)
F2 = x(2)
F3 = x(3)
x3H2O = x(4)
eq(1) = F1 + F2 - F3 // material balance of the system
eq(2) = x1MeOH * F1 + x2MeOH * F2 - x3MeOH * F3 // MeOH balance
eq(3) = x1MeOH + x1H2O - 1 // mass fraction constraint
eq(4) = x3MeOH + x3H2O - 1 // mass fraction constraint
endfunction
F1 = 1234 // kg/h
x1MeOH = 0.2
x2MeOH = 0
x2H2O = 1.0
x3MeOH = 0.05
guess = [0.1; 100; 100; 0.1]
x = fsolve(guess, model)
x1H2O = x(1)
F2 = x(2)
F3 = x(3)
x3H2O = x(4)
printf("x1H2O=%.2f\n", x1H2O)
printf("F2=%.2f\n", F2)
printf("F2=%.2f\n", F3)
printf("x3H2O=%.2f\n", x3H2O)
// Results:
//
// x1H2O=0.80
// F2=3702.00
// F2=4936.00
// x3H2O=0.95
|
0fe130184f8ec7c624f1e923823b473c76489fdc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/564/DEPENDENCIES/3_1data.sci
|
4ac8460f88eb058ce780448522bd7d735e01911a
|
[] |
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
| 96
|
sci
|
3_1data.sci
|
R=16;//radius of bar,in mm
T=100000;//applied torque,in N.mm
G=76923;//shear modulus,in N/mm^2
|
12a578c0a81c0513336aa6bb1c389f57ffcd7cf4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/343/CH2/EX2.78/ex2_78.sce
|
6e694d8be08a62037fcb96f6daf49665c61107e6
|
[] |
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
|
ex2_78.sce
|
clc
C=200*10^-6; //Assigning values to parameters
V=230;
R=20;
L=0.2;
temp=(1/(L*C))-(R^2/L^2);
fr=(1/20*%pi)*sqrt(temp);
Zr=L/(C*R);
Ir=V/Zr;
Zl=sqrt(R^2+(2*%pi*fr*L)^2);
Il=V/Zl;
Xc=1/(2*%pi*fr*C);
Ic=V/Xc;
phi=atan(2*%pi*fr*L/R);
disp("Hertz",fr,"Resonant frequency");
|
ebd15c4c10b6638fb90e5438b9897c04f761e870
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2873/CH1/EX1.28/Ex1_28.sce
|
6a7a267e7932a2b19f98d1f615de3a817c32ad07
|
[] |
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,338
|
sce
|
Ex1_28.sce
|
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 29")
V=2;//volume of vessel in m^3
P1=76;//initial pressure or atmospheric pressure in cm of Hg
T=(27+273.15);//temperature of vessel in k
p=70;//final pressure in cm of Hg vaccum
R=8.314;//universal gas constant in KJ/kg k
M=2;//molecular weight of H2
disp("gas constant for H2(R1)in KJ/kg k")
disp("R1=R/M")
R1=R/M
disp("say initial and final ststes are given by 1 and 2")
disp("mass of hydrogen pumped out shall be difference of initial and final mass inside vessel")
disp("final pressure of hydrogen(P2)in cm of Hg")
disp("P2=P1-p")
P2=P1-p
disp("therefore pressure difference(P)in kpa")
disp("P=((P1-P2)*101.325)/76")
P=((P1-P2)*101.325)/76
disp("mass pumped out(m)in kg")
disp("m=((P1*V1)/(R1*T1))-((P2*V2)/(R1*T2))")
disp("here V1=V2=V and T1=T2=T")
disp("so m=(V*(P1-P2))/(R1*T)")
m=(V*P)/(R1*T)
disp("now during cooling upto 10 degree celcius,the process may be consider as constant volume process")
disp("say state before and after cooling are denoted by suffix 2 and 3")
T3=(10+273.15);//final temperature after cooling in k
disp("final pressure after cooling(P3)in kpa")
disp("P3=(T3/T)*P2*(101.325/76)")
P3=(T3/T)*P2*(101.325/76)
|
021e73168102e36435163d124b2a706015f30675
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1226/CH21/EX21.23/EX21_23.sce
|
fe1152b4959433ec6c3a8a4877a0cbbb55f3aad6
|
[] |
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
| 2,162
|
sce
|
EX21_23.sce
|
clc;funcprot(0);//EXAMPLE 21.23
// Initialisation of Variables
al=9000;..........//Altitude in m
Ca=215;...........//Speed of aircraft in m/s
TP=750;.............//Thrust power developed in kW
p1=0.32;...........//Inlet pressure of air in bar
t1=231;.............//Inlet temperature of air in K
t3=963;.............//Temperature of gases leaving the combustion chamber in K
rpc=5.2;............//Pressure ratio
C=42500;..........//Calorific value of fuel in kJ/kg
C41=195;.........//Velocity in ducts
etac=0.86;..........//Compressor efficiency
ga=1.4;............//Ratio of specific heats for air
gag=1.33;............//Ratio of specific heats for gases
etat=0.86;..........//Turbine efficiency
etajt=0.9;..........//Jet tube efficiency
cp=1.005;............//Specific heat at constant pressure in kJ/kgK for air
cpg=1.087;............//Specific heat at constant pressure in kJ/kgK for gases
R=0.29;..................//Gas constant for exhaust gases in kJ/kgK
//Calculations
t2=t1*(rpc^((ga-1)/ga));
t21=t1+((t2-t1)/etac);
mf=(cpg*(t3-t21))/(C-(cpg*(t3-t21)));
afr=1/mf;..........//Air fuel ratio
t41=round(t3-((cp*(t21-t1))/(cpg*(1+mf))));
t4=t3-((t3-t41)/etat);p4=rpc;
rpt=(t3/t4)^(gag/(gag-1));.............//Expansion pressure ratio in turbine
rpj=p4/rpt;....................//Expansion pressure ratio in jet tube
t5=t41/(rpj^((gag-1)/gag));
Cj=sqrt(etajt*2*((cpg*1000*(t41-t5))+((C41*C41)/2)));
etao=((((1+mf)*Cj)-Ca)*Ca)/(1000*mf*C);......//Overall efficiency
disp(etao*100,"Overall efficiency in %:")
ma=(TP*1000)/((((1+mf)*Cj)-Ca)*Ca);........//Rate of air consumption in kg/s
disp(ma,"Rate of air consumption in kg/s:")
P=ma*(1+mf)*cpg*(t3-t41);..............//Power developed by the turbine in kW
disp(P,"Power developed by turbine in kW:")
t51=t41-(((Cj^2)-(C41^2))/(2*1000*cpg));
rhoe=(p1*10^5)/(R*1000*t51);..........//Density of exhaust gases
Ajt=(ma*(1+mf))/(Cj*rhoe);.......//Discharge of jet area in m^2
disp(Ajt,"The outlet area of jet tube in m^2:")
sfc=(mf*ma*3600)/(1000*(TP/Ca));..........//Specific fuel consumption in kg/thrust-hour
disp(sfc,"Specific fuel consumption in kg per kg of thrust:")
|
9c70e7baaf38eb05dccbc96d7d9378a157585e17
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.3.1/macros/scicos/do_view.sci
|
34bb55e02bb8cc2c8bb4e503a736fd72929f054f
|
[
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] |
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
| 459
|
sci
|
do_view.sci
|
function wdm=do_view(scs_m)
wpar=scs_m(1);wdm=wpar(1)
if size(wdm,'*')<4 then wdm(3)=0;wdm(4)=0;end
Xshift=wdm(3)
Yshift=wdm(4)
oxc=Xshift+(wdm(1)-80)/2
oyc=Yshift+(wdm(2))/2
plot2d(oxc,oyc,-1,'000')
[btn,xc,yc]=xclick(0) //get center of new view
Xshift=Xshift+(xc-oxc)
Yshift=Yshift+(yc-oyc)
wdm(3)=Xshift;wdm(4)=Yshift;
xset('alufunction',3);xbasc();xselect();
xsetech([-1 -1 8 8]/6,[Xshift,Yshift ,Xshift+wdm(1),Yshift+wdm(2)])
xset('alufunction',6)
|
b36ecdaa640f6efc9aded8b68078e8b2c1b4e83a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/851/CH8/EX8.5/Example8_5.sce
|
ced64e911a144750c5fe4d6ef8f7199eb2d84fdc
|
[] |
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
| 636
|
sce
|
Example8_5.sce
|
//clear//
//Caption:Syndrome calculator for the(7,4) Cyclic Hamming Code
//Example8.5: Syndrome calculator
//message sequence = [0,1,1,1,0,0,1]
clc;
D = poly(0,'D');
g = 1+D+0+D^3; //generator polynomial
C1 = 0+D+D^2+D^3+0+0+D^6;//error free codeword
C2 = 0+D+D^2+0+0+0+D^6;//middle bit is error
[r1,q1] = pdiv(C1,g);
S1 = coeff(r1);
S1 = modulo(S1,2);
disp(r1,'remainder in polynomial form')
disp(S1,'Syndrome bits for error free codeword are:')
[r2,q2] = pdiv(C2,g);
S2 = coeff(r2);
S2 = modulo(S2,2);
disp(r2,'remainder in polynomial form for errored codeword')
disp(S2,'Syndrome bits for errored codeword are:')
|
0ed2a3befa94a2c88455093e570bceedb43915ac
|
6813325b126713766d9778d7665c10b5ba67227b
|
/Chapter6/Ch_6_Eg_6.33.sci
|
2c155f95e49671c0c31ec8e674835cdfae544cba
|
[] |
no_license
|
arvindrachna/Introduction_to_Scilab
|
955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f
|
9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140
|
refs/heads/master
| 2020-03-15T19:26:52.964755
| 2018-05-31T04:49:57
| 2018-05-31T04:49:57
| 132,308,878
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 130
|
sci
|
Ch_6_Eg_6.33.sci
|
//A program to illustrate the multiple evaluation of a function with single argument.
deff('[z]=f(x)','z=x^2')
feval (1:10, f)
|
285d2dfc4f7673b94eba1be173fe5f12156ec0f3
|
a985f04df7e36acafddf7c2db82fd91f7a6c0ac7
|
/SUI/du/positives.tst
|
15c94a8f13c4e21c649de8c805738caf3840da04
|
[] |
no_license
|
kateriska/6.-semestr-FIT
|
f5b9c564ea8579fff4003ebe7152be11de0e41dd
|
695079d3ebe751c7fb472d23f1cce126cdb998f5
|
refs/heads/master
| 2023-08-13T05:17:28.114132
| 2021-10-04T15:13:29
| 2021-10-04T15:13:29
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 22,925
|
tst
|
positives.tst
|
153 22 10.928571428571429 5.5 3 0.375 0
184 23 7.666666666666667 7.666666666666667 6 0.6 0
103 20 5.421052631578948 5.0 5 0.45454545454545453 5
128 24 5.12 4.8 2 0.5 2
101 27 33.666666666666664 27.0 4 0.6666666666666666 3
124 20 4.769230769230769 4.0 5 0.45454545454545453 2
147 24 3.675 6.0 3 0.5 3
150 23 13.636363636363637 3.8333333333333335 10 0.7142857142857143 2
118 21 6.2105263157894735 5.25 7 0.6363636363636364 5
122 21 6.421052631578948 7.0 5 0.5 2
45 14 2.25 2.8 2 0.13333333333333333 1
20 1 0.9523809523809523 0.16666666666666666 6 0.24 0
50 8 1.4285714285714286 1.6 7 0.3181818181818182 1
156 24 8.666666666666666 4.8 5 0.5555555555555556 2
83 26 10.375 26.0 6 0.6666666666666666 6
69 21 4.928571428571429 7.0 6 0.46153846153846156 4
39 15 2.6 2.5 7 0.3684210526315789 2
153 25 10.928571428571429 8.333333333333334 2 0.5 2
176 22 5.333333333333333 3.142857142857143 3 0.5 0
147 25 5.653846153846154 12.5 4 0.5714285714285714 4
50 13 1.5625 2.6 6 0.35294117647058826 4
41 12 1.64 2.0 7 0.3333333333333333 1
22 8 1.4666666666666666 2.0 12 0.48 5
73 19 4.5625 3.8 2 0.25 1
151 27 10.066666666666666 13.5 1 0.5 1
136 24 12.363636363636363 12.0 4 0.5 4
80 16 3.4782608695652173 2.2857142857142856 7 0.5833333333333334 1
94 25 4.2727272727272725 25.0 9 0.6923076923076923 9
156 21 4.7272727272727275 2.625 3 0.5 0
134 21 2.392857142857143 3.0 6 0.6 6
130 18 1.5476190476190477 1.6363636363636365 2 0.5 2
135 21 6.428571428571429 3.5 6 0.6 1
73 24 8.11111111111111 8.0 2 0.4 0
117 24 3.9 12.0 6 0.6666666666666666 6
60 17 1.2244897959183674 2.4285714285714284 12 0.5714285714285714 8
135 23 6.136363636363637 5.75 2 0.3333333333333333 2
63 8 0.9692307692307692 1.3333333333333333 4 0.23529411764705882 0
53 9 2.5238095238095237 0.8181818181818182 8 0.47058823529411764 1
160 20 2.5 2.2222222222222223 3 0.6 0
164 24 5.466666666666667 4.8 3 0.6 0
100 25 8.333333333333334 12.5 6 0.6 4
51 24 5.1 8.0 6 0.6 6
163 27 20.375 27.0 3 0.6 3
71 12 0.9861111111111112 1.0909090909090908 3 0.375 1
37 3 1.0277777777777777 0.3 7 0.3181818181818182 0
168 19 3.574468085106383 3.1666666666666665 4 0.5714285714285714 0
106 10 3.1176470588235294 2.5 7 0.5 5
112 23 5.894736842105263 3.8333333333333335 2 0.5 2
164 23 6.3076923076923075 3.8333333333333335 2 0.4 2
94 19 6.266666666666667 2.375 6 0.5454545454545454 1
20 1 0.6060606060606061 0.1 4 0.2 0
126 16 6.631578947368421 4.0 8 0.47058823529411764 0
70 23 11.666666666666666 7.666666666666667 2 0.25 1
15 3 0.8823529411764706 0.75 9 0.34615384615384615 3
60 11 1.935483870967742 1.8333333333333333 11 0.4782608695652174 4
155 21 4.305555555555555 2.625 5 0.5 0
186 27 11.625 27.0 1 0.3333333333333333 1
21 7 0.75 1.4 5 0.22727272727272727 2
146 23 3.945945945945946 7.666666666666667 3 0.6 3
37 10 1.7619047619047619 2.0 8 0.4 5
109 19 4.037037037037037 9.5 6 0.46153846153846156 1
112 26 8.615384615384615 13.0 2 0.5 2
139 22 9.928571428571429 7.333333333333333 6 0.6 2
127 25 4.379310344827586 8.333333333333334 2 0.4 2
148 19 3.441860465116279 2.111111111111111 2 0.4 0
65 26 9.285714285714286 13.0 4 0.5714285714285714 4
164 24 6.56 4.8 2 0.3333333333333333 2
153 23 4.135135135135135 3.8333333333333335 3 0.5 3
76 20 5.066666666666666 4.0 5 0.5 4
140 19 7.368421052631579 3.8 5 0.45454545454545453 0
121 25 13.444444444444445 12.5 3 0.6 3
141 27 23.5 27.0 3 0.6 3
148 24 18.5 8.0 4 0.5714285714285714 1
192 24 7.111111111111111 4.8 1 0.25 0
108 26 6.352941176470588 13.0 2 0.4 2
138 25 4.3125 6.25 4 0.5 4
117 18 3.65625 2.25 6 0.6 0
24 5 1.6 1.25 8 0.36363636363636365 0
64 9 1.641025641025641 1.8 11 0.4782608695652174 5
29 5 0.7435897435897436 0.2777777777777778 5 0.23809523809523808 1
196 27 12.25 27.0 1 0.3333333333333333 1
136 26 12.363636363636363 13.0 2 0.5 2
103 27 8.583333333333334 27.0 5 0.7142857142857143 5
148 19 2.8461538461538463 2.375 3 0.5 0
112 25 5.090909090909091 12.5 5 0.5555555555555556 5
189 25 6.096774193548387 6.25 1 0.5 1
75 27 5.357142857142857 13.5 1 0.3333333333333333 1
17 2 0.8947368421052632 0.4 5 0.19230769230769232 0
143 22 8.9375 5.5 6 0.5454545454545454 3
166 20 5.1875 4.0 3 0.5 1
18 1 0.8571428571428571 0.3333333333333333 6 0.20689655172413793 0
148 24 3.8947368421052633 6.0 2 0.3333333333333333 2
148 20 4.625 3.3333333333333335 5 0.5555555555555556 0
133 22 5.782608695652174 22.0 5 0.5555555555555556 5
139 26 6.043478260869565 8.666666666666666 1 0.5 1
64 22 5.333333333333333 5.5 9 0.6428571428571429 2
39 8 1.5 1.0 6 0.4 1
50 16 1.5625 4.0 11 0.55 9
57 11 2.1923076923076925 1.5714285714285714 5 0.35714285714285715 1
88 15 1.4193548387096775 3.0 7 0.4117647058823529 6
200 25 16.666666666666668 12.5 3 0.6 0
158 25 7.181818181818182 6.25 3 0.5 0
85 22 5.3125 7.333333333333333 8 0.5714285714285714 7
69 15 2.875 1.875 6 0.5 1
92 25 3.68 12.5 2 0.5 1
67 12 1.675 1.7142857142857142 9 0.47368421052631576 0
57 21 2.111111111111111 3.5 3 0.375 1
49 15 3.5 3.75 7 0.3888888888888889 3
152 19 2.1714285714285713 1.9 2 0.5 0
115 19 3.484848484848485 2.375 9 0.6428571428571429 1
150 24 3.75 8.0 2 0.4 2
135 19 2.7551020408163267 2.375 6 0.5454545454545454 0
89 25 12.714285714285714 8.333333333333334 6 0.6 0
106 23 3.0285714285714285 3.8333333333333335 4 0.6666666666666666 4
129 27 10.75 27.0 2 0.5 2
42 6 1.0769230769230769 1.0 7 0.30434782608695654 2
115 27 14.375 13.5 3 0.6 1
50 10 3.3333333333333335 2.0 9 0.5294117647058824 5
131 26 5.695652173913044 13.0 3 0.5 3
112 25 4.3076923076923075 6.25 4 0.6666666666666666 4
128 21 4.0 2.625 3 0.6 1
117 20 2.925 2.857142857142857 6 0.6 0
162 20 6.0 4.0 8 0.7272727272727273 0
76 25 4.75 12.5 7 0.6363636363636364 7
179 25 9.944444444444445 6.25 3 0.75 3
31 3 1.55 0.25 8 0.36363636363636365 1
56 23 7.0 7.666666666666667 6 0.5454545454545454 6
105 28 26.25 28.0 2 0.6666666666666666 2
29 6 1.0357142857142858 1.2 6 0.2727272727272727 3
100 24 4.3478260869565215 6.0 5 0.5555555555555556 5
52 26 5.777777777777778 8.666666666666666 2 0.5 2
21 6 1.5 0.75 6 0.25 1
118 23 4.72 3.8333333333333335 3 0.5 3
62 21 2.5833333333333335 7.0 6 0.46153846153846156 4
74 12 1.6444444444444444 2.0 4 0.2857142857142857 0
160 18 6.4 4.5 5 0.45454545454545453 0
84 11 2.048780487804878 1.8333333333333333 7 0.3888888888888889 0
115 27 11.5 13.5 2 0.5 2
175 24 7.608695652173913 8.0 2 0.5 1
35 11 0.625 0.6470588235294118 5 0.4166666666666667 0
116 27 12.88888888888889 13.5 5 0.7142857142857143 5
155 23 6.739130434782608 11.5 6 0.6 4
119 14 3.4 1.5555555555555556 9 0.5625 1
39 10 2.0526315789473686 2.5 9 0.45 6
29 9 2.0714285714285716 3.0 7 0.3181818181818182 3
176 25 8.380952380952381 6.25 1 0.3333333333333333 1
30 12 1.6666666666666667 1.7142857142857142 6 0.3333333333333333 0
56 15 2.4347826086956523 3.0 10 0.5263157894736842 6
77 25 5.923076923076923 8.333333333333334 3 0.5 3
87 22 2.4857142857142858 7.333333333333333 5 0.4166666666666667 5
116 24 2.9 12.0 12 0.7058823529411765 12
44 7 0.7457627118644068 0.5384615384615384 4 0.2857142857142857 2
155 21 6.739130434782608 5.25 6 0.5 0
90 27 6.428571428571429 27.0 2 0.5 2
133 27 10.23076923076923 13.5 1 0.5 1
139 20 10.692307692307692 10.0 4 0.36363636363636365 0
134 22 2.9130434782608696 3.142857142857143 3 0.5 3
37 21 3.0833333333333335 5.25 12 0.631578947368421 12
85 24 3.5416666666666665 6.0 5 0.5 5
22 18 1.5714285714285714 6.0 14 0.5833333333333334 9
184 18 5.75 6.0 6 0.6 0
86 21 5.0588235294117645 5.25 5 0.5 3
90 16 1.6981132075471699 1.7777777777777777 3 0.42857142857142855 2
129 18 6.142857142857143 2.25 7 0.5 1
89 23 4.684210526315789 4.6 4 0.5 3
77 9 2.2 0.9 4 0.25 0
67 16 3.526315789473684 2.0 9 0.5625 3
71 11 1.0597014925373134 0.7333333333333333 6 0.46153846153846156 0
53 10 2.5238095238095237 1.6666666666666667 9 0.42857142857142855 5
102 22 6.0 3.142857142857143 7 0.5833333333333334 0
74 14 2.242424242424242 1.4 5 0.35714285714285715 0
152 19 2.5762711864406778 1.9 3 0.5 0
99 21 3.0 4.2 4 0.4444444444444444 3
142 24 6.173913043478261 6.0 2 0.5 1
121 14 2.2830188679245285 1.5555555555555556 3 0.375 2
30 6 0.8333333333333334 0.6666666666666666 4 0.3076923076923077 2
152 19 5.066666666666666 4.75 7 0.4117647058823529 0
7 2 0.3333333333333333 0.4 3 0.13043478260869565 0
59 11 0.9076923076923077 0.9166666666666666 2 0.16666666666666666 0
92 16 4.6 2.2857142857142856 9 0.5625 1
172 27 13.23076923076923 13.5 1 0.5 0
122 24 9.384615384615385 8.0 2 0.5 1
31 12 2.066666666666667 2.0 10 0.4166666666666667 4
109 23 10.9 4.6 6 0.6 6
62 13 3.1 2.1666666666666665 8 0.47058823529411764 3
146 22 4.294117647058823 3.142857142857143 4 0.6666666666666666 4
163 25 5.09375 8.333333333333334 2 0.5 2
23 2 0.92 0.3333333333333333 6 0.24 0
68 25 7.555555555555555 12.5 9 0.6923076923076923 9
55 13 1.0377358490566038 1.3 8 0.47058823529411764 1
174 24 6.444444444444445 4.8 4 0.5714285714285714 0
101 22 6.733333333333333 7.333333333333333 5 0.45454545454545453 5
28 12 0.9655172413793104 1.5 8 0.42105263157894735 6
149 25 7.842105263157895 12.5 4 0.5714285714285714 4
172 25 7.478260869565218 6.25 1 0.25 1
18 2 0.8571428571428571 0.4 6 0.2222222222222222 0
25 5 1.25 0.8333333333333334 5 0.25 2
151 19 4.081081081081081 2.375 4 0.5 0
24 9 1.6 2.25 6 0.3 1
139 25 5.56 6.25 4 0.6666666666666666 4
76 24 6.909090909090909 12.0 7 0.6363636363636364 5
102 17 2.3181818181818183 4.25 8 0.5333333333333333 2
13 4 0.7647058823529411 0.4 6 0.2857142857142857 1
50 9 1.5151515151515151 1.8 4 0.2 1
89 26 4.45 13.0 3 0.5 3
131 24 5.458333333333333 12.0 4 0.6666666666666666 4
48 18 3.6923076923076925 9.0 10 0.5 1
76 25 5.846153846153846 12.5 6 0.6 6
83 24 4.15 6.0 2 0.5 2
119 23 6.611111111111111 7.666666666666667 5 0.625 0
107 18 5.35 4.5 2 0.2 2
101 21 8.416666666666666 4.2 5 0.45454545454545453 1
123 25 8.785714285714286 6.25 6 0.6666666666666666 6
162 26 7.043478260869565 8.666666666666666 3 0.6 3
114 15 4.384615384615385 3.0 5 0.45454545454545453 4
136 18 3.090909090909091 1.6363636363636365 2 0.4 1
69 23 6.9 5.75 4 0.5 3
45 25 6.428571428571429 12.5 5 0.5555555555555556 4
48 11 0.9056603773584906 0.9166666666666666 4 0.4 0
53 17 4.416666666666667 2.8333333333333335 4 0.2857142857142857 0
152 25 10.857142857142858 25.0 4 0.5 4
36 9 0.9 1.125 6 0.375 2
168 21 3.5 3.5 6 0.6 0
132 22 3.3846153846153846 3.6666666666666665 4 0.5714285714285714 4
167 28 27.833333333333332 28.0 4 0.8 4
70 23 4.375 7.666666666666667 8 0.6666666666666666 7
113 24 5.380952380952381 8.0 4 0.5 4
35 11 1.5909090909090908 1.0 6 0.2857142857142857 2
86 22 2.8666666666666667 5.5 5 0.5555555555555556 3
177 26 7.375 8.666666666666666 1 0.5 1
155 25 5.344827586206897 6.25 3 0.6 3
192 24 6.857142857142857 4.8 1 0.5 0
147 18 5.25 2.25 4 0.5714285714285714 1
171 24 5.7 6.0 1 0.3333333333333333 1
101 23 6.733333333333333 7.666666666666667 3 0.6 3
111 23 7.4 3.8333333333333335 3 0.5 3
81 11 2.025 1.1 5 0.5 1
122 19 3.8125 2.111111111111111 6 0.5454545454545454 1
51 14 2.8333333333333335 2.0 6 0.46153846153846156 0
58 23 4.142857142857143 7.666666666666667 3 0.42857142857142855 3
137 24 10.538461538461538 8.0 3 0.6 1
159 24 4.184210526315789 4.8 1 0.5 1
129 24 9.923076923076923 8.0 4 0.5714285714285714 2
34 10 2.2666666666666666 1.0 8 0.38095238095238093 0
192 24 7.68 4.8 2 0.5 0
168 20 5.793103448275862 4.0 4 0.4444444444444444 0
144 27 28.8 13.5 1 0.5 1
96 22 5.333333333333333 5.5 3 0.375 3
62 13 1.7222222222222223 1.1818181818181819 3 0.23076923076923078 0
15 5 0.3125 0.2777777777777778 4 0.2222222222222222 1
208 26 18.90909090909091 26.0 4 0.5714285714285714 0
135 24 3.4615384615384617 6.0 2 0.5 2
14 4 0.6666666666666666 0.6666666666666666 5 0.19230769230769232 2
182 23 4.439024390243903 3.8333333333333335 1 0.3333333333333333 0
71 22 3.9444444444444446 5.5 7 0.5384615384615384 7
79 16 3.761904761904762 2.0 9 0.5294117647058824 0
142 24 7.473684210526316 4.8 2 0.5 0
29 8 0.8787878787878788 1.0 5 0.2631578947368421 1
97 19 2.0208333333333335 3.1666666666666665 6 0.6 6
192 24 9.142857142857142 12.0 4 0.5 0
201 26 10.578947368421053 8.666666666666666 2 0.6666666666666666 0
134 26 13.4 8.666666666666666 2 0.4 2
106 22 4.608695652173913 4.4 3 0.6 1
172 25 5.375 6.25 2 0.5 2
90 22 4.5 4.4 6 0.5454545454545454 4
143 22 3.6666666666666665 3.6666666666666665 3 0.5 3
112 17 3.8620689655172415 2.8333333333333335 6 0.4 0
129 27 21.5 27.0 3 0.6 3
51 10 0.9807692307692307 0.6666666666666666 4 0.4 1
168 21 3.652173913043478 3.0 4 0.5 0
127 24 6.684210526315789 12.0 3 0.5 3
140 27 14.0 13.5 2 0.6666666666666666 1
136 11 4.121212121212121 1.8333333333333333 10 0.5555555555555556 0
192 24 6.4 4.8 1 0.5 0
184 27 11.5 13.5 1 0.3333333333333333 1
22 9 0.6875 0.9 6 0.375 2
125 25 15.625 6.25 2 0.5 1
107 22 7.133333333333334 7.333333333333333 7 0.5833333333333334 4
18 7 0.9 1.0 7 0.2916666666666667 4
168 20 6.461538461538462 6.666666666666667 11 0.6470588235294118 0
98 21 3.769230769230769 2.625 3 0.6 3
25 9 1.3888888888888888 1.2857142857142858 6 0.2727272727272727 0
133 24 3.8 4.8 2 0.6666666666666666 0
180 28 22.5 28.0 3 0.75 3
138 24 12.545454545454545 8.0 2 0.5 2
126 15 2.52 1.25 6 0.42857142857142855 1
135 20 22.5 6.666666666666667 5 0.5555555555555556 1
21 5 1.0 1.6666666666666667 7 0.25 0
152 23 9.5 3.8333333333333335 5 0.625 3
97 27 16.166666666666668 27.0 6 0.75 6
178 24 4.45 4.8 1 0.5 1
143 22 3.0425531914893615 3.142857142857143 2 0.5 0
55 21 5.0 10.5 8 0.5333333333333333 4
176 24 6.769230769230769 4.8 1 0.3333333333333333 0
87 16 1.4745762711864407 2.2857142857142856 6 0.4 3
148 19 4.933333333333334 4.75 7 0.5384615384615384 1
143 23 3.864864864864865 3.8333333333333335 4 0.5714285714285714 1
40 10 4.444444444444445 2.0 10 0.5 1
123 18 3.6176470588235294 3.0 5 0.5 0
128 22 5.565217391304348 5.5 3 0.5 2
192 24 7.111111111111111 4.8 2 0.5 0
109 24 7.785714285714286 8.0 8 0.6666666666666666 2
24 11 1.5 2.75 8 0.36363636363636365 3
68 15 2.0606060606060606 2.142857142857143 7 0.5384615384615384 2
184 23 4.717948717948718 3.8333333333333335 3 0.5 0
184 23 4.717948717948718 3.8333333333333335 2 0.6666666666666666 0
22 9 1.0 3.0 8 0.32 3
93 24 10.333333333333334 8.0 4 0.5 1
66 19 2.357142857142857 3.1666666666666665 7 0.5833333333333334 4
151 25 6.863636363636363 12.5 3 0.6 0
75 13 2.34375 2.1666666666666665 3 0.23076923076923078 0
117 11 4.5 1.1 7 0.4666666666666667 0
111 21 2.3617021276595747 5.25 7 0.5833333333333334 7
80 25 8.88888888888889 12.5 6 0.6666666666666666 4
80 23 4.2105263157894735 7.666666666666667 6 0.5454545454545454 6
137 26 9.785714285714286 8.666666666666666 3 0.6 1
30 9 1.25 2.25 8 0.34782608695652173 1
40 5 2.1052631578947367 0.8333333333333334 9 0.42857142857142855 2
175 23 9.210526315789474 3.8333333333333335 3 0.6 0
89 13 4.45 1.3 5 0.4166666666666667 4
131 26 21.833333333333332 13.0 4 0.6666666666666666 4
160 27 10.0 27.0 4 0.6666666666666666 4
158 27 10.533333333333333 13.5 3 0.6 3
160 18 8.0 4.5 6 0.5 1
57 10 3.0 1.4285714285714286 8 0.5333333333333333 0
104 21 4.521739130434782 4.2 7 0.5833333333333334 0
104 20 2.08 2.2222222222222223 4 0.4444444444444444 4
106 11 3.0285714285714285 2.75 6 0.375 1
16 6 0.8421052631578947 1.0 7 0.28 5
98 13 4.454545454545454 2.6 10 0.5882352941176471 3
32 11 2.4615384615384617 2.2 6 0.3333333333333333 0
106 24 8.833333333333334 4.8 4 0.5714285714285714 0
47 20 1.0930232558139534 2.2222222222222223 5 0.5555555555555556 4
176 22 3.74468085106383 3.142857142857143 2 0.5 0
38 7 2.533333333333333 1.4 9 0.4090909090909091 2
69 24 6.2727272727272725 8.0 2 0.5 1
153 26 6.6521739130434785 13.0 6 0.6666666666666666 6
147 25 5.444444444444445 6.25 1 0.5 1
192 24 5.333333333333333 4.8 1 0.5 0
153 22 2.9423076923076925 3.142857142857143 3 0.5 3
144 24 4.645161290322581 8.0 4 0.6666666666666666 4
195 27 16.25 13.5 1 0.5 1
184 23 4.972972972972973 3.8333333333333335 1 0.5 0
186 24 5.8125 4.8 3 0.6 0
163 23 3.7045454545454546 5.75 3 0.5 3
117 20 5.086956521739131 5.0 8 0.5714285714285714 5
162 25 5.0625 6.25 2 0.5 2
38 16 1.9 5.333333333333333 12 0.5217391304347826 10
110 22 6.875 7.333333333333333 7 0.5833333333333334 7
122 27 9.384615384615385 13.5 1 0.3333333333333333 1
120 23 5.217391304347826 3.8333333333333335 2 0.4 2
98 18 4.083333333333333 1.8 6 0.46153846153846156 2
159 26 7.571428571428571 13.0 4 0.6666666666666666 4
110 19 7.857142857142857 4.75 5 0.4166666666666667 2
32 15 1.6842105263157894 2.5 8 0.4444444444444444 3
132 27 12.0 27.0 6 0.75 6
70 26 7.0 26.0 4 0.5714285714285714 4
117 23 9.0 7.666666666666667 2 0.2857142857142857 2
102 19 3.0 2.375 5 0.5 4
64 19 2.0 6.333333333333333 9 0.5625 9
112 18 3.6129032258064515 3.6 4 0.4 4
56 7 0.875 0.875 5 0.2631578947368421 0
88 26 4.631578947368421 13.0 3 0.6 3
121 26 12.1 8.666666666666666 1 0.25 1
60 17 1.1764705882352942 1.7 4 0.5714285714285714 3
146 20 3.1739130434782608 2.2222222222222223 7 0.5833333333333334 0
156 20 9.75 10.0 10 0.5555555555555556 0
134 24 4.0606060606060606 4.8 4 0.5714285714285714 4
145 25 6.904761904761905 8.333333333333334 4 0.6666666666666666 4
172 22 4.777777777777778 3.142857142857143 5 0.5555555555555556 0
92 21 6.133333333333334 5.25 8 0.5 2
21 2 0.875 0.6666666666666666 7 0.2413793103448276 3
139 22 6.043478260869565 5.5 5 0.625 0
106 26 10.6 26.0 3 0.5 3
151 22 4.314285714285714 3.142857142857143 3 0.5 0
122 18 2.652173913043478 2.0 6 0.6 2
142 24 12.909090909090908 8.0 2 0.5 1
19 8 0.5277777777777778 1.0 6 0.24 2
61 11 3.588235294117647 2.2 8 0.38095238095238093 4
147 18 3.1956521739130435 1.8 6 0.5454545454545454 1
39 14 1.95 2.8 8 0.47058823529411764 4
101 23 14.428571428571429 7.666666666666667 7 0.5384615384615384 4
172 25 6.615384615384615 6.25 3 0.6 3
38 12 3.4545454545454546 4.0 7 0.3684210526315789 3
37 14 1.7619047619047619 4.666666666666667 8 0.38095238095238093 5
176 22 3.6666666666666665 3.142857142857143 3 0.6 0
125 22 3.048780487804878 3.142857142857143 3 0.5 3
102 24 10.2 8.0 8 0.6153846153846154 6
120 23 4.137931034482759 5.75 5 0.5555555555555556 1
97 24 3.03125 12.0 7 0.6363636363636364 7
193 25 6.892857142857143 6.25 1 0.5 1
140 18 5.6 1.8 4 0.5 0
21 2 1.0 0.4 6 0.21428571428571427 0
106 15 3.4193548387096775 2.142857142857143 6 0.35294117647058826 1
216 27 19.636363636363637 13.5 1 0.5 0
143 27 11.0 13.5 1 0.5 1
192 24 6.4 4.8 2 0.6666666666666666 0
82 23 4.555555555555555 4.6 6 0.6 6
15 4 0.5 0.4 5 0.21739130434782608 1
58 18 4.833333333333333 4.5 3 0.3 2
39 14 2.4375 1.75 5 0.3333333333333333 1
28 4 1.3333333333333333 2.0 8 0.27586206896551724 0
176 22 3.911111111111111 4.4 2 0.5 0
175 26 12.5 8.666666666666666 2 0.6666666666666666 0
128 27 21.333333333333332 13.5 1 0.5 1
62 9 1.2916666666666667 0.6923076923076923 4 0.2857142857142857 0
26 5 0.6046511627906976 0.3333333333333333 4 0.2222222222222222 0
116 25 7.25 12.5 2 0.4 2
58 25 11.6 12.5 5 0.5555555555555556 5
42 9 3.5 1.5 7 0.3684210526315789 0
68 21 2.9565217391304346 10.5 11 0.6111111111111112 11
192 24 6.857142857142857 4.8 2 0.4 0
161 24 6.44 8.0 4 0.5714285714285714 4
110 24 5.0 6.0 4 0.5 4
49 12 1.3611111111111112 1.0909090909090908 5 0.3333333333333333 0
32 12 1.7777777777777777 2.0 7 0.3684210526315789 1
160 20 3.2 2.2222222222222223 3 0.5 0
113 23 3.138888888888889 3.8333333333333335 4 0.4 4
69 17 1.6428571428571428 1.7 3 0.42857142857142855 1
143 26 8.411764705882353 8.666666666666666 2 0.5 1
138 23 6.0 4.6 7 0.6363636363636364 6
51 12 1.0625 2.0 6 0.35294117647058826 4
21 5 1.75 0.7142857142857143 6 0.24 1
83 20 3.9523809523809526 2.5 7 0.5384615384615384 2
18 4 0.8571428571428571 0.5714285714285714 4 0.18181818181818182 1
143 24 3.763157894736842 6.0 2 0.5 2
148 25 6.434782608695652 6.25 2 0.5 0
49 8 3.2666666666666666 1.1428571428571428 8 0.4444444444444444 1
34 12 1.1724137931034482 3.0 7 0.35 3
25 10 1.3157894736842106 1.1111111111111112 8 0.47058823529411764 5
143 21 7.15 4.2 7 0.7 0
74 13 2.642857142857143 1.8571428571428572 3 0.1875 1
18 3 0.782608695652174 0.6 8 0.27586206896551724 5
125 25 6.578947368421052 6.25 2 0.6666666666666666 2
147 26 16.333333333333332 8.666666666666666 2 0.5 0
190 25 8.636363636363637 6.25 1 0.3333333333333333 0
15 5 0.8333333333333334 0.45454545454545453 7 0.2916666666666667 4
148 18 3.441860465116279 2.5714285714285716 7 0.5833333333333334 0
137 18 2.9148936170212765 3.6 6 0.5454545454545454 1
131 23 4.851851851851852 3.8333333333333335 1 0.3333333333333333 1
138 24 5.111111111111111 6.0 3 0.42857142857142855 3
141 23 3.710526315789474 3.8333333333333335 3 0.5 3
55 9 1.5714285714285714 1.2857142857142858 5 0.2631578947368421 4
99 25 8.25 25.0 5 0.5555555555555556 5
82 13 1.9523809523809523 1.1818181818181819 2 0.2222222222222222 0
121 16 1.704225352112676 1.6 8 0.6153846153846154 1
94 27 9.4 27.0 4 0.6666666666666666 4
157 27 11.214285714285714 27.0 3 0.6 3
124 15 5.166666666666667 1.5 4 0.5 0
90 26 6.923076923076923 13.0 3 0.6 3
193 25 7.148148148148148 6.25 1 0.5 1
77 18 1.4528301886792452 1.8 4 0.5 0
28 13 1.6470588235294117 3.25 8 0.42105263157894735 2
110 15 1.9642857142857142 1.6666666666666667 2 0.25 1
216 27 18.0 13.5 1 0.5 0
85 26 3.8636363636363638 26.0 9 0.75 9
192 24 6.4 4.8 2 0.5 0
110 25 5.5 12.5 6 0.6 6
113 25 10.272727272727273 12.5 8 0.6666666666666666 2
27 10 1.9285714285714286 2.0 8 0.36363636363636365 2
20 1 0.8695652173913043 0.25 6 0.21428571428571427 1
150 20 3.125 2.857142857142857 4 0.5 0
124 20 7.75 4.0 2 0.2857142857142857 1
161 21 2.596774193548387 2.625 1 0.5 1
121 23 6.05 7.666666666666667 2 0.3333333333333333 2
35 11 1.0 1.1 6 0.46153846153846156 2
184 23 5.411764705882353 7.666666666666667 7 0.6363636363636364 0
176 22 4.2926829268292686 3.142857142857143 2 0.6666666666666666 0
116 26 4.833333333333333 8.666666666666666 5 0.8333333333333334 5
36 24 6.0 12.0 7 0.6363636363636364 7
42 10 2.0 1.1111111111111112 6 0.35294117647058826 1
128 15 6.095238095238095 2.5 10 0.5 0
34 7 0.9714285714285714 0.875 10 0.4166666666666667 5
134 19 2.576923076923077 1.9 2 0.5 2
106 18 2.864864864864865 2.0 5 0.45454545454545453 5
176 22 8.8 11.0 8 0.5714285714285714 0
30 7 1.25 1.4 9 0.42857142857142855 3
70 5 1.0144927536231885 0.45454545454545453 6 0.42857142857142855 0
125 21 3.676470588235294 4.2 7 0.5833333333333334 1
63 20 3.3157894736842106 6.666666666666667 6 0.5454545454545454 5
75 21 4.411764705882353 4.2 6 0.6 4
52 12 1.0 1.7142857142857142 3 0.1875 1
62 14 6.888888888888889 4.666666666666667 10 0.5555555555555556 4
23 5 1.15 0.7142857142857143 7 0.25925925925925924 3
109 20 2.5348837209302326 3.3333333333333335 4 0.5 2
107 17 4.28 3.4 5 0.5 1
157 21 4.131578947368421 2.625 2 0.4 1
91 22 2.4594594594594597 5.5 4 0.5714285714285714 4
128 27 9.142857142857142 13.5 1 0.5 1
154 26 6.416666666666667 8.666666666666666 3 0.6 3
55 23 4.583333333333333 5.75 5 0.5 5
120 26 5.454545454545454 13.0 6 0.6666666666666666 6
192 21 7.68 7.0 6 0.6666666666666666 0
154 10 4.666666666666667 1.1111111111111112 6 0.46153846153846156 2
110 16 3.0555555555555554 1.6 7 0.5384615384615384 0
136 17 3.675675675675676 1.5454545454545454 2 0.25 0
176 26 14.666666666666666 8.666666666666666 1 0.5 1
148 19 6.7272727272727275 2.111111111111111 7 0.6363636363636364 1
63 9 1.75 1.125 10 0.5263157894736842 1
57 15 2.85 3.0 8 0.4444444444444444 2
|
cdce9e576accb3c18dc669314c0ae70dd4846da2
|
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
|
/xcos_blocks/vmm_4by4.sci
|
1e03a6ecf4050f7b18f24f9d476a5142f5106a24
|
[] |
no_license
|
jhasler/rasp30
|
9a7c2431d56c879a18b50c2d43e487d413ceccb0
|
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
|
refs/heads/master
| 2023-05-25T08:21:31.003675
| 2023-05-11T16:19:59
| 2023-05-11T16:19:59
| 62,917,238
| 3
| 3
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,555
|
sci
|
vmm_4by4.sci
|
function [x,y,typ]=vmm_4by4(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; graphics=arg1.graphics; model=arg1.model; exprs=graphics.exprs;
while %t do
[ok,weight_vec,fix_loc,exprs]=scicos_getvalue('Set VMM 4x4 parameters',['Weight vector name';'Fix_location'],list('str',1,'vec',-1),exprs)
if ~ok then break,end
if ok then
model.in=[1];
model.out=[1];
model.rpar= [fix_loc'];
model.opar=list(weight_vec);
graphics.exprs=exprs; x.graphics=graphics; x.model=model;
break;
end
end
case 'define' then
fix_loc=[0;0;0];
weight_vec="weight4x4";
model=scicos_model()
model.in=[1];
model.in2=[1];
model.intyp=[-1];
model.out=[1];
model.out2=[1];
model.outtyp=[-1];
model.rpar= [fix_loc'];
model.opar=list(weight_vec);
model.blocktype='d'
model.dep_ut=[%f %t]
exprs=[weight_vec;sci2exp(fix_loc)];
gr_i=['txt='' VMM 4x4'';';'xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')'];
x=standard_define([7 2],model, exprs,gr_i);
end
endfunction
|
543c351ea896899354ab135ef2bcd5a797de878c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1439/CH18/EX18.4/18_4.sce
|
7ef44b55c1ca84e3ac6d9a568ef4763ccf271a89
|
[] |
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
| 185
|
sce
|
18_4.sce
|
clc
//initialisation of variables
a= 193 //mole^-1 cm^-1
b= 2 //cm
c= 1.55*10^-3 //mole l^-1
//CALCULATIONS
r= 100/10^(a*b*c)
//RESULTS
printf (' perentage = %.2f per cent',r)
|
f6f69d4b330b2983cb34ea67d0ceec850cf35163
|
683d2599aa2be1a5f74b928d545b20e7ea656cd1
|
/microdaq/macros/microdaq_blocks/mdaq_uart_config.sci
|
dbfa68e1380c3e5ae7a031d6654dbe7b3332bad4
|
[
"BSD-3-Clause"
] |
permissive
|
pj1974/Scilab
|
5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95
|
cd54f1bd8502d6914ad6ff5271ca0e6e3d323935
|
refs/heads/master
| 2020-12-25T17:12:56.934984
| 2015-10-06T17:16:11
| 2015-10-06T17:16:11
| 41,862,822
| 0
| 0
| null | 2015-09-03T14:00:56
| 2015-09-03T14:00:56
| null |
UTF-8
|
Scilab
| false
| false
| 4,071
|
sci
|
mdaq_uart_config.sci
|
function [x,y,typ] = mdaq_uart_config(job,arg1,arg2)
uart_conf_desc = ["UART Config";
"Configures the parameters of the MicroDAQ UART module for serial";
"communication.";
"";
"MODULE:";
" 0 - UART0";
" 1 - UART1";
" 2 - UART2";
"";
"Baud Rate:";
" 0 - 2400";
" 1 - 4800";
" 2 - 9600";
" 3 - 19200";
" 4 - 38400";
" 5 - 58600";
" 6 - 115200";
"";
"Data bits: 5..8";
"";
"Parity:";
" 0 - None";
" 1 - Even";
" 2 - Odd";
"";
"Stop Bits: 1 or 2";
"";
"Flow control:"
" 0 - None";
" 1 - Hardware";
"";
"Set UART Config block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then
x=arg1
model=arg1.model;
graphics=arg1.graphics;
exprs=graphics.exprs;
while %t do
try
getversion('scilab');
[ok,module,baud_rate,data_bits,parity,stop_bits,flow_control,exprs]=..
scicos_getvalue(uart_conf_desc,..
['Module:';
'Baud rate:';
'Data bits:';
'Parity:';
'Stop bits:';
'Flow control:'],..
list('vec',1,'vec',1,'vec',1,'vec',1,'vec',1,'vec',1),exprs)
catch
[ok,module,baud_rate,data_bits,parity,stop_bits,flow_control,exprs]=..
getvalue(uart_conf_desc,..
['Module:';
'Baud rate:';
'Data bits:';
'Parity:';
'Stop bits:';
'Flow control:'],..
list('vec',1,'vec',1,'vec',1,'vec',1,'vec',1,'vec',1),exprs)
end;
if ~ok then
break
end
if module > 2 | module < 0 then
ok = %f;
message("Use values 0,1 or 2 to set UART module.")
end
if baud_rate > 6 | baud_rate < 0 then
ok = %f;
message("Use values 0,1,2,3,4,5 or 6 to set Baud rate.")
end
if data_bits > 8 | data_bits < 5 then
ok = %f;
message("Use values 5,6,7 or 8 to set Data bits.")
end
if parity > 2 | parity < 0 then
ok = %f;
message("Use values 0,1 or 2 to set Parity.")
end
if stop_bits > 2 | stop_bits < 1 then
ok = %f;
message("Use values 1 or 2 to set Stop bits.")
end
if flow_control > 1 | flow_control < 0 then
ok = %f;
message("Use values 0 or 1 to set Flow control.")
end
if ok then
[model,graphics,ok] = check_io(model,graphics, [], [], [], []);
graphics.exprs = exprs;
model.rpar = [];
model.ipar = [module, baud_rate+1, data_bits, parity, stop_bits, flow_control];
model.dstate = [];
x.graphics = graphics;
x.model = model;
break
end
end
case 'define' then
module = 0;
baud_rate = 6;
data_bits = 8;
parity = 0;
stop_bits = 1;
flow_control = 0;
model=scicos_model()
model.sim=list('mdaq_uart_config_sci_sim',5);
model.in =[];
model.in2=[];
model.intyp=[];
model.out=[];
model.evtin=[];
model.rpar=[];
model.ipar=[module, baud_rate+1, data_bits, parity, stop_bits, flow_control]
model.dstate=[];
model.blocktype='d'
model.dep_ut=[%t %f]
exprs=[sci2exp(module), sci2exp(baud_rate), sci2exp(data_bits), sci2exp(parity), sci2exp(stop_bits), sci2exp(flow_control)]
gr_i=['xstringb(orig(1),orig(2),['''' ; ],sz(1),sz(2),''fill'');']
x=standard_define([4 3],model,exprs,gr_i)
x.graphics.in_implicit=[];
x.graphics.exprs=exprs;
end
endfunction
|
70db658dd49160e2c6280732cccbd50700ee37f5
|
da5b40d917ec2982828bd9bdf06b18b7bf189f26
|
/sim/cmd/test/patest.tst
|
79239fb3064d14b7e720e9d994ec5d4927a87fb0
|
[] |
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
| 4,382
|
tst
|
patest.tst
|
# Depeopanizer test (from old Hysim manual)
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + propane isobutane n-butane isopentane n-pentane
thermo + n-hexane n-heptane n-octane
thermo + n-nonane n-decane
stab = Tower.Tower()
stab.Stage_0 + 10 # twelve stages
stab.LiquidPhases = 2
cd stab.Stage_0
l = Tower.LiquidDraw()
l.Port.P = 1000
cond = Tower.EnergyFeed(0)
estT = Tower.Estimate('T')
estT.Value = 25
reflux = Tower.StageSpecification('Reflux')
reflux.Value = 2
cd ../Stage_5
f = Tower.Feed()
f.Port.T = 50
f.Port.P = 2000
f.Port.MoleFlow = 1000
f.Port.Fraction = .1702 .1473 .1132 .1166 .1066 .0963 .0829 .0694 .0558 .0417
f.Port
cd ../Stage_11
l = Tower.LiquidDraw()
l.Port.P = 1100
l.Port.Fraction.n-BUTANE = .02
reb = Tower.EnergyFeed(1)
estT = Tower.Estimate('T')
estT.Value = 100
cd ../Stage_9
pa_source = Tower.VapourDraw()
pa_source.Port.MoleFlow = 200
cd ../Stage_7
pa_dest = Tower.Feed()
cd ..
Stage_9.pa_source.Port -> Stage_7.pa_dest.Port
/overhead = Stream.Stream_Material()
/overhead.In -> Stage_0.l.Port
/bottoms = Stream.Stream_Material()
/bottoms.In -> Stage_11.l.Port
TryToSolve = 1 # start calculation
/overhead.Out
/bottoms.Out
L
V
T
# remove feed and draw and install VapourPumpAround object
TryToSolve = 0
delete Stage_9.pa_source
delete Stage_7.pa_dest
Stage_9.pa = Tower.VapourPumpAround(7)
Stage_7.pa_paR.Port.MoleFlow = 200
Stage_7.pa_paQ.Port.Energy = 0
TryToSolve = 1
/overhead.Out
/bottoms.Out
Stage_7.pa_paR.Port
L
V
T
# delete the pump around
delete Stage_9.pa
# add liquid pump down
Stage_7.pd = Tower.LiquidPumpAround(10)
Stage_7.pd.Port.MoleFlow = 300
Stage_10.pd_paQ.Port.Energy = 1000000
/overhead.Out
/bottoms.Out
Stage_10.pd_paR.Port
L
V
T
#Create some pump around variables
cd /stab.Stage_7.pd
PADeltaT = Tower.PumpAroundDTSpec()
cd PADeltaT
cd /stab.Stage_7.pd
PAReturnT = Tower.PumpAroundReturnTSpec()
cd PAReturnT
cd /stab.Stage_7.pd
PAReturnCv = Tower.PumpAroundReturnPropSpec("Cv")
cd PAReturnCv
cd /stab
TryToSolve = 0
TryToRestart = 0
/stab.EnergyFeed_10_pd_paQ.Energy =
TryToSolve = 1
/stab.Variable_7_PAReturnT.T = 54.53
L
V
T
/stab.Variable_7_PAReturnT.T =
/stab.Variable_7_PADeltaT.DT = 60
L
V
T
/stab.Variable_7_PADeltaT.DT =
/stab.Stage_10.pd_paQ.Port.Energy = 1000000
#lets see if it balances when using efficiencies
/bal = Balance.BalanceOp()
/bal.NumberStreamsInMat = 1
/bal.NumberStreamsOutMat = 3
/bal.BalanceType = 2
cd /
feed = Stream.Stream_Material()
cd feed
/feed.Out -> /stab.Feed_5_f
CloneOut = Stream.ClonePort(0)
/feed.CloneOut -> /bal.In0
cd /overhead
CloneIn = Stream.ClonePort()
/overhead.CloneIn -> /bal.Out0
cd /bottoms
CloneIn = Stream.ClonePort()
/bottoms.CloneIn -> /bal.Out1
/bal.Out2
/stab.TryLastConverged = 1
/stab.Efficiencies = 0.9
/bal.Out2
/stab.Efficiencies = 0.8
/bal.Out2
/stab.Efficiencies = 1.0
/stab.TryLastConverged = 0
#Now play with vol fracs
/stab.TryToRestart = 1
cd /stab.Stage_11.l
VolFracs = Tower.VolFractionSpec()
cd VolFracs
. + n-HEPTANE n-OCTANE n-NONANE
cd /stab
cd /stab.Stage_11.l
StdLiqVolFlows = Tower.ComponentStdVolFlowSpec()
cd StdLiqVolFlows
. + n-HEXANE n-HEPTANE n-OCTANE n-NONANE
cd /stab.Stage_11.l
StdLiqVolRecovery = Tower.StdVolRecoverySpec()
cd StdLiqVolRecovery
. + n-PENTANE n-HEXANE n-HEPTANE n-OCTANE n-NONANE
. - n-PENTANE n-HEXANE n-HEPTANE n-OCTANE n-NONANE
. + n-PENTANE n-HEXANE n-HEPTANE
. - n-PENTANE n-HEXANE n-HEPTANE
cd /stab.Stage_11.l
StdLiqVolRatio = Tower.StdVolRatioSpec()
cd StdLiqVolRatio
. + n-BUTANE ISOPENTANE n-PENTANE n-HEXANE / n-PENTANE n-HEXANE n-HEPTANE n-OCTANE
. - n-BUTANE ISOPENTANE n-PENTANE n-HEXANE / n-PENTANE n-HEXANE n-HEPTANE n-OCTANE /
. + n-BUTANE ISOPENTANE n-PENTANE n-HEXANE /
. - n-BUTANE ISOPENTANE n-PENTANE n-HEXANE / n-HEXANE n-HEPTANE n-OCTANE /
. + n-BUTANE ISOPENTANE n-PENTANE n-HEXANE / n-HEXANE n-HEPTANE n-OCTANE
cd /stab
/stab.Variable_0_reflux.Generic =
/stab.Variable_11_StdLiqVolRatio.Fraction = 0.986
TryToRestart = 0
L
V
T
/stab.Variable_11_StdLiqVolRatio.Fraction =
/stab.Variable_0_reflux.Generic = 2
L
V
T
#Now delete try deleting the stages with the pump around
#The following should not work
#A stage with a feed from a pump around can not be deleted
/stab.Stage_9 - 1
/stab.Stage_7 - 3
#Finally do it right
/stab.Stage_6 - 4
copy /
paste /
/RootClone.stab.L
/RootClone.stab.V
/RootClone.stab.T
|
d203a7e153f4a13f27ece4d688c378f6ee0fba27
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.4/macros/percent/%r_v_p.sci
|
7d565fce69781561d090f0b69f558e01f4428b50
|
[
"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
| 252
|
sci
|
%r_v_p.sci
|
function h=%r_v_p(h1,h2)
// %r_v_p(h1,h2) computes (I+h1*h2)\h1. h1: rational
// h2 polynomial
//!
// Copyright INRIA
[m1,n1]=size(h1(2))
[m2,n2]=size(h2)
if abs(n1-m2)+abs(m1-n2)<>0 then error('inconsistent dimensions'),end
h=(eye(m1,m1)+h1*h2)\h1
|
2260f721c37bee00fa13f70e257def185e624ef4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3843/CH12/EX12.8/Ex12_8.sce
|
7b8f0043217fc8b01864bd77dcc29e50c32a0dfb
|
[] |
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,130
|
sce
|
Ex12_8.sce
|
// Example 12_8
clc;funcprot(0);
// Given data
T_O=25;// °C
P=1;// atm
T_1=1000;// K
// The combustion equation C_8H_18(l)+12.5(O_2+3.76N_2)--->8CO_2+9H_2O(l)+47N_2
// For 300% excess theoretical air,the reaction is C_8H_18(l)+50(O_2+3.76N_2)--->8CO_2+9H_2O(l)+37.5O_2+188N_2
N_CO2=8;// mol
N_H2O=9;// mol
N_N2=188;// mol
N_O2=37.5;// mol
hbar0_fO=-249910;// kJ/kmol (C_8H18)
hbar0_fCO2=-393520;// kJ/kmol
hbar_CO2=42770;// kJ/kmol
hbar0_CO2=9360;// kJ/kmol
hbar0_fH2O=-241810;// kJ/kmol
hbar_H2O=35880;// kJ/kmol
hbar0_H2O=9900;// kJ/kmol
hbar0_fN2=0;// kJ/kmol
hbar_N2=30130;// kJ/kmol
hbar0_N2=8670;// kJ/kmol
hbar0_fO2=0;// kJ/kmol
hbar_O2=31390;// kJ/kmol
hbar0_O2=8680;// kJ/kmol
// Calculation
H_P=(N_CO2*(hbar0_fCO2+hbar_CO2-hbar0_CO2))+(N_H2O*(hbar0_fH2O+hbar_H2O-hbar0_H2O))+(N_O2*(hbar0_fO2+hbar_O2-hbar0_O2))+(N_N2*(hbar0_fN2+hbar_N2-hbar0_N2));// The enthalpy of the products of combustion in kJ/kmol fuel
H_R=hbar0_fO;// The enthalpy of the reactants of combustion in kJ/kmol fuel
Q=H_P-H_R;// The heat transfer in kJ/kmol fuel
printf("\nThe heat transfer,Q=%6.0f kJ/kmol fuel",Q);
|
02fcf9ee5454c127091bdffe8f29f438843f6b0d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3785/CH5/EX5.5/Ex5_5.sce
|
46f27d1efc4523c86b7e43e2eddcac528074078e
|
[] |
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_5.sce
|
// Example 5_5
clc;funcprot(0);
// Given data
D=1;// Diameter of hose at inlet in inch
d=2;// Diameter of hose at outlet in inch
// From example 5.4,F_e=rho*Q*V_out
F_e=176.8;// The force in N
// Calculation
// F_c=rho*Q*V_out*[1/2*((A_in/A_out)+(A_out/A_in)-1];
// A_in=4*A_out
F_c=F_e*((1/2)*(4+(1/4))-1);// The force exerted on the nozzle by the coupling in N
printf("\n The force exerted on the nozzle by the coupling,F_c=%3.1f N",F_c);
|
53915c628562dc2abd103da0ecd3ee48b617fd56
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2183/CH4/EX4.5.b/Ex_4_5_b.sce
|
6dfa6af033c84e8751050bde8c4d8a62e7ebf23a
|
[] |
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
|
Ex_4_5_b.sce
|
// Example 4.5.b:Despersion per unit length
clc;
clear;
close;
t=0.1*10^-6;//Time in second
L=15;//Distance in km
dp=(t/L)*10^6;//Despersion per unit length in micro second per Km
disp(dp*10^3,"Despersion per unit length in nano second per km")
|
f14b15a0bd9f66b0352a9c01e4fe8fea6b468b9e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1853/CH3/EX3.6/Ex3_6.sce
|
722cfb1c46f7b01a7a5f27008bb1694a9593d02e
|
[] |
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
| 352
|
sce
|
Ex3_6.sce
|
//calculate the induced emf in the coil
A=4e-4 //cross sectional is a squar side
u=1 //air core torroidal ring
D=25e-2
l=3.14*D
N=500
d=4e-2 //cross sectional diameter
s=l/(4*3.14*10^-7*u*A)
L=N^2/s // self inductance
dI=10
dt=50e-3
e=(L*dI)/dt
disp('Induced emf=' +string(e)+' volts' , 'Inductance = '+string(L)+' henry' )
|
db57aaa4ce712e5624346003643c4677bf081033
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3012/CH3/EX3.6/Ex3_6.sce
|
d720667c71f97e2140749c3bcff787bb93410d88
|
[] |
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,101
|
sce
|
Ex3_6.sce
|
// Given:-
// State 1
p1 = 20.0 // initial pressure in MPa
T1 = 520.0 // initial temperature in degree celcius
Z1 = 0.83 // compressibility factor
R = 8.314 // universal gas constant in SI unit
n = 1000.0/18.02 // number of moles in a kg of water
// State 2
T2 = 400.0 // final temperature in degree celcius
// From table A-1
Tc = 647.3 // critical temperature in kelvin
pc = 22.09 // critical pressure in MPa
// Calculations
Tr = (T1+273)/Tc // reduced temperature
Pr = p1/pc // reduced pressure
v1 = (Z1*n*R*(T1+273))/(p1*(10**6))
vr = v1*(pc*(10**6))/(n*R*Tc)
Tr2 = (T2+273)/Tc
PR = 0.69 // at above vr and Tr2
P2 = pc*PR
// Results
printf( ' The specific volume in state1 is %f m3/kg and the corresponding value obtained from table A-4 is .01551 m^3/Kg',v1)
printf( ' The pressure in MPa in the final state is %f MPa and the corresponding value from the table is 15.16Mpa',P2);
|
82340dcecdc4349afce0d1dd50c458ccd27a032b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2795/CH5/EX5.3/Ex5_03.sce
|
e689f340c8904635c14fce3afc216b011e4b19c3
|
[] |
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
| 586
|
sce
|
Ex5_03.sce
|
// Scilab Code Ex5.3 : Page-173 (2013)
clc; clear;
m = 9.1e-31; // Mass of the electron, kg
h = 6.63e-34; // Planck's constant, Js
c = 3e+008; // Speed of light, m/s
e = 1.6e-19; // Energy equivalent of 1 eV, J/eV
V0 = 54; // Potential difference between electrodes, V
lambda = h*c/(sqrt(2*m*c^2/e*V0)*e*1e-009); // de Broglie wavelength of the electron, nm
printf("\nThe de Broglie wavelength of the electron used by Davisson and Germer = %5.3f nm", lambda);
// Result
// The de Broglie wavelength of the electron used by Davisson and Germer = 0.167 nm
|
df4e45d9dd78820c4086bacdf0696c7aa429581b
|
181f67b4868e49ca80872d6ac088a51540f90da6
|
/186A6/VIPbigCircle.sce
|
a353ecc07cf742e1bc505d6e50ae8984fc34ab44
|
[] |
no_license
|
nobody51/AP186
|
567f25ba1ad7f71ad2983860078eeaccffa46080
|
cb916fc9b38b508026403a2227ffc76d490fe948
|
refs/heads/master
| 2021-08-28T09:35:55.488122
| 2017-12-11T21:34:46
| 2017-12-11T21:34:46
| 104,969,401
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 911
|
sce
|
VIPbigCircle.sce
|
//convolution
//display the image
F = (imread("C:\Users\ADMIN\Documents\PHYSICS\6thYear\186\AP186\186A6\VIP.png"));
f=scf();
imshow(F);
isoview();
G = (imread("C:\Users\ADMIN\Documents\PHYSICS\6thYear\186\AP186\186A6\circleAp2.png"));
G = bool2s(G);
f=scf();
Matplot(G*255);
isoview();
//2D FFT of VIP
F = rgb2gray(double(F));
fftF = fft2(F);
f=scf();
Matplot(imnorm(abs(fftF))*255);
isoview();
f=scf();
imshow(uint8(imnorm(abs(fftF))*255));
isoview();
//fftshift of aperature
shiftG = fftshift(G);
f=scf();
Matplot(shiftG*255);
isoview();
//convolution of VIP and aperature
newImg = fftF .* shiftG;
iNewImg = fft2(newImg);
f=scf();
Matplot(imnorm(abs(iNewImg))*255);
isoview();
f=scf();
imshow(uint8(imnorm(abs(iNewImg))*255));
isoview();
//this way is FAIL
shortcut = convol2d(F,G)
f=scf();
Matplot(imnorm(abs(shortcut))*255);
isoview();
f=scf();
imshow(uint8(imnorm(abs(shortcut))*255));
isoview();
|
f2f2b472a6154a831061a4683d0e1437c5a49068
|
089894a36ef33cb3d0f697541716c9b6cd8dcc43
|
/NLP_Project/test/tweet/bow/bow.10_19.tst
|
5eb19eaf3973e1ad40c207ebb05358d1516395a6
|
[] |
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
| 15,415
|
tst
|
bow.10_19.tst
|
10 26:0.5 101:0.07692307692307693 130:0.5 445:1.0 763:1.0 1156:1.0
10 30:0.5 47:1.0 48:1.0 101:0.07692307692307693 191:0.25 239:1.0 313:1.0 605:1.0 653:1.0 654:1.0 660:1.0 1880:1.0
10 5:0.3333333333333333 46:0.1111111111111111 73:0.2 101:0.07692307692307693 220:1.0 925:1.0
10 39:0.1111111111111111 48:1.0 72:2.0 191:0.5
10 59:0.09090909090909091 101:0.07692307692307693 694:1.0
10 56:0.012345679012345678 694:1.0 1150:1.0
10 46:0.1111111111111111 93:0.2 180:1.0 516:1.0 611:1.0 643:1.0 1255:1.0 1526:1.0
10 56:0.012345679012345678 191:0.25 653:1.0 790:1.0 849:1.0
10 5:0.3333333333333333 66:0.1111111111111111 85:0.07692307692307693 160:0.5 193:0.5 379:1.0 1176:1.0 1177:1.0 1205:1.0
10 8:0.5 18:0.3333333333333333 22:0.07142857142857142 26:0.5 30:0.5 31:0.5 38:1.0 39:0.3333333333333333 48:1.0 56:0.012345679012345678 59:0.18181818181818182 70:1.0 91:0.1 93:0.2 111:1.0 120:1.0 121:1.0 135:0.25 147:1.0 148:1.0 209:0.07142857142857142 257:0.5 286:1.0 290:0.5 366:0.5 372:1.0 660:1.0 705:1.0 795:0.25 1376:1.0 1592:1.0
10 5:0.3333333333333333 48:1.0 126:1.0 191:0.25 213:0.1111111111111111 587:0.25 717:1.0 828:1.0 1025:1.0 3219:1.0
10 8:0.5 26:0.5 36:0.4 85:0.07692307692307693 93:0.2 101:0.07692307692307693 116:1.0 144:0.5 165:0.5 196:0.5 221:0.25 230:1.0 436:1.0 769:1.0 2936:1.0
10 93:0.2 124:1.0 156:0.3333333333333333 196:0.5
10 38:0.5 48:1.0 59:0.09090909090909091 64:0.125 85:0.15384615384615385 88:0.25 94:0.3333333333333333 95:0.3333333333333333 109:0.25 114:0.15384615384615385 129:1.0 138:0.5 228:1.0 245:1.0 250:1.0 257:0.5 397:0.16666666666666666 401:1.0 453:0.3333333333333333 719:1.0 795:0.25 1684:1.0 1723:1.0
10 7:0.5 38:0.5 56:0.012345679012345678 73:0.2 94:0.3333333333333333 95:0.3333333333333333 109:0.25 191:0.25 228:1.0 230:1.0 353:0.09090909090909091 397:0.16666666666666666 401:1.0 453:0.3333333333333333 719:1.0 984:1.0 1592:1.0
10 8:0.5 23:0.2 30:0.5 38:0.5 39:0.1111111111111111 64:0.125 88:0.25 93:0.2 342:1.0 751:1.0 943:1.0 1041:1.0 1384:1.0 1855:1.0 2798:1.0
10 14:0.3333333333333333 38:0.5 39:0.1111111111111111 56:0.012345679012345678 156:0.3333333333333333 213:0.1111111111111111 280:1.0 286:1.0 530:1.0 660:1.0 943:1.0 980:1.0 1121:1.0 1296:1.0 1315:1.0 1716:1.0
10 4:0.5 26:0.5 30:1.0 46:0.1111111111111111 120:1.0 188:1.0 189:1.0 190:1.0 257:0.5 284:1.0 290:0.5 319:0.3333333333333333 463:1.0 815:1.0 854:1.0 943:1.0 1312:2.0 2394:1.0 2897:1.0
10 8:0.5 23:0.2 38:0.5 56:0.012345679012345678 59:0.09090909090909091 85:0.07692307692307693 155:0.5 156:0.6666666666666666 231:1.0 237:0.2857142857142857 250:1.0 280:2.0 290:0.5 405:1.0 530:1.0 943:1.0 980:1.0 1110:1.0 1376:1.0 1393:1.0
10 5:0.3333333333333333 8:0.5 26:0.5 56:0.024691358024691357 64:0.125 84:1.0 91:0.1 101:0.07692307692307693 144:0.5 151:1.0 156:0.3333333333333333 216:0.5 245:1.0 283:1.0 401:2.0 476:1.0 483:1.0 512:0.25 609:0.3333333333333333 714:0.5 943:1.0 1074:1.0 1312:1.0 1561:1.0 2049:1.0
10 26:0.5 30:0.5 38:0.5 39:0.1111111111111111 75:1.0 84:1.0 130:0.5 248:1.0 571:1.0 731:1.0
10 26:0.5 30:0.5 73:0.2 75:1.0 91:0.1 120:1.0 144:0.5 258:0.5 408:1.0 410:1.0 445:1.0 557:1.0 660:1.0 846:1.0 1299:1.0 1592:1.0 3042:1.0
10 39:0.1111111111111111 75:1.0 93:0.2 186:1.0
10 18:0.6666666666666666 30:0.5 34:0.25 38:1.0 39:0.1111111111111111 64:0.125 85:0.07692307692307693 93:0.2 144:0.5 147:1.0 191:0.25 209:0.07142857142857142 353:0.09090909090909091 423:1.0 424:1.0 679:1.0 789:1.0 1230:1.0
10 26:0.5 38:0.5 39:0.1111111111111111 74:0.5 88:0.25 91:0.1 93:0.4 114:0.07692307692307693 119:1.0 151:1.0 199:0.3333333333333333 230:1.0 324:1.0 416:1.0 679:1.0 951:0.5
10 5:0.3333333333333333 18:0.3333333333333333 46:0.1111111111111111 56:0.024691358024691357 85:0.07692307692307693 125:0.16666666666666666 189:1.0 220:1.0 283:2.0 342:1.0 392:0.5 403:1.0 492:0.5 516:1.0 731:1.0 789:1.0 824:1.0 2943:1.0
10 30:0.5 38:0.5 39:0.2222222222222222 42:1.0 48:1.0 85:0.15384615384615385 135:0.25 136:1.0 209:0.07142857142857142 367:1.0 1493:1.0 3184:1.0
10 30:0.5 36:0.2 64:0.125 85:0.07692307692307693 90:1.0 250:1.0 353:0.09090909090909091 1178:1.0 1249:1.0 1356:1.0
10 4:0.5 5:0.3333333333333333 8:0.5 23:0.2 39:0.1111111111111111 84:1.0 237:0.14285714285714285 504:1.0 509:1.0 966:1.0
10 5:0.3333333333333333 8:0.5 26:1.5 30:0.5 39:0.3333333333333333 79:2.0 85:0.07692307692307693 91:0.1 101:0.07692307692307693 113:1.0 156:0.6666666666666666 196:0.5 197:1.0 198:0.5 287:1.0 307:1.0 410:1.0 417:1.0 426:0.3333333333333333 652:1.0 854:1.0 943:1.0 1094:1.0 1287:1.0 2277:1.0
10 7:0.5 23:0.4 36:0.2 48:1.0 59:0.09090909090909091 73:0.2 91:0.1 95:0.3333333333333333 120:1.0 142:1.0 145:1.0 156:0.3333333333333333 188:1.0 189:1.0 257:0.5 290:0.5 291:1.0 463:1.0 943:1.0 1018:1.0 1196:1.0 2170:1.0
10 14:0.3333333333333333 38:0.5 39:0.1111111111111111 56:0.024691358024691357 72:1.0 84:1.0 85:0.15384615384615385 91:0.2 109:0.25 114:0.07692307692307693 130:0.5 147:1.0 188:1.0 189:1.0 196:0.5 290:0.5 306:1.0 563:1.0 571:1.0 685:0.3333333333333333 848:1.0 943:1.0 980:1.0 987:1.0 1074:1.0 1196:1.0 1247:0.5
10 18:0.3333333333333333 39:0.3333333333333333 55:1.0 89:0.25 93:0.2 114:0.07692307692307693 127:1.0 158:1.0 203:1.0 230:2.0 252:0.25 287:1.0 403:1.0 618:2.0 755:1.0 1018:1.0 1193:1.0 1230:1.0 1486:1.0 1609:1.0 2943:1.0
10 18:0.3333333333333333 23:0.2 38:1.0 46:0.1111111111111111 62:1.0 75:1.0 93:0.2 94:0.3333333333333333 220:1.0 228:1.0 268:1.0 286:1.0 327:1.0 328:1.0 408:1.0 550:0.3333333333333333 606:1.0 1626:1.0 1634:1.0 2758:1.0 2791:1.0
10 4:0.5 23:0.2 45:0.5 56:0.012345679012345678 695:0.2 875:1.0
10 14:0.3333333333333333 30:0.5 36:0.2 45:0.5 59:0.09090909090909091 1503:1.0
10 11:1.0 23:0.2 39:0.2222222222222222 56:0.012345679012345678 62:1.0 66:0.1111111111111111 85:0.07692307692307693 94:0.3333333333333333 353:0.09090909090909091 543:1.0 1287:1.0 1362:1.0 1903:1.0 2047:1.0
10 8:0.5 18:0.3333333333333333 22:0.07142857142857142 23:0.6 56:0.037037037037037035 65:1.0 69:0.03571428571428571 85:0.07692307692307693 101:0.15384615384615385 113:1.0 180:1.0 192:0.5 199:0.3333333333333333 205:0.5 228:1.0 237:0.14285714285714285 283:1.0 372:1.0 401:2.0 403:1.0 476:1.0 610:0.3333333333333333 613:0.3333333333333333 616:1.0 694:1.0 707:0.5 736:1.0 1362:1.0 1447:1.0 2404:1.0
10 93:0.2 114:0.07692307692307693 203:1.0 228:1.0 1177:1.0 2791:1.0
10 23:0.2 26:0.5 39:0.2222222222222222 64:0.125 93:0.2 94:0.3333333333333333 101:0.07692307692307693 114:0.07692307692307693 191:0.25 375:1.0 438:1.0 472:0.5 486:1.0 740:1.0 943:1.0 2972:1.0
10 8:0.5 38:0.5 39:0.2222222222222222 43:0.5 72:1.0 73:0.2 113:1.0 114:0.07692307692307693 156:0.3333333333333333 290:0.5 453:0.3333333333333333 498:1.0 848:1.0 966:1.0 1150:1.0 1302:1.0
10 4:0.5 23:0.2 56:0.012345679012345678 101:0.07692307692307693 301:1.0 543:1.0 1962:1.0
10 18:0.3333333333333333 26:0.5 30:0.5 36:0.2 39:0.1111111111111111 55:1.0 75:1.0 85:0.07692307692307693 93:0.2 109:0.25 130:0.5 156:0.3333333333333333 209:0.07142857142857142 237:0.14285714285714285 401:1.0 499:1.0 529:1.0 731:1.0 769:1.0 1054:1.0 1302:2.0 2774:1.0 2913:1.0
10 8:0.5 39:0.1111111111111111 64:0.125 85:0.15384615384615385 93:0.2 120:1.0 147:1.0 188:1.0 189:1.0 284:1.0 549:0.3333333333333333 1048:2.0 3329:1.0
10 36:0.2 38:0.5 39:0.2222222222222222 48:2.0 116:1.0 120:1.0 121:1.0 201:0.3333333333333333 209:0.07142857142857142 290:0.5 291:1.0 327:1.0 1493:1.0 2514:1.0 2526:1.0 2630:1.0
10 7:0.5 8:0.5 23:0.2 39:0.1111111111111111 113:1.0 130:0.5 189:1.0 191:0.25 207:1.0 233:0.25 290:0.5 320:1.0 390:0.16666666666666666 516:1.0 1156:1.0
10 56:0.012345679012345678 59:0.09090909090909091 75:1.0 101:0.07692307692307693 198:0.5 220:1.0 442:0.5 1376:1.0 1834:1.0
10 4:0.5 23:0.2 39:0.1111111111111111 56:0.012345679012345678 94:0.3333333333333333 120:1.0 196:0.5 286:1.0 398:1.0 563:1.0 942:1.0 943:1.0
10 8:0.5 30:1.0 38:0.5 39:0.1111111111111111 75:1.0 125:0.16666666666666666 143:1.0 170:1.0 216:0.5 230:1.0 245:1.0 252:0.25 539:1.0
10 67:0.5 307:1.0 322:1.0 815:1.0 1829:1.0
10 26:0.5 45:0.5 93:0.2 220:1.0 741:1.0
10 5:0.3333333333333333 18:0.3333333333333333 38:0.5 39:0.1111111111111111 48:1.0 64:0.125 75:1.0 126:1.0 322:1.0 353:0.09090909090909091 525:1.0 582:1.0 606:1.0 690:1.0 1114:1.0
10 8:0.5 18:0.6666666666666666 22:0.07142857142857142 23:0.2 30:0.5 39:0.2222222222222222 64:0.125 85:0.15384615384615385 106:1.0 107:1.0 108:1.0 227:0.5 237:0.14285714285714285 291:1.0 423:1.0 424:1.0 700:1.0 891:0.5 1098:1.0
10 18:0.3333333333333333 22:0.07142857142857142 56:0.012345679012345678 59:0.09090909090909091 64:0.125 114:0.07692307692307693 238:0.125 241:0.16666666666666666 301:1.0 353:0.09090909090909091 509:1.0 1230:1.0
10 10:0.14285714285714285 18:0.3333333333333333 22:0.07142857142857142 23:0.2 26:0.5 39:0.1111111111111111 56:0.012345679012345678 64:0.125 72:1.0 80:1.0 91:0.1 301:1.0 353:0.09090909090909091 403:1.0 492:0.5 620:0.5 685:0.3333333333333333 2495:1.0 2596:1.0
10 14:0.3333333333333333 23:0.2 38:0.5 39:0.1111111111111111 46:0.1111111111111111 59:0.09090909090909091 64:0.125 85:0.07692307692307693 88:0.25 113:1.0 207:1.0 233:0.25 390:0.16666666666666666 405:0.5 523:1.0 619:1.0 716:1.0 718:1.0 719:1.0 867:1.0 1193:1.0 1339:1.0 1349:1.0
10 64:0.125 201:0.3333333333333333 560:1.0 1988:1.0 2495:1.0
10 23:0.2 101:0.07692307692307693 228:1.0 233:0.25 245:1.0 445:1.0 539:1.0 655:1.0
10 85:0.07692307692307693 207:1.0 390:0.16666666666666666 2495:1.0
10 64:0.25 111:1.0 201:0.3333333333333333 229:1.0 230:1.0
10 5:0.3333333333333333 14:0.3333333333333333 275:1.0 429:1.0 1155:1.0 1829:1.0 3100:1.0
10 5:0.3333333333333333 7:0.5 8:1.0 17:1.0 18:0.3333333333333333 23:0.2 30:0.5 38:1.0 39:0.1111111111111111 64:0.125 69:0.03571428571428571 75:1.0 81:0.5 85:0.15384615384615385 135:0.25 156:0.3333333333333333 161:1.0 209:0.07142857142857142 253:1.0 286:1.0 398:1.0 427:1.0 438:1.0 445:1.0 1012:1.0 2813:1.0 3069:1.0
10 8:0.5 14:0.3333333333333333 30:0.5 36:0.2 38:0.5 39:0.1111111111111111 59:0.09090909090909091 72:1.0 85:0.15384615384615385 88:0.25 100:1.0 101:0.07692307692307693 116:1.0 121:1.0 125:0.16666666666666666 191:0.25 291:1.0 417:1.0 426:0.3333333333333333 460:1.0 476:1.0 1474:0.5
10 18:0.3333333333333333 22:0.07142857142857142 23:0.2 38:0.5 39:0.1111111111111111 55:1.0 56:0.012345679012345678 64:0.125 85:0.07692307692307693 86:1.0 91:0.1 101:0.07692307692307693 114:0.15384615384615385 125:0.16666666666666666 286:1.0 291:1.0 353:0.09090909090909091 423:1.0 487:1.0 1098:1.0
10 22:0.07142857142857142 23:0.2 72:1.0 88:0.25 114:0.07692307692307693 160:0.5 196:0.5 201:0.3333333333333333 417:1.0 457:0.5 779:1.0 789:1.0 2190:1.0 3100:1.0
10 8:0.5 14:0.3333333333333333 32:1.0 39:0.1111111111111111 64:0.125 85:0.15384615384615385 101:0.07692307692307693 125:0.16666666666666666 273:1.0 282:1.0 445:1.0
10 22:0.07142857142857142 23:0.2 39:0.1111111111111111 56:0.012345679012345678 72:1.0 75:1.0 88:0.25 108:1.0 144:0.5 199:0.3333333333333333 397:0.16666666666666666 401:1.0 429:1.0 445:1.0 471:1.0 506:1.0 520:1.0 795:0.5 1353:1.0 1623:1.0 1626:1.0
10 1087:1.0
10 69:0.03571428571428571 93:0.2 209:0.07142857142857142 1110:1.0
10 26:0.5 30:1.0 39:0.1111111111111111 56:0.012345679012345678 59:0.09090909090909091 116:1.0 121:1.0 129:1.0 130:0.5 276:1.0 290:0.5 679:1.0 1417:0.5 3284:1.0
10 7:0.5 8:0.5 38:1.0 39:0.1111111111111111 64:0.125 84:1.0 85:0.07692307692307693 95:0.3333333333333333 125:0.16666666666666666 142:1.0 156:0.3333333333333333 193:0.5 273:1.0 571:1.0 685:0.3333333333333333
10 18:0.3333333333333333 26:0.5 46:0.1111111111111111 56:0.012345679012345678 90:1.0 188:1.0 416:1.0 429:1.0 731:1.0 854:1.0 1112:1.0
10 26:0.5 30:0.5 39:0.2222222222222222 85:0.07692307692307693 91:0.1 113:1.0 170:1.0 330:1.0 366:0.5 616:1.0
10 22:0.07142857142857142 23:0.2 64:0.125 111:1.0 120:1.0 201:0.3333333333333333 252:0.25 270:1.0 366:0.5 444:1.0 530:1.0 783:1.0
10 30:0.5 56:0.012345679012345678 80:1.0 353:0.09090909090909091 536:1.0 637:0.16666666666666666 721:0.5 2381:1.0
10 18:0.3333333333333333 23:0.2 39:0.1111111111111111 101:0.07692307692307693 198:0.5 233:0.25 270:1.0 282:1.0 323:0.2 360:0.5 988:1.0 2808:1.0
10 36:0.2 38:1.0 45:0.5 198:0.5 252:0.25 1119:1.0
10 418:2.0
10 8:0.5 56:0.012345679012345678 389:1.0 707:0.5 966:1.0 1155:1.0 1689:1.0
10 8:1.0 17:1.0 30:2.0 125:0.16666666666666666 170:1.0 176:1.0 1337:1.0
10 5:0.3333333333333333 18:0.3333333333333333 22:0.07142857142857142 26:0.5 30:1.0 56:0.012345679012345678 66:0.1111111111111111 91:0.1 120:1.0 146:1.0 149:1.0 156:0.3333333333333333 366:0.5 846:1.0 2748:1.0
10 22:0.2857142857142857 56:0.037037037037037035 59:0.18181818181818182 101:0.07692307692307693 1006:1.0
10 8:0.5 38:1.0 39:0.1111111111111111 56:0.024691358024691357 64:0.125 72:1.0 85:0.15384615384615385 91:0.1 130:0.5 135:0.25 227:0.5 230:1.0 245:1.0 250:1.0 299:0.5 300:1.0 366:0.5 429:1.0 503:0.2 804:0.25 2401:1.0
10 30:0.5 38:1.0 39:0.2222222222222222 69:0.03571428571428571 73:0.2 77:1.0 82:1.0 85:0.15384615384615385 116:1.0 121:1.0 165:0.5 209:0.07142857142857142 216:0.5 230:1.0 242:1.0 353:0.09090909090909091 503:0.2 815:1.0 988:1.0
10 38:1.0 39:0.1111111111111111 199:0.3333333333333333 273:1.0 291:1.0 330:1.0 413:1.0 1037:1.0 1150:1.0 2035:1.0 3382:1.0
10 14:0.3333333333333333 22:0.14285714285714285 23:0.2 32:1.0 48:1.0 56:0.012345679012345678 62:1.0 74:0.5 75:1.0 85:0.07692307692307693 205:0.5 329:0.5 366:0.5 403:1.0 795:0.5 849:2.0 1051:2.0 1629:1.0
10 14:0.3333333333333333 22:0.07142857142857142 111:1.0 113:1.0 114:0.07692307692307693 209:0.07142857142857142
10 36:0.2 120:1.0 188:1.0 189:1.0 197:1.0 459:1.0 629:1.0 815:1.0
10 23:0.2 34:0.25 56:0.012345679012345678 64:0.125 66:0.1111111111111111 109:0.25 199:0.3333333333333333 204:1.0 435:1.0 695:0.2
10 22:0.07142857142857142 23:0.2 59:0.09090909090909091 75:1.0 85:0.07692307692307693 295:1.0 296:0.5
10 8:1.0 30:0.5 38:0.5 52:1.0 59:0.09090909090909091 75:1.0 85:0.07692307692307693 95:0.3333333333333333 101:0.07692307692307693 142:1.0 170:1.0 193:0.5 291:1.0 1248:1.0 1284:1.0 2130:1.0
10 4:0.5 8:0.5 17:1.0 30:0.5 39:0.1111111111111111 46:0.1111111111111111 48:1.0 56:0.012345679012345678 59:0.09090909090909091 64:0.125 85:0.07692307692307693 88:0.25 91:0.1 125:0.16666666666666666 160:1.0 197:1.0 221:0.25 389:1.0 1209:1.0
10 30:0.5 45:0.5 69:0.03571428571428571 209:0.07142857142857142 309:1.0 351:1.0 1337:1.0
10 23:0.2 36:0.2 59:0.09090909090909091 85:0.07692307692307693 101:0.07692307692307693 116:1.0 121:1.0 367:1.0 520:1.0 1247:0.5
10 14:0.3333333333333333 18:0.6666666666666666 36:0.2 38:0.5 39:0.3333333333333333 59:0.09090909090909091 77:1.0 88:0.25 121:1.0 291:1.0 327:1.0 520:1.0 854:1.0 966:1.0 1257:1.0 1376:1.0
10 5:0.3333333333333333 59:0.09090909090909091 120:1.0 125:0.16666666666666666 144:0.5 148:1.0 156:0.3333333333333333 290:0.5 655:1.0 714:0.5
10 22:0.07142857142857142 23:0.2 74:0.5 80:1.0 101:0.07692307692307693 281:0.5 290:0.5 403:1.0 473:0.3333333333333333 714:0.5 789:1.0 1349:1.0 2813:1.0
10 22:0.07142857142857142 23:0.2 26:0.5 48:1.0 56:0.012345679012345678 59:0.09090909090909091 74:0.5 85:0.07692307692307693 95:0.3333333333333333 165:0.5 203:1.0 227:0.5 246:1.0 270:1.0 429:1.0 487:1.0 640:1.0 1018:1.0 1471:1.0 1595:1.0
10 8:0.5 22:0.14285714285714285 23:0.2 26:0.5 38:0.5 39:0.3333333333333333 48:1.0 59:0.09090909090909091 74:0.5 96:1.0 120:1.0 203:1.0 246:1.0 398:1.0 487:1.0 582:1.0 640:1.0 1018:1.0 1126:1.0 1471:1.0 1595:1.0 2383:1.0
10 8:0.5 38:0.5 62:1.0 79:1.0 80:1.0 161:1.0 199:0.3333333333333333 217:1.0 220:1.0 291:1.0 322:1.0 360:0.5 575:1.0 2237:1.0
|
ea5d3b76385292b6a3e4158ff4a64a9254c96dbf
|
665eac2bfd0d2f1d559f485375f89e8a91632c6e
|
/VOL_200/200_01/SHELL.SCI
|
9b8956ec0ad85019d95f5ccfd836de2d7688cedf
|
[] |
no_license
|
kubohisa/CUGL
|
615c29732e5fc2c6bcb29a4013be3351dc21dda6
|
75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03
|
refs/heads/main
| 2023-03-15T16:19:49.355867
| 2020-10-02T21:19:00
| 2020-10-02T21:19:00
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,816
|
sci
|
SHELL.SCI
|
#
# Small C Interpreter command shell
#
char _nr, _nc, _ro, _co, *_cp, *_el, _mhz;
putchar(c){return sys(c,2,1);}
getchar(){return sys(1,2);}
puts(b){return sys(b,2,3);}
putd(n){return printf("%d\n",n);}
putx(n){return printf("%x\n",n);}
puto(n){return printf("%o\n",n);}
gets(b){return sys(b,80,1,4);}
fputc(c,u){return sys(c,u,1);}
fgetc(u){return sys(u,2);}
fputs(b,u){return sys(b,u,3);}
fgets(b,n,u){return sys(b,n,u,4);}
sprintf(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9){sys(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,5);}
printf(a0,a1,a2,a3,a4,a5,a6,a7,a8)
{char b[128];sys(b,a0,a1,a2,a3,a4,a5,a6,a7,a8,5);puts(b);}
sscanf(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9){sys(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,6);}
scanf(a0,a1,a2,a3,a4,a5,a6,a7,a8)
{char b[128];gets(b);sys(b,a0,a1,a2,a3,a4,a5,a6,a7,a8,6);}
atoi(b){int v;sys(b,"%d",&v,6);return v;}
fopen(f,m){return sys(f,m,7);}
fread(s,l,u){return sys(s,l,u,8);}
fwrite(s,l,u){return sys(s,l,u,9);}
fclose(u){return sys(u,10);}
fseek(u,o,w){return sys(u,o,w,11);}
ftell(u){return sys(u,12);}
bdos(a,b){return sys(a,b,13);}
system(s){return sys(s,14);}
exit(){sys(15);}
strcmp(s,t){return sys(s,t,20);}
strncmp(s,t,n){return sys(s,t,n,20);}
strcpy(s,t){return sys(s,t,21);}
strncpy(s,t,n){return sys(s,t,n,21);}
strlen(s){return sys(s,22);}
malloc(n){return sys(n,23);}
free(p){sys(p,24);}
debug(n){sys(n,28);}
check(n){sys(1,n,28);}
dirscan(p,f){return sys(p,f,29);}
int86(i,e,r){return sys(i,e,r,30);}
memleft(){return sys(31);}
entry
main()
{
int f, t;
char buf[24];
char line[81];
char program[ memleft()-1024 ];
puts(sys(0));
puts("\nSCI Shell V1.5 20Oct86 Copyright (C) 1986 Bob Brodt\n");
*program='Z';
_mhz=12;
_nr=25; _nc=80;
_ro=_co=1;
_cp="\033[%d;%dH";
_el="\033[0K";
for(;;) {
puts("shell> ");
line[5]=0;
if(gets(line)) {
if (!strncmp(line,"edit",4))
sys(atoi(line+4),program,19);
else if (!strncmp(line,"list",4)) {
f=1;
t=32765;
if(line[4])
sscanf(line+4,"%d %d",&f,&t);
sys(program,f,t,27);
}
else if (!strncmp(line,"save",4))
sys(line+5,program,26);
else if (!strncmp(line,"load",4))
sys(line+5,program,25);
else if (!strncmp(line,"exit",4))
return;
else if (!strncmp(line,"dir",3)) {
if ( !line[3] )
strcpy(line+4,"*.*");
if ( dirscan(line+4,buf) ) {
printf("%s\n",buf);
while(dirscan(0,buf))
printf("%s\n",buf);
}
}
else
printf("\n%d\n",sys(line,program,16));
}
}
}
|
281e19ff8e6e80caa6d1d4e39d6614d14ed357f7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1757/CH14/EX14.2/EX14_2.sce
|
6177ca441ccbf0715449e63df332a4a6faed549f
|
[] |
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
| 360
|
sce
|
EX14_2.sce
|
//Example14.2 // to determine the current drawn from the dual power supply
clc;
clear;
close;
V = 10 ; // V
P = 500 ; // mW
// we assume that each power supply provides half power supply to IC
P1 = (P/2);
// the total power dissipation of the IC
// P1 = V*I ;
I = P1/V ;
disp('the total power dissipation of the IC is = '+string(I)+' mA ');
|
4e087bbde0cf348bf4bbbdaa067037d57b287107
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2081/CH11/EX11.7/Ex11_7.sce
|
f1df07c967dd2719b844bd25b98bca088c5cc770
|
[] |
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
| 232
|
sce
|
Ex11_7.sce
|
nuc1a=50
ncrc=3
nec1a=nuc1a+ncrc
nuc1b=132
nt=4
nec1b=nuc1b+nt
nc=nec1a+nec1b
FECr=1/2
nce=nc*1/FECr
nc2=78
net=nc2+nce
Dur=20*10^-3//duration
Gcbr=net/Dur//Gross channel bit rate
disp(Gcbr,'Gross channel bit rate in bits/sec')
|
4cbe25a3bb7e9d240facda5bdd005a4cbab607d3
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.4.1/demos/pendulum/graphics.sci
|
34b89146f575023c9000c8df22e598f79c3cfb4d
|
[
"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
| 3,261
|
sci
|
graphics.sci
|
function []=anim(x,teta)
//anim(x,teta) animated plot
//!
// Copyright INRIA
lc=l/4,
hc=l/5,
maxp=maxi(x+l*sin(teta));minp=mini(x+l*sin(teta));
maxx=maxi([x,maxp]);minx=mini([minp,x])
rect=[minx,-l,maxx,l]
xset("thickness",2);
[m,n]=size(x);
isoview(minx,maxx,-l,l+hc);
if driver()<>'Pos' then
xset("alufunction",6);
for k=1:n,dpnd1(x(k),teta(k));dpnd1(x(k),teta(k));end;
xset("alufunction",3);
else
xset('pixmap',1)
rect=[minx,-l,maxx,l+hc]
for k=1:3:n,
xpoly(rect([1 3 3 1]),rect([2,2,4,4]),'lines',1)
dpnd1(x(k),teta(k))
xset('wshow')
end
xset('pixmap',0)
end
xset("thickness",1);
function []=dpnd()
//dpnd() scheme of experiment
//!
isoview(0,100,0,100);
lc=20,
hc=10,
lb=40,
teta=.25,
xg=40,
y1=25,
y2=y1+hc,
yg=y1+hc/2,
x1=xg-lc/2;x2=xg+lc/2,
xpoly([x1 x2 x2 x1 x1],[y1,y1,y2,y2,y1],"lines",1),
xsegs([xg,xg+lb*sin(teta)],[y2,y2+lb*cos(teta)]),
xarc(x1+lc/10-2.5,y1-2.5+2.5,5,5,0,360*64);
xarc(x2-5+lc/10-2.5,y1-2.5+2.5,5,5,0,360*64);
xsegs([10 90],[y1-5 y1-5]);
xarrows([x2 x2+10],[yg yg],3.0);
xstring(x2+20,yg,'u (force)',0,0);
xset("dashes",1);xsegs([xg xg],[y2 y2+lb]);xstring(xg,y2+lb,' teta',0,0);
xset("default");
function []=dpnd1(x,theta)
//dpnd() scheme
//!
lc=l/4,
hc=l/5,
xg=x,
y1=0,
y2=y1+hc,
yg=y1+hc/2,
x1=xg-lc/2;x2=xg+lc/2,
xpoly([x1 x2 x2 x1 x1],[y1,y1,y2,y2,y1],"lines",1),
xsegs([xg,xg+l*sin(theta)],[y2,y2+l*cos(theta)]),
r=lc/4
xarc(x1+lc/10,y1,r,r,0,360*64);
xarc(x2-r-lc/10,y1,r,r,0,360*64);
function draw(job)
[xxr,yyr]=xgetech();
wdim=xget('wdim');
[xxf]=xget("font");
xbasc();
xset("font",2,0);
xset("wdim",850,650);
hc=l/5,
if job==0 then
if driver()<>'Pos' then
xsetech([0,0,0.5,0.5]);
plot2d1("enn",1,y(1,:)');xtitle(' ','t',' position');
xsetech([0.5,0,0.5,0.5]);
plot2d1("enn",1,y(2,:)');xtitle(' ','t',' theta');
xsetech([0,0.5,1.0,0.5]);
anim(100*y(1,:),100*y(2,:)),
else
xset('pixmap',1)
x=100*y(1,:);teta=100*y(2,:);
maxp=maxi(x+l*sin(teta));minp=mini(x+l*sin(teta));
maxx=maxi([x,maxp])+hc;minx=mini([minp,x])
[m,n]=size(x);
for k=1:3:n,
xsetech([0,0,0.5,0.5]);
plot2d1("enn",1,y(1,:)');xtitle(' ','t',' position');
xsetech([0.5,0,0.5,0.5]);
plot2d1("enn",1,y(2,:)');xtitle(' ','t',' theta');
xsetech([0,0.5,1.0,0.5]);
isoview(minx,maxx,-l,l);
dpnd1(x(k),teta(k))
xset('wshow')
end
xset('pixmap',0)
end
else
if driver()<>'Pos' then
xsetech([0,0,0.5,0.5]);
plot2d(t1',(kr*yd(5:8,:))');xtitle(' ','time','control');
xsetech([0.5,0,0.5,0.5]);
plot2d([t1;t1]',yd([3,7],:)',[1,2],"121",'theta@theta estimated');
xsetech([0,0.5,1.0,0.5]);
anim(yd(1,:),yd(3,:))
else
xset('pixmap',1)
x=100*yd(1,:);teta=100*yd(2,:);
maxp=maxi(x+l*sin(teta));minp=mini(x+l*sin(teta));
maxx=maxi([x,maxp])+hc;minx=mini([minp,x])
[m,n]=size(x);
for k=1:3:n,
xsetech([0,0,0.5,0.5]);
plot2d(t1',(kr*yd(5:8,:))');xtitle(' ','time','control');
xsetech([0.5,0,0.5,0.5]);
plot2d([t1;t1]',yd([3,7],:)',[1,2],"121",'theta@theta estimated');
xsetech([0,0.5,1.0,0.5]);
isoview(minx,maxx,-l,l);
dpnd1(x(k),teta(k))
xset('wshow')
end
xset('pixmap',0)
end
end
xsetech(xxr); xset("font",xxf(1),xxf(2));
|
b9fd8aaf7c2ccaf3ce2b8b8d2739c6fc262252f1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/278/CH20/EX20.8/ex_20_8.sce
|
d4ecae7c13005f21a1e429aa62a2f842193312e3
|
[] |
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
| 443
|
sce
|
ex_20_8.sce
|
//find..
clc
//soltuion
//given
P=600*1000//W
d=4//m
N=90//rpm
q=2.8//rad
B=22.5//deg
u=0.28
m=1.5//kg/m
T=2400//N
v=(%pi*N*d)/60//m/s
Tc=m*v^2//N
printf("the centrifugl tension is,%f N\n",Tc)
T1=T-Tc//N
//log(T1/T2)=u*q*cosec(%pi/180*B)=0.8907
T2=T1/7.78//N
Ppb=(T1-T2)*v//W
printf("power tranmited per belt is,%f W\n",Ppb)
//n=P/Ppb//
printf("the number of belts are,%f \n",P/Ppb)
printf("number of belts are say 20\n")
|
819e3cbbc9f216fd6ef59bc11a7bae173e077228
|
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
|
/tests/test_ods_fsed_5_c.tst
|
dbd67d3935b4b7059078b8a6cf42163eac430ec5
|
[
"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
| 123
|
tst
|
test_ods_fsed_5_c.tst
|
cd
/
label yyy
file_add yyy mnemonics.txt
branch objects
xxx (289 B)
yyy (13.1 kB)
file_get yyy test_ods_fsed_5_c.tmp
exit
|
da62957df99898cadf37fdca6f6c5ecf32f800ef
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2168/CH25/EX25.17/Chapter25_example17.sce
|
41e9efeab113eb917da72e21c64e95d39ed0135f
|
[] |
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
| 2,888
|
sce
|
Chapter25_example17.sce
|
clc
clear
//Input data
T1=15+273//Inlet temperature of air in K
p1=1.03//Inlet pressure of air in kg/cm^2
rp=5//Pressure ratio
T3=815+273//Temperature of air entering the turbine in K
nc=0.83//Adiabatic efficiency of the compressor
nt=0.92//Internal engine efficiency of the turbine
nr=0.65//Effectiveness of regenerator
p2=2.45//Pressure in kg/cm^2
T6=T1//Temperature in K
T9=T3//Temperature in K
Cp=0.24//Specific heat at constant pressure in kJ/kg.K
g=1.4//Ratio of specific heat
//Calculations
T2=(T1*rp^((g-1)/g))//Temperature in K
T4=(T3/rp^((g-1)/g))//Temperature in K
Wt=(Cp*(T3-T4))//Isentropic work done in the turbine in kcal/kg of air
Wc=(Cp*(T2-T1))//Isentropic work done in the compressor in kcal/kg of air
Wr=(Wt/Wc)//Work ratio
qa=(Cp*(T3-T2))//Heat added in kcal/kg of air
nth=((Wt-Wc)/qa)*100//Thermal efficiency in percent
T2i=(T1+((T2-T1)/nc))//Temperature in K
T4i=(T3-(nt*(T3-T4)))//Temperature in K
Wti=(Cp*(T3-T4i))//work done in the turbine in kcal/kg of air
Wci=(Cp*(T2i-T1))//work done in the compressor in kcal/kg of air
Wri=(Wti/Wci)//Work ratio
qai=(Cp*(T3-T2i))//Heat added in kcal/kg of air
nthi=((Wti-Wci)/qai)*100//Thermal efficiency in percent
T2ii=(T2i+((T4i-T2i)*nr))//Temperature in K
qaii=(Cp*(T3-T2ii))//Heat added in kcal/kg of air
nthii=((Wti-Wci)/qaii)*100//Thermal efficiency in percent
T5=(T1*(p2/p1)^((g-1)/g))//Temperature in K
T5i=(T1+((T5-T1)/nc))//Temperature in K
T7=(T1*((rp*p1)/p2)^((g-1)/g))//Temperature in K
T7i=(T6+((T7-T6)/nc))//Temperature in K
T7ii=(T7i+((T4i-T7i)*nr))//Temperature in K
Wcomp=(Cp*((T5i-T1)+(T7i-T6)))//Compressor work in kcal/kg of air
Wratio=(Wti/Wcomp)//Work ratio
qaa=(Cp*(T3-T7ii))//Heat added in kcal/kg of air
nthe=((Wti-Wcomp)/qaa)*100//Thermal efficiency in percent
T8=(T3*(p2/(rp*p1))^((g-1)/g))//Temperature in K
T8i=(T3-((T3-T8)*nt))//Temperature in K
T10=(T9/(p2/p1)^((g-1)/g))//Temperature in K
T10i=(T9-((T9-T10)*nt))//Temperature in K
T2iii=(T2i+((T10i-T2i)*nr))//Temperature in K
Wturb=(Cp*((T3-T8i)+(T3-T10i)))//Compressor work in kcal/kg of air
Wratioi=(Wturb/Wci)//Work ratio
qaai=(Cp*((T3-T2iii)+(T9-T8i)))//Heat added in kcal/kg of air
nthei=((Wturb-Wci)/qaai)*100//Thermal efficiency in percent
T7iii=(T7i+((T10i-T7i)*nr))//Temperature in K
Wratioii=(Wturb/Wcomp)//Work ratio
qaaii=(Cp*((T3-T7iii)+(T9-T8i)))//Heat added in kcal/kg of air
ntheii=((Wturb-Wcomp)/qaaii)*100//Thermal efficiency in percent
//Output
printf('Condition Work ratio Thermal efficiency(in percent)\n (a) %3.3f %3.1f\n (b) %3.2f %3.1f\n (c) %3.2f %3.1f\n (d) %3.2f %3.1f\n (e) %3.3f %3.1f\n (f) %3.3f %3.1f',Wr,nth,Wri,nthi,Wri,nthii,Wratio,nthe,Wratioi,nthei,Wratioii,ntheii)
|
067bcafbf7879d6f289444b313288ad9304370f4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3862/CH3/EX3.6/Ex3_6.sce
|
7f1930dc4128803c6e48f22735e49789adcef529
|
[] |
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,647
|
sce
|
Ex3_6.sce
|
clear
//
//variable declaration
AB=2.0 //length of beam AB,m
BD=2.0 //length of beam BD,m
DF=2.0 //length of beam DF,m
FH=3.0 //length of beam FH,m
FG=4.0 //length of beam FG,m
PF=12.0 //Vertical Load at point F,KN
PH=20.0 //Vertical Load at point H,KN
//mistake in book FG=4.0 , given FG=2.0
theta1=atan(FG/(AB+BD+DF))
theta3=atan(FG/FH)
theta2=theta3
//sum of all vertical forces & sum of all horizotal forces is zero
//joint H
FHG=PH/sin(theta3)
printf("\n FHG= %0.0f KN (Comp.)",FHG)
FHF=FHG*cos(theta2)
printf("\n FHF= %0.0f KN (Tension)",FHF)
//taking moment at G
RA=PH*FH/(AB+BD+DF)
RG=RA+PF+PH
//joint A
//sum of all vertical forces & sum of all horizotal forces is zero
FAC=RA/sin(theta1)
printf("\n FAC= %0.4f KN (Comp.)",FAC)
FAB=FAC*cos(theta1)
printf("\n FAB= %0.0f KN (Tension)",FAB)
//joint B
//sum of all vertical forces & sum of all horizotal forces is zero
FBC=0
printf("\n FBC= %e ",FBC)
FBA=FAB
FBD=FBA
printf("\n FBD=FBA %0.0f KN (Tension)",FBD)
//Joint C: Sum of Forces normal to AC = 0, gives FCD =0 since FBC = 0 ,sum of Forces parallel to CE =0
FCA=FAC
FCE=FCA
printf("\n FCE=FCA %0.4f KN (Comp.)",FCE)
//joint D
//sum of all vertical forces & sum of all horizotal forces is zero
FDE=0
printf("\n FDE= %e ",FDE)
FDB=FBD
FDF=FDB
printf("\n FDF=FDB %0.0f KN (Tension)",FDF)
//Joint E: sum of Forces normal to CG = 0, gives FEF = 0 and sum of Forces in the direction of CG = 0, gives
FEF=0
FEG=FCE
printf("\n FEG=FCE= %0.4f KN (Comp.)",FEG)
//Joint F:
//sum of all vertical forces & sum of all horizotal forces is zero
FFG=PF
printf("\n FFG= %0.0f KN (Tension)",FFG)
|
50abbe849c73153e10d3a0dfcb5d86a63390d305
|
f8551f1c22ee634be672d893e6755b100f0d1994
|
/ICP/rotation.sci
|
d11c36c7cd86ee5455eb1e3fb86aab3935be1f82
|
[] |
no_license
|
yanisdxw/computer-vision
|
ed605061a632ae0c7536007de6f83e2ff5ee1d51
|
e9bd0961194f2e4290211296dbe6268ecad8f1c1
|
refs/heads/master
| 2021-08-23T05:30:24.864657
| 2017-12-03T17:05:35
| 2017-12-03T17:05:35
| 111,726,798
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 118
|
sci
|
rotation.sci
|
function X_rot=rotation(X,R)
[n,l]=size(X)
for i = 1:n
X_rot(i,:)=X(i,:)*R;
end
endfunction
|
b146b38601d38873639c4d7491f00f53305c4b4a
|
13d93c2922005af35056d015f1ae3ebebe05ee31
|
/scilab/physique/elec/1er_ordre.sce
|
b80d6172c1a9236af511b5d181b39e2a4ca65283
|
[] |
no_license
|
scls19fr/openphysic
|
647cc2cdadbdafd050d178e02bc3873bd2b07445
|
67bdb548574f4feecb99b60995238f12f4ef26da
|
refs/heads/master
| 2021-04-30T23:16:26.197961
| 2020-11-16T20:21:17
| 2020-11-16T20:21:17
| 32,207,155
| 1
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 138
|
sce
|
1er_ordre.sce
|
clear();
xbasc();
xdel();
tau = 5;
t=0:0.1:30;
u=exp(-t/tau);
legends('tau = 5s',2,1);
xtitle('1er ordre','t (s)','U (V)')
plot(t,u,t,0);
|
220fb2cf7c3b580cb52fda9c63c765eb7dfd54a2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1835/CH2/EX2.4/Ex2_4.sce
|
9f166ee850aac7f851a0e2382bcaab07783f3183
|
[] |
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,123
|
sce
|
Ex2_4.sce
|
//CHAPTER 2,ILLUSTRATION 4 PAGE 59
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//====================================================================================
//INPUT
D1=.5// DIAMETER OF 1ST SHAFT IN m
D2=.25// DIAMETER OF 2nd SHAFT IN m
C=2// CENTRE DISTANCE IN m
N1=220// SPEED OF 1st SHAFT
T1=1250// TENSION ON TIGHT SIDE IN N
U=.25// COEFFICIENT OF FRICTION
PI=3.141
e=2.71
//====================================================================================
//CALCULATION
L=(D1+D2)*PI/2+((D1+D2)^2/(4*C))+2*C
F=(D1+D2)/(2*C)
ALPHA=asind(F)
THETA=(180+(2*ALPHA))*PI/180// ANGLE OF CONTACT IN radians
T2=T1/(e^(U*THETA))// TENSION ON SLACK SIDE IN N
V=PI*D1*N1/60// VELOCITY IN m/s
P=(T1-T2)*V/1000// POWER IN kW
//====================================================================================
//OUTPUT
printf('\nLENGTH OF BELT REQUIRED =%f m',L)
printf('\nANGLE OF CONTACT =%f radians',THETA)
printf('\nPOWER CAN BE TRANSMITTED=%f kW',P)
|
a85570b25be741b96371af8c4e682f902d5559a7
|
717ddeb7e700373742c617a95e25a2376565112c
|
/866/CH14/EX14.2/14_2.sce
|
12ff51aff8c5ebb866a40345f02097885a4bb839
|
[] |
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
| 595
|
sce
|
14_2.sce
|
clc
//initialisation of variables
load= 50000 //N
torque= 1200 //Nm
d= 60//mm
t= 1.5 //mm
alpha= 60 //degrees
//CALCULATIONS
BM= load*t
axialload= (load*4)/(%pi*d^2)
bendingmoment= (BM*d*64)/(%pi*d^4*2)
Ts= axialload+bendingmoment
shearstress= (torque*10^3*d*32)/(2*%pi*d^4)
sigman= -Ts*(cosd(alpha-30))^2+shearstress*cosd(alpha-30)*sind(alpha-30)+shearstress*cosd(alpha-30)*sind(alpha-30)
T= -Ts*sind(alpha)*cosd(alpha)-shearstress*(sind(alpha))^2+shearstress*(cosd(alpha)^2)
//RESULTS
printf ('direct stress= %.1f N/mm^2',sigman)
printf (' \n Shear stress=%.1f N/mm^2',T)
|
83ff8704d998e8c754acc7b7b30aff6afb04870e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3638/CH11/EX11.3/Ex11_3.sce
|
26a94b810c80aad9d42ebd726920e9395a0c2337
|
[] |
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
|
Ex11_3.sce
|
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 11.3
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
R1=0.99;//reflection coefficient of mirror 1
R2=0.9;//reflection coefficient of mirror 2
l=10;//Distance between the two mirrors in cm
alpha=0;//average loss coefficient per unit length of resonator in cm^(-1)
Vth=alpha-log(R1*R2)/(2*l);//Corresponding threshold gain coefficient in cm^(-1)
mprintf("\n The threshold gain coefficient = %e cm^-1",Vth);//The answers vary due to round off error
|
7c8185858bc819afe3b50d77abdde4783c471899
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3012/CH13/EX13.5/Ex13_5.sce
|
7aee332ddce95c6189860369d1ad0076df2f4b3a
|
[] |
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,125
|
sce
|
Ex13_5.sce
|
// Given:-
// When expressed on a per mole of fuel basis, the balanced chemical equation obtained in the solution to Example 13.2 takes the form
// CH4 + 2.265O2 + 8.515N2 ----- .951CO2 + .049CO + .289O2 + 8.515N2 + 2H2O
cpbar = 38.00 // specific heat in KJ/kmol.K
// From table A-25
hfnotbar = -74850.00 // enthalpy of formation for methane
// From table A-23
deltahbarO2 = 14770-8682
deltahbarN2 = 14581-8669
// Calculations
hRbar = hfnotbar + cpbar*(400-298) + 2.265*deltahbarO2 + 8.515*deltahbarN2 // in kj/kmol
// With enthalpy of formation values for CO2, CO, and H2O(g) from Table A-25 and enthalpy values from Table A-23
hpbar = .951*(-393520 + (88806 - 9364)) + .049*(-110530 + (58191 - 8669)) + .289*(60371 - 8682) + 8.515*(57651 - 8669) + 2*(-241820 + (72513 - 9904))
Qcvdot = hpbar - hRbar // in kj/kmol
// Result
printf( ' The rate of heat transfer from the combustion chamber in kJ per kmol of fuel is: %.2f',Qcvdot)
|
46e45736601579a0a388a88a7332f27c118bfd5c
|
68e53df229b123d7681a4f7fa4db43b4982d5362
|
/parallel.sci
|
e1b5803949b765b57029f0dc9313d9e500d9e12a
|
[] |
no_license
|
yeoleparesh/Control-system
|
06c30e594d51fec7a8ffabc452a7866b38604a23
|
dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b
|
refs/heads/master
| 2021-01-17T12:38:05.661769
| 2019-01-03T12:03:53
| 2019-01-03T12:03:53
| 59,283,431
| 0
| 3
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 16,058
|
sci
|
parallel.sci
|
function [varargout]=parallel(varargin)
//function parallel
//Parallel connection of two input/output models.
// |--------|
// | |--------->z1
// v1-------->| SYS1 |
// u1 +-->| |----+ y1
// | |--------| |
// | o------>y
// u---->+ |
// | |--------| |
// u2 +-->| |----+ y2
// | SYS2 |
// v2------->| |---------->z2
// |--------|
//
//SYS=PARALLEL(SYS1,SYS2) connects the input/output models SYS1 and SYS2 in
// parallel.All the inputs SYS1 and SYS2 are connected correspondingly and corresponding
// O/P are summed.If one of the system is SISO and other is MIMO then for every MIMO
// corresponding system for i/p and o/p the SISO system is paralleled.
//
// SYS = PARALLEL(SYS1,SYS2,IN1,IN2,OUT1,OUT2) connects the input/output models
// SYS1 and SYS2 in parallel. The inputs specified by IN1 and IN2 are connected
// and the outputs specified by OUT1 and OUT2 are summed.The vectors IN1 and IN2 contain
// indices into the input vectors of M1 and M2, respectively, and define
// the input channels u1 and u2 in the diagram. Similarly, the vectors
// OUT1 and OUT2 contain indexes into the outputs of M1 and M2.
//
//[A,B,C,D] = PARALLEL(A1,B1,C1,D1,A2,B2,C2,D2) produces a state-
// space system consisting of the parallel connection of systems 1
// and 2 that connects all the inputs together and sums all the
// outputs of the two systems, Y = Y1 + Y2 (o/p of SYS1(A1,B1,C1,D1) and SYS2(A2,B2,C2,D2)).
//
//[A,B,C,D] = PARALLEL(A1,B1,C1,D1,A2,B2,C2,D2,IN1,IN2,OUT1,OUT2)
// connects the two systems in parallel such that the inputs
// specified by IN1 and IN2 are connected and the outputs specified
// by OUT1 and OUT2 are summed. The vectors IN1 and IN2 contain
// indexes into the input vectors of system 1 and system 2,
// respectively. Similarly, the vectors OUT1 and OUT2 contain
// indexes into the outputs of the systems. The parallel connection
// is performed by appending the two systems, summing the specified
// inputs and outputs, and removing the, now redundant, inputs and
// outputs of system 2.
//
// [NUM,DEN] = PARALLEL(NUM1,DEN1,NUM2,DEN2) produces a parallel
// connection of the two transfer function systems.
//
// SYS=PARALLEL(SISOarray,'v',SYS2)
// SYS=PARALLEL(SYS2,SISOarray,'v')
// connects the input/outputs of every element in siso array with SYS2 in
// parallel.
//
// SYS=PARALLEL(SISOarray1,SISOarray2)
// connects all the tf of first SISO array to second SISO array element wise in parallel.
//Examples:-
// s=%s;sys1=syslin('c',1/(500*s^2));sys2=syslin('c',(s+1)/(s+2));
//sys=parallel(sys1,sys2);
//a1=[1 2;3 4];b1=[2 3;4 5];c1=[3 4;5 6];d1=[4 5;6 7];a2=[1 4;3 4];b2=[2 6;4 5];c2=[7 4;5 6];d2=[4 9;6 7];
//aa=syslin('c',a1,b1,c1,d1);bb=syslin('c',a2,b2,c2,d2);
// sys=parallel(aa,bb,1,2,2,1);
//[a b c d]=parallel(a1,b1,c1,d1,a2,b2,c2,d2,1,2,2,1);
//
//Author:-Paresh Yeole emailid:-yeoleparesh@students.vnit.ac.in
[lhs,rhs]=argn(0);
ni=length(varargin);
nd=length(varargout);
kk=1;
select rhs
//-----------------------------------------------------two systems case without vectors ---------------------------------------------//
case 2 then
if (and(typeof(varargin(1))<>['rational','state-space']) & and(typeof(varargin(2))<>['rational','state-space'])) then
error("parallel:Wrong type of input arguments for given no. of input arguments");
end
for i=1:2
if (varargin(i).dt=='d') then
varargin(i).dt=1;
end
end
if ((varargin(1).dt)<>(varargin(2).dt)) then
error("parallel:sampling time must agree");
end
if(size(varargin(1))<>[1 1] & size(varargin(2))<>[1 1]) then
if(size(varargin(1))<>size(varargin(2))) then
error("Incompatible sizes of the systems");
else
varargout(1)=varargin(1)+varargin(2);
end
elseif(size(varargin(1))==[1 1] & size(varargin(2))==[1 1]) then
varargout(1)=varargin(1)+varargin(2);
elseif((size(varargin(1))==[1 1] | size(varargin(2))==[1 1]) & (typeof(varargin(1))=='state-space' | typeof(varargin(2))=='state-space')) then
//disp("remain to code");
[ny1,nu1] = size(varargin(1));
[ny2,nu2] = size(varargin(2));
if(size(varargin(1))==[1 1]) then
if(typeof(varargin(1))=='state-space') then
sys=(varargin(1));
else
sys=minss(tf2ss(varargin(1)));
end
a=sysdiag(sys.a,varargin(2).a);
sys.b=sys.b*ones(size(sys.b,'c'),size(varargin(2).b,'c'));
b=cat(1,sys.b,varargin(2).b);
sys.c=ones(size(varargin(2).c,'c'),size(sys.c,'r'))*sys.c;
c=cat(2,sys.c,varargin(2).c);
d=varargin(2).d
elseif(size(varargin(2))==[1 1]) then
if(typeof(varargin(2))=='state-space') then
sys=(varargin(2));
else
sys=minss(tf2ss(varargin(2)));
end
a=sysdiag(varargin(1).a,sys.a);
sys.b=sys.b*ones(size(sys.b,'c'),size(varargin(1).b,'c'));
b=cat(1,varargin(1).b,sys.b);
// disp(b);
sys.c=ones(size(varargin(1).c,'c'),size(sys.c,'r'))*sys.c;
c=cat(2,varargin(1).c,sys.c);
d=varargin(1).d;
end
varargout(1)=syslin(varargin(1).dt,a,b,c,d);
else
varargout(1)=varargin(1)+varargin(2);
end
//-----------------------------------------------two systems case with polynomials case---------------------------------//
case 4 then
num1 = coeff(varargin(1));
den1 =coeff(varargin(2));
num2 = coeff(varargin(3));
den2 = coeff(varargin(4));
if((length(num1)<=length(den1)) & (length(num2)<=length(den2)) ) then
[nn,mn] = size(num1);
for k=1:nn
a(k,:) = conv(num1(k,:),den2) + conv(num2(k,:),den1);
b = conv(den1,den2);
end
varargout(1)=a;
varargout(2)=b;
else
error("parallel:input transfer function must be proper");
end
//----------------------------------------------two systems case with vector i/ps and o/ps--------------------------------------------//
case 6 then
/////case-parallel(sys1,sys2,inp1,inp2,out1,out2)
if (and(typeof(varargin(1))<>['rational','state-space']) & and(typeof(varargin(2))<>['rational','state-space'])) then
error("parallel:Wrong type of input arguments for given no. of input arguments");
end
for i=1:2
if (varargin(i).dt=='d') then
varargin(i).dt=1;
end
end
if ((varargin(1).dt)<>(varargin(2).dt)) then
error("parallel:sampling time must agree");
end
[e f g h]=varargin(3:6);
[ny1,nu1] = size(varargin(1));
[ny2,nu2] = size(varargin(2));
//State space systems with selection vectors
if(e>ny1 | f>ny2) then
error("parallel:specified inputs are out of range");
end
if(g>nu1 | h>nu2) then
error("parallel:specified outputs are out of range");
end
inputs1 = e; outputs1 = g;
inputs2 = f+nu1; outputs2 = h+ny1;
// [a b c d]=abcd(varargin(1));
// [a1 b1 c1 d1]=abcd(varargin(2));
//
//Check sizes
if (length(inputs1)<>length(inputs2)) then
error('Input sizes don''t match.');
elseif (length(outputs1)<>length(outputs2)) then
error('Output sizes don''t match.');
end
if(typeof(varargin(1))=='state-space' | typeof(varargin(2))=='state-space') then
if((typeof(varargin(1))<>'state-space') & (size(varargin(1),'*')<>1 | size(varargin(2),'*')<>1 ) ) then
varargin(1)=minss(tf2ss(varargin(1)));
elseif (typeof(varargin(2))<>'state-space' & (size(varargin(1),'*')<>1 | size(varargin(2),'*')<>1) ) then
varargin(2)=minss(tf2ss(varargin(2)));
end
sys=sysdiag(varargin(1),varargin(2));
a=sys.a;b=sys.b;c=sys.c;d=sys.d;
b(:,inputs1)=b(:,inputs1)+b(:,inputs2);
d(:,inputs1)=d(:,inputs1)+d(:,inputs2);
c(outputs1,:)=c(outputs1,:)+c(outputs2,:);
d(outputs1,:)=d(outputs1,:)+d(outputs2,:);
b(:,inputs2) = []; d(:,inputs2) = [];
c(outputs2,:) = []; d(outputs2,:) = [];
varargout(1)=syslin('c',a,b,c,d);
else
sys=sysdiag(varargin(1),varargin(2));
sys(:,inputs1)=sys(:,inputs1)+sys(:,inputs2);
sys(outputs1,:)=sys(outputs1,:)+sys(outputs2,:);
sys(:,inputs2) = []; sys(outputs2,:) = [];
varargout(1)=sys;
end
//-----------------------------------------------------------state-space case of 8------------------------------------------------------------------//
case 8 then
//disp("hi")
////state space systems
[a b c d]=varargin(1:4);
[a1 b1 c1 d1]=varargin(5:8);
if(size(b)<>[mtlb_size(a,1),mtlb_size(d,2)] | size(c)<>[mtlb_size(d,1),mtlb_size(a,2)] | size(d)<>[mtlb_size(c,1),mtlb_size(b,2)] | issquare(a)==%F) then
error('wrong size of matrices given for state space model');
end
if(size(b1)<>[mtlb_size(a1,1),mtlb_size(d1,2)] | size(c1)<>[mtlb_size(d1,1),mtlb_size(a1,2)] | size(d1)<>[mtlb_size(c1,1),mtlb_size(b1,2)] | issquare(a1)==%F) then
error('wrong size of matrices given for state space model');
end
[ny1,nu1] = size(d);
[ny2,nu2] = size(d1);
// State space systems w/o selection vectors
inputs1 = [1:nu1]; outputs1 = [1:ny1];
inputs2 = [1:nu2]; outputs2 = [1:ny2];
//Check sizes
if (length(inputs1)<>length(inputs2)) then
error('Input sizes don''t match.');
elseif (length(outputs1)<>length(outputs2)) then
error('Output sizes don''t match.');
end
sys1=syslin('c',a,b,c,d);
sys2=syslin('c',a1,b1,c1,d1);
sys=sys1+sys2;
varargout(1)=sys.a;
varargout(2)=sys.b;
varargout(3)=sys.c;
varargout(4)=sys.d;
//-------------------------------------------------------Case of 12 - state-space matrices--------------------------------------------------------------------------------//
case 12 then
[a b c d]=varargin(1:4);
[a1 b1 c1 d1]=varargin(5:8);
if(size(b)<>[mtlb_size(a,1),mtlb_size(d,2)] | size(c)<>[mtlb_size(d,1),mtlb_size(a,2)] | size(d)<>[mtlb_size(c,1),mtlb_size(b,2)] | issquare(a)==%F) then
error('wrong size of matrices given for state space model');
end
if(size(b1)<>[mtlb_size(a1,1),mtlb_size(d1,2)] | size(c1)<>[mtlb_size(d1,1),mtlb_size(a1,2)] | size(d1)<>[mtlb_size(c1,1),mtlb_size(b1,2)] | issquare(a1)==%F) then
error('wrong size of matrices given for state space model');
end
[ny1,nu1] = size(d);
[ny2,nu2] = size(d1);
[e f g h]=varargin(9:12);
if(e>ny1 | f>ny2) then
error("parallel:specified inputs are out of range");
end
if(g>nu1 | h>nu2) then
error("parallel:specified outputs are out of range");
end
//State space systems with selection vectors
inputs1 = e; outputs1 = g;
inputs2 = f+nu1; outputs2 = h+ny1;
//Check sizes
if (length(inputs1)<>length(inputs2)) then
error('Input sizes don''t match.');
elseif (length(outputs1)<>length(outputs2)) then
error('Output sizes don''t match.');
end
sys1=syslin('c',a,b,c,d);
sys2=syslin('c',a1,b1,c1,d1);
//sys=sys1+sys2;
sys=sysdiag(sys1,sys2);a=sys.a;b=sys.b;c=sys.c;d=sys.d;
b(:,inputs1)=b(:,inputs1)+b(:,inputs2);
d(:,inputs1)=d(:,inputs1)+d(:,inputs2);
c(outputs1,:)=c(outputs1,:)+c(outputs2,:);
d(outputs1,:)=d(outputs1,:)+d(outputs2,:);
b(:,inputs2) = []; d(:,inputs2) = [];
c(outputs2,:) = []; d(outputs2,:) = [];
varargout(1)=a;
varargout(2)=b;
varargout(3)=c;
varargout(4)=d;
case 3 then
if (and(typeof(varargin(1))<>['rational','state-space']) & and(typeof(varargin(2))<>['rational','state-space','string']) & and(typeof(varargin(3))<>['rational','state-space','string'])) then
error("parallel:Wrong type of input arguments and string v is expected to pass with SISO array with MIMO/SISO ");
end
// if(typeof(varargin(2))<>'rational') then
// error("parallel:to pass SISO array with MIMO SISO array must be the 2nd i/p argument");
// end
for i=1:3
if(typeof(varargin(i))=='string') then
sisoindex=i;
continue;
end
if (varargin(i).dt=='d') then
varargin(i).dt=1;
end
end
if(varargin(sisoindex)<>'v') then
error("parallel:string v is expected as after SISO array with MIMO/SISO systems");
end
sisoarray=varargin(sisoindex-1);
if(sisoindex==2) then
if ((varargin(1).dt)<>(varargin(3).dt)) then
error("parallel:sampling time must agree");
end
mimo=varargin(3);
if(typeof(varargin(3))=='rational') then
mimo=minss(tf2ss(varargin(3)));
end
elseif(sisoindex==3) then
if ((varargin(1).dt)<>(varargin(2).dt)) then
error("parallel:sampling time must agree");
end
mimo=varargin(1);
if(typeof(varargin(1))=='rational') then
mimo=minss(tf2ss(varargin(1)));
end
end
for i=1:size(sisoarray,'r')
for j=1:size(sisoarray,'c')
for k=1:size(sisoarray,3)
sys=minss(tf2ss(sisoarray(i,j,k)));
a=sysdiag(mimo.a,sys.a);
sys.b=sys.b*ones(size(sys.b,'c'),size(mimo,'c'));
b=cat(1,mimo.b,sys.b);
sys.c=ones(size(mimo,'c'),size(sys.c,'r'))*sys.c;
c=cat(2,mimo.c,sys.c);
d=sys.d+mimo.d;
t=syslin(varargin(1).dt,a,b,c,d);
disp(msprintf(gettext("OUTPUT--%d*%d*%d"),i,j,k))
disp(t);
//kk=kk+1;
end
end
end
varargout(1)=(msprintf(gettext("%d*%d*%d state-space array"),size(sisoarray,'r'),size(sisoarray,'c'),size(sisoarray,3)));
else
error("Wrong No. of i/p arguments");
end;
endfunction
//
//_________________________________________________________
|
bdf5d107a9dbd6d74cd8f760d89eaac897787e3f
|
f04d3d47f893de08cd99a31b4870112915b80d5b
|
/Datasets/segment/data1.tst
|
963d1ba9ebd52a4e6452ab2de0cb95719e2f965a
|
[] |
no_license
|
MesumRaza/MyWorkInPython
|
f5364b8514943e44c7200123653da9f4551251b1
|
bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330
|
refs/heads/master
| 2021-08-19T21:46:41.412995
| 2017-11-27T13:37:52
| 2017-11-27T13:37:52
| 111,728,604
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 37,316
|
tst
|
data1.tst
|
0.857708 0.695833 0 0.333333 0 0.0285171 0.000552296 0.0248447 0.000392642 0.415698 0.382496 0.498527 0.359314 0.472015 0.627059 0.148008 0.498527 0.318996 0.168487class5
0.442688 0.495833 0 0 0 0.00950571 0.000253019 0.00745341 0.000263392 0.00619675 0 0.0169367 0.000779422 0.789179 0.184706 0.538899 0.0169367 1 0.154604class2
0.794466 0.125 0 0 0 0.0323195 0.00077865 0.0248447 0.000739793 0.857733 0.816045 0.926362 0.82385 0.272388 0.663529 0.29222 0.926362 0.199347 0.124945class1
0.12253 0.675 0 0 0 0.0589354 0.00179647 0.201242 0.0048686 0.303899 0.288493 0.350515 0.268901 0.630597 0.427059 0.309298 0.350515 0.266914 0.175487class5
0.237154 0.775 0 0 0 0.0494296 0.00152801 0.0583851 0.00138889 0.345727 0.322528 0.407953 0.301637 0.563433 0.511765 0.240987 0.407953 0.302925 0.171556class5
0.58498 0.725 0 0 0 0.0532319 0.00107697 0.068323 0.00138889 0.343919 0.330632 0.394698 0.302416 0.632463 0.456471 0.259962 0.394698 0.275889 0.183224class5
0.774704 0.908333 0 0 0 0.0475285 0.00158722 0.0260869 0.000408753 0.123677 0.102917 0.118557 0.14887 0.651119 0.136471 0.757116 0.140648 0.335717 0.956204class6
0.110672 0.416667 0 0 0 0.013308 0.000242751 0.0136646 0.000109535 0.0376969 0.0502431 0.0419735 0.0210444 0.908582 0.161176 0.455408 0.0456554 0.564153 0.360322class0
0 0.291667 0 0 0 0.41635 0.269689 0.206211 0.148134 0.148722 0.102107 0.202504 0.136399 0.464552 0.424706 0.481973 0.202504 0.595282 0.101696class2
0.268775 0.308333 0 0.333333 0 0.106464 0.00827595 0.0881987 0.00680988 0.149497 0.149109 0.186303 0.110678 0.783582 0.343529 0.288425 0.186303 0.437404 0.232395class0
0.596838 0.3 0 0 0 0.152091 0.00133885 0.021118 0.000490803 0.18487 0.170178 0.220177 0.161341 0.673507 0.344706 0.398482 0.220177 0.307415 0.164678class3
0.976285 0.591667 0 0 0 0.00950571 6.34888e-05 0.00248447 2.1373e-05 0.00258198 0 0.00736377 0 0.815299 0.155294 0.559772 0.00736377 0.888889 0.159449class4
0.537549 0.541667 0 0 0 0.00190116 0.000137219 0.00124225 9.81607e-05 0.000258198 0 0.000736376 0 0.83209 0.134118 0.57685 0.000736376 0.111111 0.159449class4
0.335968 0.775 0 0.333333 0.5 0.0551331 0.00146381 0.0285715 0.00079625 0.440744 0.410049 0.515464 0.390491 0.481343 0.594118 0.191651 0.515464 0.285333 0.163876class5
0.865613 0.870833 0 0.333333 0 0.0779468 0.00113906 0.0509317 0.00299485 0.0449264 0.041329 0.0353461 0.0584567 0.794776 0.0964706 0.675522 0.0552283 0.427354 0.844189class6
0.814229 0.433333 0 0 0 0.0361217 0.000332383 0.00372672 2.40441e-05 0.00852053 0.00324149 0.0191458 0.00233827 0.794776 0.184706 0.533207 0.0191458 0.933333 0.164293class4
0.0197628 0.166667 0 0 0 0.0570342 0.0020167 0.0360248 0.00152013 0.136587 0.136953 0.170103 0.100546 0.79291 0.324706 0.309298 0.170103 0.442861 0.2288class0
0.798419 0.7125 0 0 0 0.127376 0.00259848 0.0807453 0.00122995 0.382907 0.360616 0.451399 0.331255 0.557836 0.550588 0.184061 0.451399 0.306722 0.178595class5
0.956522 0.454167 0 0 0 0.152091 0.00439616 0.0347826 0.0013228 0.333592 0.32658 0.373343 0.29774 0.679104 0.401176 0.301708 0.373343 0.245321 0.190281class3
0.573123 0.358333 0 0 0 0.346008 0.0046363 0.0136646 0.000414139 0.334366 0.335494 0.360088 0.305534 0.735075 0.334118 0.352941 0.360088 0.197115 0.202033class3
0.72332 0.558333 0 0 0 0.0247148 0.000616723 0.00496894 0.000196321 0.00387297 0.00243112 0.00810015 0.000779422 0.822761 0.152941 0.555977 0.00810015 0.527778 0.188567class4
0.699605 0.4875 0 0 0 0.0152091 0.000343586 0.0198758 0.000149609 0.0413116 0.0575365 0.0427099 0.0241621 0.932836 0.148235 0.451613 0.0522828 0.563713 0.389963class0
0.517787 0.5125 0 0 0 0.0912548 0.00318191 0.0335404 0.00111405 0.043119 0.0162075 0.0758468 0.0342946 0.634328 0.298824 0.512334 0.0758468 0.833935 0.110391class2
0.324111 0.0708333 0 0 0 0.013308 0.000137217 0.0198757 0.000328509 0.787503 0.725284 0.868925 0.759938 0.152985 0.708235 0.341556 0.868925 0.241511 0.110178class1
0.494071 0.941667 0 0 0 0.0323194 0.000242751 0.0223602 0.00035265 0.0402789 0.0307942 0.0279823 0.0623539 0.755597 0.082353 0.73814 0.0589102 0.553812 0.863136class6
0.885375 0.195833 0 0 0 0.0114069 0.000425158 0.0099379 0.000248328 0.0580945 0.0405186 0.0935199 0.0374123 0.69403 0.315294 0.425047 0.0935199 0.622222 0.163785class4
0.0513834 0.454167 0 0 0 0.0114068 0.000134446 0.00993788 0.000213727 0.0111025 0 0.0257732 0.00623539 0.753731 0.204706 0.542695 0.0257732 1 0.122292class2
0.0158103 0.829167 0 0 0.5 0.0741445 0.00168394 0.0993789 0.00188509 0.357604 0.331442 0.426362 0.309431 0.539179 0.545882 0.210626 0.426362 0.317566 0.171788class5
0.3083 0.2125 0 0 0 0.0190114 0.000388401 0.0198757 0.000438139 0.768138 0.734198 0.842415 0.720966 0.354478 0.669412 0.199241 0.842415 0.208013 0.145388class1
0.0671937 0.3 0 0 0.5 0.211027 0.0100723 0.288199 0.0207636 0.100181 0.0656402 0.150221 0.0802806 0.563433 0.395294 0.428843 0.150221 0.664785 0.129262class2
0.841897 0.979167 0 0 0 0.0969582 0.00193377 0.0670807 0.00143462 0.122128 0.103728 0.102356 0.160561 0.66791 0.0658824 0.85389 0.151694 0.391548 0.885904class6
0.367589 0.5375 0 0 0 0.00570343 3.36114e-05 0.00745341 3.20588e-05 0.0211722 0.012966 0.0405007 0.00857365 0.770522 0.229412 0.485769 0.0405007 0.797884 0.177685class4
0.209486 0.545833 0 0 0 0.0247148 0.000834671 0.0447205 0.0015207 0.0126517 0.00648298 0.0243004 0.00623539 0.787313 0.190588 0.531309 0.0243004 0.769444 0.159449class4
0.418972 0.5625 0 0 0 0.0646388 0.00101582 0.047205 0.000951085 0.14898 0.122366 0.196613 0.123928 0.602612 0.395294 0.388994 0.196613 0.432786 0.1476class3
0.363636 0.9375 0 0.333333 0 0.0608365 0.00271881 0.0447205 0.000673241 0.0872708 0.0696921 0.0714286 0.120811 0.684701 0.0764706 0.819734 0.114138 0.447247 0.89167class6
0.964427 0.991667 0 0 0 0.0684411 0.00129965 0.0335404 0.000440812 0.102763 0.0786062 0.10162 0.127046 0.634328 0.150588 0.751423 0.120029 0.406212 0.971641class6
0.185771 0.675 0 0 0 0.039924 0.00107872 0.0322981 0.00118445 0.134005 0.119935 0.108984 0.173811 0.69403 0.0435294 0.863378 0.164212 0.349656 0.863527class6
0.940711 0.4625 0 0 0 0.00950571 6.34888e-05 0.00745341 0.000128236 0.0387297 0.0510535 0.0441826 0.0210444 0.906716 0.167059 0.447818 0.0478645 0.581349 0.350992class0
0.72332 0.558333 0 0 0 0.0323194 0.000494751 0.0397516 0.000674385 0.0237542 0.0170178 0.0382916 0.014809 0.779851 0.207059 0.512334 0.0382916 0.656614 0.169167class4
0.426877 0.5625 0 0 0 0.00190116 0.000137219 0.00124225 9.81607e-05 0.000258198 0 0.000736376 0 0.83209 0.134118 0.57685 0.000736376 0.111111 0.159449class2
0.434783 0.979167 0 0 0 0.108365 0.00211246 0.130435 0.00296731 0.18048 0.153971 0.148748 0.239283 0.593284 0.022353 1 0.226068 0.388973 0.882741class6
0.608696 0.120833 0 0 0 0.0646388 0.00209006 0.00124225 9.81607e-05 0.00877872 0.0089141 0.0103093 0.00701481 0.83209 0.141176 0.565465 0.0103093 0.116667 0.24735class4
0.754941 0.608333 0 0 0 0.0361217 0.000511645 0.0173913 0.00011755 0.127808 0.101297 0.114138 0.167576 0.610075 0.0964706 0.863378 0.158321 0.418184 0.920448class6
0.822134 0.991667 0 0 0 0.0836502 0.00365994 0.0621118 0.00303493 0.0733282 0.0551053 0.0537555 0.111458 0.684701 0.0552941 0.85389 0.105302 0.533307 0.873133class6
0.462451 0.475 0 0 0 0.0114068 0.000300632 0.0198758 0.000248328 0.00800413 0 0.0206186 0.00233827 0.776119 0.194118 0.537002 0.0206186 1 0.145808class2
0.166008 0.5875 0 0 0 0.0665399 0.00172167 0.0273292 0.000598437 0.0105861 0.00729336 0.0191458 0.00467654 0.807836 0.175294 0.535104 0.0191458 0.648677 0.186503class4
0.972332 0.3375 0 0 0 0.0304183 0.000522848 0.00993788 8.54912e-05 0.0841725 0.0551053 0.13623 0.0568979 0.606343 0.401176 0.375712 0.13623 0.632127 0.152153class4
0.245059 0.791667 0 0 0 0.0722434 0.00174867 0.0559006 0.00119498 0.429641 0.400324 0.506627 0.375682 0.494403 0.602353 0.165085 0.506627 0.299213 0.169568class5
0.126482 0.441667 0 0 0 0.00950571 1.86736e-05 0.00248447 2.1373e-05 0.00748774 0 0.0206186 0.000779422 0.779851 0.196471 0.529412 0.0206186 1 0.153029class2
0.462451 0.308333 0 0 0 0.112167 0.00445542 0.0509317 0.0049184 0.0570617 0.0259319 0.0986745 0.0428683 0.600746 0.344706 0.472486 0.0986745 0.774121 0.120048class2
0.474308 0.204167 0 0 0 0.0779468 0.00234908 0.0645963 0.00207315 0.186419 0.179903 0.233432 0.142634 0.729478 0.401176 0.250474 0.233432 0.4223 0.212882class0
0.857708 0.433333 0 0 0 0.0323194 0.000538487 0.00869565 0.000281089 0.160083 0.141815 0.19514 0.140296 0.656716 0.337647 0.426945 0.19514 0.339149 0.150337class4
0.822134 0 0 0 0 0.0285171 0.000257693 0.0484472 0.00278112 0.986832 0.985413 0.994845 0.978176 0.509328 0.403529 0.470588 0.994845 0.099836 0.107877class1
0.213439 0.825 0 0.333333 0 0.0627376 0.00130611 0.0310559 0.000719992 0.0872708 0.0753647 0.0684831 0.118472 0.723881 0.062353 0.802657 0.111929 0.407904 0.86347class6
0.193676 0.783333 0 0 0 0.110266 0.00300382 0.125466 0.00332965 0.388071 0.358185 0.462445 0.33749 0.503731 0.58 0.191651 0.462445 0.312414 0.167669class5
0.628458 0.125 0 0 0 0.0285171 0.000816425 0.00496894 0.000124165 0.00490576 0.00405187 0.00810015 0.00233827 0.826493 0.148235 0.559772 0.00810015 0.537037 0.201297class4
0.557312 0.5375 0 0 0 0.144487 0.00130466 0.0335404 0.000521268 0.184353 0.170989 0.214286 0.165238 0.682836 0.318824 0.43074 0.214286 0.2851 0.158426class3
0.0316206 0.345833 0 0 0 0.0209125 0.00055646 0.0223603 0.000480884 0.789052 0.779579 0.845361 0.737334 0.516791 0.588235 0.165085 0.845361 0.176789 0.172726class1
0.422925 0.5625 0 0 0 0 0 0 0 0 0 0 0 0.833955 0.131765 0.578748 0 0 0.511054class2
0.217391 0.4 0 0 0 0.0380228 0.000209139 0.10559 0.0145682 0.347276 0.337115 0.386598 0.314887 0.652985 0.402353 0.326376 0.386598 0.230455 0.176732class3
0.209486 0.6875 0 0 0 0.0722434 0.000694281 0.0596273 0.00194149 0.353215 0.335494 0.415317 0.303975 0.598881 0.512941 0.203036 0.415317 0.308573 0.183453class5
0.158103 0.383333 0 0 0 0.0836502 0.00312215 0.0397516 0.00107932 0.427059 0.408428 0.486745 0.381138 0.56903 0.518824 0.223909 0.486745 0.259607 0.174805class3
0.26087 0.520833 0 0 0 0.230038 0.00373932 0.0596273 0.00230625 0.108185 0.0656402 0.167894 0.0857366 0.505597 0.443529 0.409867 0.167894 0.660813 0.123671class2
0.980237 0.195833 0 0 0 0.0456274 0.000950682 0.00621118 0.000236402 0.0617093 0.0437601 0.0964654 0.0420889 0.690299 0.312941 0.432638 0.0964654 0.607768 0.160968class4
0.351779 0.375 0 0.333333 0 0.0304183 0.000388402 0.0385093 0.00135984 0.139943 0.148298 0.165685 0.104443 0.847015 0.288235 0.313093 0.165685 0.404038 0.255857class0
0.70751 0.8875 0 0 0 0.127376 0.00373837 0.0807453 0.00405281 0.105861 0.0850891 0.0883652 0.144193 0.656716 0.0729412 0.85389 0.13623 0.443375 0.896884class6
0.375494 0.00833333 0 0 0 0.028517 0.00048177 0.0124224 0.000149608 0.918668 0.8906 0.959499 0.901013 0.347015 0.544706 0.40797 0.959499 0.156568 0.110452class1
0.438735 0.329167 0 0 0 0.252852 0.00700356 0.0285714 0.000634636 0.454428 0.420583 0.528719 0.407638 0.455224 0.595294 0.216319 0.528719 0.278345 0.157028class3
0.84585 0.7125 0 0 0 0.0874525 0.00148298 0.0608696 0.00142991 0.377743 0.354133 0.445508 0.328137 0.550373 0.545882 0.199241 0.445508 0.30405 0.17461class5
0.885375 0.195833 0 0 0 0.0114069 0.000425158 0.0099379 0.000248328 0.0580945 0.0405186 0.0935199 0.0374123 0.69403 0.315294 0.425047 0.0935199 0.622222 0.163785class4
0.343874 0.325 0 0 0 0.0266159 0.000388402 0.0819876 0.00291737 0.155693 0.158023 0.188513 0.118472 0.800373 0.325882 0.29981 0.188513 0.403687 0.238152class0
0.355731 0.454167 0 0 0 0.0475285 0.000936716 0.0136646 0.000557012 0.11748 0.0818476 0.170839 0.0950896 0.550373 0.415294 0.409867 0.170839 0.562158 0.136545class2
0.221344 0.129167 0 0 0 0.0798479 0.000876485 0.0223602 0.000504358 0.261038 0.23906 0.316642 0.222915 0.598881 0.46 0.288425 0.316642 0.334662 0.170334class3
0.83004 0.495833 0 0 0 0 0 0 0 0 0 0 0 0.833955 0.131765 0.578748 0 0 0.511054class4
0.142292 0.454167 0 0 0 0.0285171 0.00034732 0.0236025 0.000333949 0.0134263 0.00162074 0.0294551 0.00779423 0.748134 0.211765 0.537002 0.0294551 0.962963 0.125253class2
0.209486 0.5375 0 0.333333 0 0.0247148 0.000446753 0.0397516 0.000755262 0.0580945 0.0275527 0.0927835 0.0506625 0.604478 0.311765 0.521822 0.0927835 0.73447 0.101039class2
0.762846 0.254167 0 0 0 0.0342205 0.000403338 0.026087 0.000825519 0.651433 0.577796 0.776141 0.589244 0.117537 0.883529 0.0948767 0.776141 0.323421 0.137392class1
0.335968 0.320833 0 0.333333 0 0.0703422 0.00190093 0.0385093 0.00244985 0.147431 0.156402 0.174521 0.109899 0.848881 0.296471 0.297913 0.174521 0.405118 0.257128class0
0.27668 0.704167 0 0.333333 0 0.0418251 0.000567664 0.0670807 0.00134648 0.155693 0.133712 0.142121 0.190959 0.632463 0.103529 0.829222 0.180412 0.327383 0.923002class6
0.498024 0.454167 0 0.333333 0 0.0570342 0.000851497 0.0720497 0.00290669 0.164988 0.161264 0.201767 0.129384 0.755597 0.347059 0.311195 0.201767 0.394863 0.214766class0
0.549407 0.470833 0 0 0 0.0342205 0.000448156 0.0248447 0.000758732 0.0175574 0.00162074 0.0405007 0.00857365 0.718284 0.245882 0.512334 0.0405007 0.973765 0.130394class2
0.185771 0.291667 0 0 0 0.0209125 0.000242753 0.0198758 0.000309904 0.787245 0.770664 0.854197 0.731099 0.468284 0.638824 0.132827 0.854197 0.19308 0.169674class1
0.0513834 0.529167 0 0 0 0.0171103 0.000123243 0.0111801 5.61036e-05 0.0345985 0.0494327 0.0360825 0.0187062 0.925373 0.147059 0.461101 0.044919 0.603836 0.389695class0
0.379447 0.495833 0 0 0 0.0247148 0.000511644 0.0236025 0.000494244 0.0407953 0.0534846 0.0456554 0.0233827 0.908582 0.164706 0.449715 0.05081 0.570106 0.349378class0
0.43083 0.7125 0 0 0 0.0817491 0.001809 0.0571429 0.00112436 0.323264 0.311183 0.373343 0.281372 0.647388 0.448235 0.258065 0.373343 0.287646 0.187039class5
0.964427 0.945833 0 0.333333 0 0.0570342 0.00255979 0.0521739 0.00176033 0.0622257 0.0461913 0.0434462 0.0974279 0.703358 0.0564706 0.833017 0.0920471 0.597015 0.867977class6
0.320158 0.529167 0 0 0 0.0304183 0.000522848 0.0198758 0.000277845 0.00981151 0 0.0250368 0.00311769 0.76306 0.207059 0.529412 0.0250368 1 0.146091class2
0.517787 0.304167 0 0 0 0.102662 0.00123954 0.0198758 0.000328508 0.0619675 0.0534846 0.078056 0.0530008 0.755597 0.223529 0.510436 0.078056 0.380483 0.152306class3
0.924901 0.770833 0 0 0 0.0570342 0.00134447 0.0496894 0.000828279 0.32946 0.3047 0.388071 0.290725 0.557836 0.490588 0.280835 0.388071 0.294238 0.162769class5
0.577075 0.316667 0 0 0 0.23384 0.00667427 0.0347826 0.00122288 0.302091 0.276337 0.36377 0.261107 0.559701 0.498824 0.265655 0.36377 0.319706 0.166836class3
0.0118577 0.829167 0 0 0 0.161597 0.0040525 0.12795 0.00157608 0.34676 0.322528 0.412371 0.300078 0.55597 0.528235 0.222011 0.412371 0.314278 0.172872class5
0.383399 0.125 0 0 0 0.0589355 0.000780537 0.0248448 0.000630491 0.956106 0.952998 0.9757 0.936867 0.507463 0.451765 0.394687 0.9757 0.112421 0.130215class1
0.873518 0.429167 0 0 0 0.00950571 6.34888e-05 0.00993788 5.34318e-05 0.0379551 0.0445705 0.0486009 0.020265 0.867537 0.191765 0.447818 0.0486009 0.603175 0.290371class0
0.478261 0.466667 0 0 0 0.0209125 0.000377198 0.0111801 0.000152281 0.00826233 0 0.0220913 0.00155884 0.774254 0.2 0.529412 0.0220913 1 0.151343class2
0.505929 0.608333 0 0 0 0.0836502 0.00357031 0.0496894 0.00123962 0.161374 0.132901 0.212077 0.13484 0.585821 0.412941 0.377609 0.212077 0.430239 0.146862class3
0.549407 0.625 0 0 0 0.00950571 0.000330468 0.0173913 0.000447681 0.109734 0.0907618 0.0949926 0.143414 0.66791 0.0870588 0.819734 0.135493 0.390957 0.904754class6
0.687747 0.7375 0 0 0 0.102662 0.00259486 0.0521739 0.00093742 0.388846 0.362237 0.458027 0.340608 0.526119 0.555294 0.208729 0.458027 0.296294 0.168636class5
0.754941 0.545833 0 0.333333 0 0.0171103 0.000123243 0.0335404 0.000376694 0.0325329 0.0494327 0.0324006 0.0163679 0.940299 0.138824 0.459203 0.044919 0.662037 0.40951class0
0.395257 0.254167 0 0 0 0.0855513 0.00478406 0.0397516 0.0045417 0.184611 0.171799 0.237113 0.141076 0.686567 0.427059 0.252372 0.237113 0.436895 0.201122class0
0.83004 0.4 0 0.333333 0 0.0874525 0.00227066 0.0459627 0.00203308 0.116705 0.0858995 0.170839 0.0888542 0.583955 0.418824 0.370019 0.170839 0.547173 0.148525class4
0.549407 0.475 0 0 0 0.00950571 6.34888e-05 0.0149068 0.000224414 0.043119 0.0534846 0.05081 0.0249415 0.891791 0.178824 0.444023 0.0515464 0.545635 0.322724class0
0.869565 0.4 0 0 0 0.039924 0.000212874 0.0186335 0.000248458 0.0154919 0.00243112 0.0353461 0.00701481 0.738806 0.230588 0.516129 0.0353461 0.94709 0.137295class2
0.660079 0.00833333 0 0.333333 0 0.0456273 0.000448156 0.0298137 0.000288533 0.909114 0.872771 0.963917 0.884645 0.292911 0.609412 0.358634 0.963917 0.177191 0.115657class1
0.786561 0.995833 0 0 0 0.0779468 0.00143261 0.0322981 0.000739795 0.0642912 0.047812 0.0486009 0.0966485 0.699627 0.0717647 0.812144 0.0913108 0.56339 0.879203class6
0.0869565 0.308333 0 0 0 0.0494296 0.00106064 0.0397516 0.000694614 0.125226 0.137763 0.145066 0.0919719 0.880597 0.256471 0.330171 0.145066 0.399751 0.278228class0
0.252964 0.55 0 0 0 0.0114068 0.000134446 0.0099379 5.34318e-05 0.0351149 0.047812 0.039028 0.0187062 0.910448 0.158824 0.457306 0.0441826 0.595238 0.358718class0
0.422925 0.4875 0 0 0 0.241445 0.00440514 0.0372671 0.000760348 0.371288 0.337925 0.444772 0.325019 0.485075 0.571765 0.223909 0.444772 0.312927 0.159863class3
0.0632411 0.220833 0 0 0 0.0494296 0.00137434 0.0372671 0.00102589 0.131681 0.128039 0.166421 0.0982073 0.766791 0.329412 0.328273 0.166421 0.441092 0.216341class0
0.735178 0.5125 0 0.333333 0 0.102662 0.00206152 0.0248447 0.000277845 0.186161 0.148298 0.248159 0.156664 0.51306 0.472941 0.354839 0.248159 0.457752 0.138956class4
0.774704 0.458333 0 0 0 0.741445 0.0175078 0.021118 0.000652602 0.286083 0.273096 0.327688 0.254092 0.652985 0.398824 0.332068 0.327688 0.280578 0.176045class3
0.73913 0.129167 0 0 0 0.026616 0.000548876 0.0372671 0.000912415 0.75936 0.697731 0.836524 0.735775 0.166045 0.681176 0.371917 0.836524 0.241934 0.1064class1
0.387352 0.495833 0 0 0 0.0190114 0.000459223 0.0124223 0.000392642 0.00955332 0.000810372 0.0220913 0.00467654 0.770522 0.194118 0.542695 0.0220913 0.977778 0.135167class2
0.371542 0.25 0 0 0 0.0361216 0.00109424 0.0496894 0.00271434 0.736638 0.705024 0.811487 0.686672 0.380597 0.664706 0.180266 0.811487 0.212264 0.151262class1
0.600791 0.754167 0 0 0 0.11597 0.00179647 0.16646 0.00298253 0.372579 0.345219 0.430781 0.336711 0.526119 0.498824 0.29981 0.430781 0.272721 0.147731class5
0.462451 0.65 0 0.333333 0 0.0304183 0.000522848 0.0459627 0.000718658 0.10173 0.0940032 0.0913108 0.120031 0.748134 0.105882 0.70778 0.113402 0.248449 0.898139class6
0.268775 0.266667 0 0.333333 0 0.0722433 0.00141916 0.0335404 0.00159494 0.158533 0.160454 0.194404 0.118472 0.796642 0.341176 0.278937 0.194404 0.423501 0.235416class0
0.383399 0.45 0 0.666667 0 0.0494297 0.000522849 0.0571429 0.00402876 0.150529 0.155592 0.181149 0.113016 0.820896 0.314118 0.297913 0.181149 0.408211 0.245979class0
0.229249 0.4375 0 0 0 0.102662 0.00283616 0.0173913 0.000328508 0.153111 0.13047 0.195876 0.129384 0.628731 0.372941 0.398482 0.195876 0.395663 0.15099class4
0.0513834 0.0708333 0 0 0 0.0190113 7.46936e-05 0.0273292 0.000309902 0.770204 0.713938 0.868925 0.718628 0.199627 0.787059 0.166983 0.868925 0.253299 0.135195class1
0.897233 0.129167 0 0.333333 0 0.0703422 0.00156814 0.0968944 0.00160935 0.310612 0.288493 0.358616 0.280592 0.58209 0.435294 0.345351 0.358616 0.271572 0.155128class3
0.454545 0.1 0 0 0 0.0285171 0.000788263 0.0198758 0.000392643 0.872709 0.829822 0.936672 0.844895 0.259328 0.644706 0.335863 0.936672 0.194853 0.117102class1
0.173913 0.404167 0 0 0.5 0.872624 0.0129023 0.609938 0.0114915 0.347276 0.3047 0.405007 0.326578 0.429105 0.490588 0.411765 0.405007 0.358975 0.114776class2
0.498024 0.445833 0 0 0 0.395437 0.0103154 0.0186336 0.000498594 0.239349 0.224473 0.276141 0.214341 0.654851 0.364706 0.385199 0.276141 0.293949 0.162257class3
0.596838 0.870833 0 0 0 0.0323194 0.000690907 0.0322981 0.00156021 0.101988 0.0842788 0.0868925 0.13484 0.679104 0.0835294 0.814042 0.127393 0.416705 0.898333class6
0.106719 0.5 0 0 0 0.00760456 7.46926e-05 0.0173913 0.000149609 0.0361477 0.0486224 0.0397644 0.020265 0.908582 0.157647 0.461101 0.0441826 0.566138 0.36422class0
0.711462 0.0166667 0 0 0 0.0285172 0.000212874 0.0322981 0.000886969 0.978053 0.976499 0.991163 0.964146 0.511194 0.425882 0.432638 0.991163 0.104639 0.119801class1
0.790514 0.475 0 0.333333 0 0.0589354 0.00135145 0.191304 0.00413021 0.30235 0.30389 0.324742 0.276695 0.748134 0.310588 0.377609 0.324742 0.192484 0.202059class3
0.790514 0.475 0 0 0 0.0342205 0.000448155 0.22236 0.0748393 0.298477 0.285251 0.343152 0.263445 0.647388 0.416471 0.309298 0.343152 0.270638 0.179824class3
0.229249 0.454167 0 0 0 0.0741445 0.00200265 0.0322981 0.00134877 0.132972 0.0769854 0.21944 0.0950896 0.404851 0.577647 0.296015 0.21944 0.681266 0.136472class2
0.0790514 0.220833 0 0 0 0.557034 0.0130566 0.452174 0.0127164 0.216112 0.179903 0.251841 0.212783 0.514925 0.354118 0.544592 0.251841 0.400746 0.0756045class2
0.770751 0.35 0 0 0 0.0589354 0.0011332 0.0298137 0.000912417 0.0531887 0.0494327 0.0714286 0.0374123 0.791045 0.231765 0.461101 0.0714286 0.512566 0.21739class4
0.245059 0.0333333 0 0 0 0.0836502 0.00119625 0.0322981 0.000639174 0.315001 0.277147 0.389543 0.272019 0.472015 0.563529 0.250474 0.389543 0.355227 0.152854class3
0.173913 0.404167 0 0 0.5 0.872624 0.0129023 0.609938 0.0114915 0.347276 0.3047 0.405007 0.326578 0.429105 0.490588 0.411765 0.405007 0.358975 0.114776class2
0.482213 0.716667 0 0 0 0.0380228 0.000657295 0.141615 0.0266411 0.22489 0.214749 0.259205 0.197973 0.692164 0.349412 0.371917 0.259205 0.266436 0.180202class5
0.371542 0.408333 0 0 0 0.0342205 0.000492972 0.0434782 0.00196896 0.12032 0.140194 0.132548 0.0880748 0.932836 0.218824 0.337761 0.135493 0.384997 0.321149class0
0.735178 0.325 0 0 0 0.102662 0.00161895 0.0248447 0.000770419 0.0588691 0.0461913 0.0861561 0.0420889 0.727612 0.276471 0.45351 0.0861561 0.548545 0.167928class4
0.450593 0.416667 0 0 0 0.0190114 0.000407058 0.0434782 0.000751425 0.125742 0.0705024 0.199558 0.100546 0.412313 0.515294 0.388994 0.199558 0.679513 0.119338class2
0.422925 0.466667 0 0 0 0.0209125 0.000242751 0.0149068 0.000192355 0.046992 0.0599676 0.0530191 0.0280592 0.908582 0.171765 0.43833 0.0559647 0.524471 0.345571class0
0.810277 0.208333 0 0 0 0.0190114 0.000407058 0.0111801 0.000331428 0.0493158 0.0340357 0.0810015 0.0303975 0.712687 0.295294 0.43833 0.0810015 0.645891 0.167117class4
0.130435 0.658333 0 0 0 0.0285171 0.000509747 0.0360248 0.000634636 0.0893364 0.0777958 0.0648012 0.126267 0.725746 0.0352941 0.844402 0.119293 0.463569 0.845669class6
0.0118577 0.354167 0 0 0 0.0760456 0.00298771 0.0347826 0.00162433 0.024787 0.00648298 0.0515464 0.0140296 0.699627 0.265882 0.499051 0.0515464 0.910065 0.134252class2
0.110672 0.291667 0 0.333333 0 0.0893536 0.00378318 0.0608696 0.00270632 0.142783 0.146677 0.173049 0.106781 0.815299 0.310588 0.309298 0.173049 0.412662 0.248099class0
0.505929 0.720833 0 0.333333 0 0.0760456 0.000918447 0.0807453 0.00131183 0.315259 0.3047 0.360825 0.276695 0.660448 0.424706 0.282732 0.360825 0.275818 0.187014class5
0.343874 0.520833 0 0 0 0.0627376 0.00115948 0.0459627 0.00152386 0.0557707 0.0299838 0.0876289 0.0467654 0.63806 0.297647 0.510436 0.0876289 0.695088 0.106017class2
0.0790514 0.466667 0 0 0 0.0304182 0.000388403 0.0223602 0.000256472 0.134521 0.114263 0.174521 0.111458 0.651119 0.355294 0.404175 0.174521 0.408913 0.155866class3
0.284585 0.0333333 0 0 0 0.0323194 0.000392935 0.021118 0.000490804 0.888975 0.850081 0.948454 0.862042 0.281716 0.627059 0.341556 0.948454 0.185539 0.117513class1
0.272727 0.1125 0 0 0 0.0418251 0.000274439 0.0223603 0.000548294 0.404338 0.364668 0.492636 0.348402 0.43097 0.650588 0.151803 0.492636 0.336015 0.162116class3
0.529644 0.833333 0 0 0 0.0646388 0.00133885 0.0484472 0.000829442 0.125226 0.105348 0.108247 0.16212 0.656716 0.08 0.842505 0.153166 0.375552 0.901801class6
0.592885 0.633333 0 0 0 0.0703422 0.00230427 0.406211 0.0302879 0.278854 0.252026 0.318115 0.262666 0.559701 0.385882 0.447818 0.318851 0.263846 0.0884196class5
0.632411 0.595833 0 0 0 0 0 0 0 0 0 0 0 0.833955 0.131765 0.578748 0 0 0.511054class4
0.87747 0.683333 0 0 0 0.129278 0.00315067 0.160248 0.00338248 0.403305 0.37034 0.482327 0.35074 0.477612 0.605882 0.176471 0.482327 0.312834 0.165332class5
0.996047 0.266667 0 0 0 0.0228137 0.000268893 0.0198758 0.000277847 0.617351 0.525122 0.768041 0.545596 0 1 0.0265655 0.768041 0.378682 0.136347class1
0.363636 0.745833 0 0 0 0.188213 0.00183792 0.0583851 0.00233325 0.373612 0.345219 0.443299 0.326578 0.518657 0.554118 0.218216 0.443299 0.303602 0.166474class5
0.905138 0.425 0 0 0 0.0380228 0.00050604 0.0124224 0.000392642 0.150529 0.132091 0.184831 0.131723 0.658582 0.331765 0.434535 0.184831 0.350082 0.147825class4
0.545455 0.4875 0 0 0 0.10076 0.00795103 0.0708075 0.00896853 0.0369223 0.0178282 0.0633284 0.0272798 0.690299 0.267059 0.506641 0.0633284 0.804724 0.12487class2
0.806324 0.7625 0 0 0 0.0551331 0.00121033 0.120497 0.00219537 0.287891 0.270664 0.334315 0.254871 0.623134 0.422353 0.324478 0.334315 0.28056 0.168989class5
0.221344 0.908333 0 0 0 0.0931559 0.0020765 0.0770186 0.00101633 0.101988 0.0875203 0.089838 0.128605 0.701493 0.0976471 0.768501 0.121502 0.347692 0.905645class6
0.371542 0.191667 0 0 0 0.0627376 0.0034396 0.047205 0.00123962 0.18332 0.179903 0.228277 0.138737 0.751866 0.390588 0.244782 0.228277 0.425691 0.219109class0
0.612648 0.7375 0 0 0 0.146388 0.00233273 0.111801 0.00270325 0.427059 0.401945 0.501473 0.371785 0.524254 0.589412 0.155598 0.501473 0.300242 0.175674class5
0.241107 0.7875 0 0 0 0.0779467 0.00215132 0.0844721 0.00128736 0.42551 0.394652 0.506627 0.368667 0.485075 0.621176 0.144213 0.506627 0.312541 0.170832class5
0.905138 0.441667 0 0 0 0.112167 0.000936716 0.0322981 0.000620822 0.27214 0.244733 0.329897 0.236945 0.557836 0.472941 0.309298 0.329897 0.335026 0.157461class3
0.782609 0.454167 0 0 0 0.119772 0.00411183 0.186335 0.0389197 0.274206 0.258509 0.316642 0.243959 0.63806 0.4 0.345351 0.316642 0.272752 0.167447class3
0.794466 0.820833 0 0 0 0.0589354 0.00140796 0.0409938 0.00220406 0.134263 0.113452 0.117084 0.172253 0.647388 0.0811765 0.850095 0.162739 0.368866 0.913423class6
0.0869565 0.670833 0 0 0 0.0456274 0.000901896 0.204969 0.00422455 0.29512 0.277147 0.33947 0.265004 0.615672 0.414118 0.345351 0.33947 0.265454 0.154049class5
0.245059 0.00833333 0 0 0 0.039924 0.00101956 0.021118 0.000494246 0.988639 1 0.986745 0.978176 0.597015 0.356471 0.457306 0.986745 0.079806 0.128832class1
0.363636 0.145833 0 0 0 0.0722434 0.00164324 0.0397516 0.00130374 0.878647 0.846029 0.934462 0.849571 0.328358 0.607059 0.326376 0.934462 0.177195 0.124187class1
0.549407 0.475 0 0 0 0.0228137 0.000224078 0.0596273 0.00272502 0.027369 0.0113452 0.0515464 0.0171473 0.714552 0.254118 0.502846 0.0515464 0.853199 0.135971class2
0.652174 0.595833 0 0 0 0.00380228 2.98774e-05 0.00993788 5.34318e-05 0.00490576 0.00162074 0.0125184 0 0.809702 0.169412 0.542695 0.0125184 1 0.172356class4
0.304348 0.308333 0 0 0 0.188213 0.00212313 0.145342 0.0033169 0.340821 0.309562 0.407953 0.299299 0.509328 0.534118 0.259962 0.407953 0.315228 0.15895class3
0.715415 0.116667 0 0 0 0.188213 0.0057857 0.0136646 0.000634636 0.0663568 0.0534846 0.0949926 0.0483242 0.723881 0.284706 0.444023 0.0949926 0.576021 0.169214class4
0.715415 0.516667 0 0 0 0.144487 0.00113817 0.0248447 0.000739794 0.227989 0.208266 0.271723 0.200312 0.625 0.395294 0.366224 0.271723 0.308824 0.159649class3
0.928854 0.379167 0 0 0 0.0361217 6.34888e-05 0.0397516 0.000886967 0.360444 0.337115 0.426362 0.312549 0.557836 0.532941 0.212524 0.426362 0.307007 0.173641class3
0.12253 0.6125 0 0 0 0.0323194 0.000870169 0.0186335 0.000440812 0.0555125 0.0461913 0.0787923 0.0397506 0.751866 0.256471 0.461101 0.0787923 0.520578 0.178177class3
0.0869565 0.3375 0 0 0.5 0.140684 0.00467513 0.156522 0.00410306 0.0883036 0.0640195 0.123711 0.0740452 0.63806 0.322353 0.470588 0.123711 0.564898 0.128195class2
0.12253 0.35 0 0 0 0.0437262 0.00104943 0.0496894 0.00223345 0.0219468 0.00567261 0.0493373 0.00857365 0.714552 0.268235 0.480076 0.0493373 0.919597 0.149785class2
0.557312 0.7125 0 0 0 0.0855513 0.00110918 0.0509317 0.00261014 0.24064 0.230146 0.279823 0.208885 0.684701 0.376471 0.335863 0.279823 0.293208 0.184858class5
0.916996 0.720833 0 0 0 0.0171103 7.84275e-05 0.0173913 0.000566377 0.0826233 0.0713128 0.0655376 0.111458 0.729478 0.0694118 0.785579 0.105302 0.405556 0.86841class6
0.996047 0.0875 0 0 0 0.0171102 0.000591793 0.0298136 0.000402337 0.814098 0.757699 0.883652 0.793453 0.184701 0.657647 0.390892 0.883652 0.220748 0.104586class1
0.798419 0.208333 0 0 0 0.00570343 0.000281216 0.0161491 0.000319588 0.0487994 0.0324149 0.0817378 0.0296181 0.705224 0.301176 0.436433 0.0817378 0.66626 0.163845class4
0.383399 0.4 0 0 0 0.159696 0.00376451 0.0881988 0.0123561 0.0606765 0.0356564 0.0964654 0.0467654 0.641791 0.317647 0.474383 0.0964654 0.697226 0.128265class2
0.146245 0.741667 0 0 0 0.0342206 0.000224078 0.13913 0.0240336 0.202685 0.192058 0.233432 0.180047 0.695896 0.327059 0.404175 0.233432 0.271208 0.167045class5
0.146245 0.5625 0 0 0 0.0171103 0.000123243 0.0149068 0.000192355 0.0356313 0.041329 0.044919 0.020265 0.86194 0.184706 0.464896 0.0456554 0.571429 0.299802class0
0.592885 0.491667 0 0 0 0.275665 0.00820956 0.0161491 0.000597086 0.223341 0.200972 0.272459 0.192518 0.608209 0.42 0.343454 0.272459 0.338407 0.162067class3
0.335968 0.758333 0 0 0 0.112167 0.00166596 0.0496894 0.0013052 0.428092 0.39141 0.507364 0.3788 0.44403 0.612941 0.199241 0.507364 0.299579 0.156934class5
0.407115 0.2375 0 0 0 0.0342205 0.000582605 0.0198758 0.000598436 0.737413 0.693679 0.827688 0.682775 0.296642 0.738824 0.14611 0.827688 0.239143 0.146756class1
0.233202 0.170833 0 0 0 0.0247149 0.000601281 0.0173913 0.00053432 0.778208 0.736629 0.856407 0.734217 0.298507 0.690588 0.222011 0.856407 0.218379 0.136736class1
0.241107 0.795833 0 0 0 0.0874525 0.00172263 0.0335403 0.000815382 0.421637 0.39141 0.496318 0.371005 0.490672 0.589412 0.189753 0.496318 0.29788 0.16512class5
0.956522 0.345833 0 0 0 0.0228137 0.000313709 0.00496894 2.1373e-05 0.00826233 0.00162074 0.0213549 0.000779422 0.785448 0.196471 0.523719 0.0213549 0.977778 0.163335class4
0.083004 0.316667 0 0 0 0.0646388 0.00126956 0.026087 0.000449829 0.446424 0.406807 0.532401 0.392829 0.41791 0.649412 0.166983 0.532401 0.3097 0.157656class3
0.375494 0.3375 0 0.333333 0 0.114068 0.00300264 0.0397516 0.000470199 0.159566 0.158833 0.197349 0.120031 0.777985 0.350588 0.282732 0.197349 0.422223 0.228572class0
0.466403 0.591667 0 0 0 0.173004 0.00558568 0.00124225 9.81607e-05 0.023496 0.0218801 0.0257732 0.0226033 0.815299 0.148235 0.571158 0.0257732 0.085017 0.138074class4
0.335968 0.7625 0 0 0 0.0608365 0.00128471 0.042236 0.000277845 0.116964 0.0964344 0.110457 0.143414 0.654851 0.128235 0.766603 0.135493 0.352132 0.946384class6
0.0197628 0.679167 0 0 0 0.0646388 0.00101582 0.0645963 0.00290669 0.132972 0.110211 0.11782 0.170694 0.634328 0.0905882 0.848197 0.161267 0.381867 0.913129class6
0.150198 0.416667 0 0 0 0.0247148 0.000377198 0.0198758 0.000309904 0.0420862 0.0510535 0.05081 0.0241621 0.882463 0.183529 0.44592 0.0522828 0.562919 0.313666class0
0.0869565 0.566667 0 0 0 0.0114068 0.000134446 0.0161491 0.000301889 0.0320165 0.0299838 0.0493373 0.0155885 0.809702 0.222353 0.457306 0.05081 0.698445 0.248868class0
0.976285 0.175 0 0 0 0.0247151 0.00028757 0.0186335 0.000504936 0.939582 0.93517 0.966127 0.914263 0.503731 0.481176 0.351044 0.966127 0.121119 0.138784class1
0.126482 0.370833 0 0 0 0.0247148 0.000538487 0.0149068 0.000263392 0.00852053 0.000810372 0.0184094 0.00545596 0.777985 0.181176 0.555977 0.0184094 0.977778 0.118704class2
0.403162 0.854167 0 0 0 0.0304183 0.000657295 0.0484472 0.000825521 0.101472 0.0794165 0.0905744 0.134061 0.649254 0.103529 0.812144 0.126657 0.431696 0.921947class6
0.956522 0.345833 0 0 0 0.0228137 0.000313709 0.00496894 2.1373e-05 0.00826233 0.00162074 0.0213549 0.000779422 0.785448 0.196471 0.523719 0.0213549 0.977778 0.163335class4
0.0869565 0.0583333 0 0 0 0.0380227 0.000756571 0.0136646 0.00046665 0.491092 0.442464 0.589838 0.43258 0.341418 0.721176 0.129032 0.589838 0.318191 0.153401class3
0.29249 0.266667 0 0 0 0.0969582 0.00464962 0.0496894 0.00268228 0.180997 0.170178 0.230486 0.138737 0.701493 0.411765 0.26186 0.230486 0.429663 0.202895class0
0.873518 0.5 0 0 0 0 0 0 0 0 0 0 0 0.833955 0.131765 0.578748 0 0 0.511054class4
0.944664 0.216667 0 0 0 0.0190114 0.000548877 0.00869565 0.000281089 0.0624839 0.0461913 0.0927835 0.045986 0.701493 0.291765 0.455408 0.0927835 0.5477 0.154842class4
0.833992 0.345833 0 0 0 0.0589354 0.0023939 0.0273292 0.000694613 0.108959 0.0769854 0.164948 0.0802806 0.578358 0.425882 0.364326 0.164948 0.57666 0.148524class4
0.335968 0.733333 0 0 0 0.0380228 0.000726095 0.0322981 0.00054122 0.0957914 0.0850891 0.0684831 0.13484 0.729478 0.0235294 0.859583 0.127393 0.463329 0.836987class6
0.778656 0.716667 0 0 0 0.0361217 0.00119152 0.0757764 0.00115229 0.376711 0.356564 0.44109 0.327358 0.574627 0.529412 0.201139 0.44109 0.298622 0.179499class5
0.466403 0.308333 0 0 0 0.0171102 0.000302503 0.0198757 0.000438142 0.704364 0.647488 0.812224 0.643804 0.216418 0.815294 0.104364 0.812224 0.275467 0.144013class1
0.849802 0.658333 0 0 0 0.0285171 0.000392137 0.0434782 0.000301889 0.115673 0.0931929 0.103829 0.149649 0.641791 0.102353 0.821632 0.141384 0.400756 0.921651class6
0.0909091 0.808333 0 0 0 0.0760457 0.00160024 0.0534161 0.00179556 0.390911 0.363047 0.462445 0.341387 0.516791 0.567059 0.199241 0.462445 0.303912 0.168872class5
0.312253 0.4375 0 0 0 0.0513308 0.00164697 0.0347826 0.000630495 0.151304 0.154781 0.182621 0.114575 0.809702 0.317647 0.303605 0.182621 0.407364 0.237034class0
0.0474308 0.75 0 0 0 0.121673 0.00545257 0.173913 0.0288745 0.176349 0.171799 0.198085 0.157443 0.746269 0.277647 0.432638 0.199558 0.237113 0.19909class5
0.0355731 0.345833 0 0 0 0.0152091 0.000119509 0.0161491 0.000141594 0.0157501 0.000810372 0.0397644 0.00467654 0.725746 0.250588 0.497154 0.0397644 0.986111 0.143447class2
0.403162 0.895833 0 0 0 0.0589354 0.00172167 0.0360248 0.00126366 0.093984 0.0745543 0.0787923 0.128605 0.669776 0.0811765 0.827324 0.121502 0.442456 0.897824class6
0.913043 0.0833333 0 0 0 0.0190114 0.000347141 0.0173913 0.000248329 0.801446 0.743112 0.878498 0.774747 0.175373 0.690588 0.347249 0.878498 0.23132 0.110683class1
0.482213 0.55 0 0 0 0.00950571 0.000392936 0.00621118 9.81607e-05 0.00284017 0 0.00810015 0 0.813433 0.157647 0.557875 0.00810015 0.777778 0.159449class2
0.541502 0.554167 0 0 0 0.0304183 0.00086785 0.00621118 0.000385209 0.00464756 0.00405187 0.00662739 0.00311769 0.828358 0.142353 0.567362 0.00662739 0.37037 0.191367class4
0.166008 0.525 0 0 0 0.00570343 7.84275e-05 0.0310559 0.00126366 0.0116189 0.00486224 0.0250368 0.00389712 0.783582 0.198824 0.521822 0.0250368 0.917989 0.163335class4
0.936759 0.445833 0 0 0 0.0114068 0.000179263 0.0173913 5.34318e-05 0.0348567 0.0453809 0.0412371 0.0179267 0.895522 0.170588 0.45351 0.0441826 0.617063 0.335251class0
0.0750988 0.741667 0 0 0 0.0589354 0.00176648 0.0596273 0.00275708 0.2378 0.219611 0.283505 0.206547 0.632463 0.407059 0.339658 0.283505 0.309884 0.167862class5
0.225296 0.416667 0 0 0 0.110266 0.00348068 0.0459627 0.000686598 0.134779 0.113452 0.173785 0.113796 0.643657 0.350588 0.419355 0.173785 0.409226 0.149489class4
0.189723 0.533333 0 0 0 0.00570343 7.84275e-05 0.00745341 6.41182e-05 0.00309837 0 0.00883652 0 0.811567 0.16 0.555977 0.00883652 0.777778 0.159449class2
0.083004 0.316667 0 0 0 0.0646388 0.00126956 0.026087 0.000449829 0.446424 0.406807 0.532401 0.392829 0.41791 0.649412 0.166983 0.532401 0.3097 0.157656class3
0.924901 0.3125 0 0 0 0.00950571 1.86736e-05 0.00621118 4.54171e-05 0.0859799 0.0567261 0.139912 0.0568979 0.604478 0.410588 0.362429 0.139912 0.630928 0.155124class4
0.130435 0.3 0 0 0 0.0494297 0.000343586 0.0546584 0.000309905 0.135554 0.142626 0.162003 0.100546 0.839552 0.290588 0.316888 0.162003 0.410073 0.258059class0
0.083004 0.191667 0 0 0 0.0304182 0.000746928 0.0149068 0.00035265 0.879163 0.844408 0.930781 0.856586 0.313433 0.587059 0.373814 0.930781 0.175605 0.114437class1
0.375494 0.345833 0 0 0 0.0247149 0.000287567 0.0099379 0.000309905 0.140976 0.116694 0.190722 0.111458 0.621269 0.403529 0.356736 0.190722 0.451546 0.161044class4
0.27668 0.35 0 0 0 0.0722433 0.00365994 0.0596273 0.00256473 0.0663568 0.034846 0.102356 0.0584567 0.595149 0.32 0.518027 0.102356 0.698902 0.100587class2
0.849802 0.279167 0 0 0 0.0456274 0.000358524 0.0968944 0.00458444 0.251743 0.228525 0.30486 0.217459 0.593284 0.445882 0.316888 0.30486 0.33971 0.166258class3
0.988142 0.675 0 0.333333 0 0.0741445 0.00185017 0.0534161 0.000892126 0.395817 0.363857 0.474227 0.342946 0.48694 0.601176 0.174573 0.474227 0.318366 0.167204class5
0.675889 0.204167 0 0 0 0.0285171 0.000392133 0.0236025 0.00023777 0.862122 0.831442 0.916789 0.832424 0.347015 0.597647 0.322581 0.916789 0.175844 0.126042class1
0.264822 0.483333 0 0 0 0.0361217 0.000983776 0.0285714 0.000597087 0.114123 0.0794165 0.175258 0.0826189 0.557836 0.451765 0.343454 0.175258 0.601444 0.169284class2
|
022c680aead535500ee8810884c313ad7cc339cb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1151/CH8/EX8.18/example18.sce
|
0c1cd75c8e2fa09a7e13d264ff38c15c4900dd4c
|
[] |
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
| 207
|
sce
|
example18.sce
|
s=%s ;// convert to state space
TFcont=syslin ('c',20*(4*s+2)/(s^3+5*s^2+8*s+2))
SScont=tf2ss (TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont( 2 ) , SScont( 3 ) )
disp(Ac,"Matrix A=")
disp(Bc,"Matrix B=")
|
cc67e9c841fd25091e6ac12367be023cf80c338e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1322/CH15/EX15.11/117ex1.sce
|
ad04d3704301109008dd1d8599dd252f6543a3b3
|
[] |
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
| 170
|
sce
|
117ex1.sce
|
clear;
clc;
close;
x=poly(0,'x');
p1=3/(x-2);
p2=5/(x-1);
// given, 3/(x-2)=5/(x-1)
for x=0.0:0.1:10.0
if(3*(x-1)==5*(x-2))
format(7)
x
break
end
end
|
0305b8babde00cb55818eb997d21b2edf815a4d4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3129/CH5/EX5.5/Ex5_5.sce
|
79f99b748da6589f1c0dbc3670442efbbfdf8e34
|
[] |
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
| 711
|
sce
|
Ex5_5.sce
|
//Finding the values of LC filter for the Buck Regulator
//Example 5.5(Page No- 190)
clc
clear
//given data
Vs = 12;//V
del_V = 20*10^-3;//V
del_I = 0.8;//A
f = 25*10^3;//Hz
Va = 5;//V
R = 500;//Ohm
//part(a)
k = Va/Vs;
k_per = k*100;
printf('(a)\t The duty cycle: %0.4f or %0.2f %%',k,k_per);
//part(b)
L = ((Va*(Vs-Va))/(f*del_I*Vs));
printf('\n (b)\t filter inductance: %.2f uH',L*10^6);
//part(c)
C = (del_I/(8*f*del_V));
printf('\n (c)\t The filter Capacitance: %d uF',C*10^6);
//part(d)
Lc = (((1-k)*R)/(2*f));
printf('\n (d)\t The Critical inductance : Lc %.2f mH',Lc*10^3);
Cc = (1-k)/(16*L*f^2);
printf('\n \t The critical Capacitance Cc : %.1f uF',Cc*10^6);
|
80a9adf83f4fc753e3bb454ed5aae70558090592
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3482/CH9/EX9.5/Ex9_5.sce
|
8bdfb15f1964aee09d42c5a8b2e1b331dd912e0d
|
[] |
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
| 619
|
sce
|
Ex9_5.sce
|
clc;
//page 466
//Given
r=90;//mm, radius of half circle
b=240;//mm, width
h=120;//mm, height
//Moment of inertia of rectangle
Ixr=1/3*b*h^3;//mm^4
//Moment of inertia of half circle
a=4*r/(3*%pi);//mm
b=h-a;//mm, Distance b from centroid c to X axis
I_AA=1/8*%pi*r^4;//mm^4, Moment of inertia of half circle with respect to AA'
A=1/2*%pi*r^2;//mm^2, Area of half circle
Ix1=I_AA-A*a^2;//mm^4, Parallel axis theorem
Ixc=Ix1+A*b^2;//mm^4, Parallel axis theorem
//Moment of inertia of given area
Ix=Ixr-Ixc;//mm^4
printf("Moment of inertia of area about X axis is Ix= %2.2e mm^4\n",Ix);
|
3ad29159a5ef1f901a9b15485fdb3b0205eadca1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1553/CH2/EX2.1/2Ex1.sce
|
3d1662ae69d82018c752ee1aaadc53ea0738e42f
|
[] |
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
| 181
|
sce
|
2Ex1.sce
|
//chapter 2 Ex 1
clc;
clear;
close;
n1=2^3*3^2*5*7^4; n2=2^2*3^5*5^2*7^3; n3=2^3*5^3*7^2;
V=int32([n1 n2 n3]);
Lcm=gcd(V);
mprintf("The LCM of given numbers is %d.",Lcm);
|
21d54cca79e62bec582a1382a5ed972f4b11ed17
|
5887829f5a0a005033807cf7dc4fb7231eb280ec
|
/Listing/chapter 4/Listing4119.sce
|
514f34a426e498f463cc4e2202ee4ead82ceaa78
|
[] |
no_license
|
joaolrneto/learning_scilab
|
78ecc0019f167b57bc35647c4ac785ece01e443e
|
9624c9a6736860a8a836b0f801256b6224756585
|
refs/heads/main
| 2023-03-17T22:17:51.853368
| 2021-03-15T20:58:34
| 2021-03-15T20:58:34
| 344,478,059
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 120
|
sce
|
Listing4119.sce
|
clc
clear
clf()
x = [0:0.1:2*%pi]';
plot(x, [sin(x) sin(2*x) sin(3*x)])
legend('sin x','sin 2*x','sin 3*x')
xlabel('x')
|
68d197e2f8a6966b7f1098210bac04a4061f5503
|
1276856afe676bd42937cd75726f5e6e978111b3
|
/CMS.Admin/src/Gen/APIGen.tst
|
08db071162b7a48a0467070ebc48622c052143d0
|
[] |
no_license
|
truonghoang-uifa/CMS_MusicWeb
|
6f690d4e49268214f4efca031eeb92ba1eb39bdd
|
f44ff24910e1e459583f13a5e1edc5d99337bf73
|
refs/heads/master
| 2023-04-20T12:26:50.399888
| 2021-05-05T00:05:52
| 2021-05-05T00:05:52
| 364,371,917
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 3,796
|
tst
|
APIGen.tst
|
${
using Typewriter.Extensions.WebApi;
Template(Settings settings)
{
settings
.IncludeProject("CMS.Web");
settings.OutputExtension = ".ts";
settings.OutputFilenameFactory = file =>
{
return $"outputApi/{file.Name.Replace("Controller", "Api").Replace(".cs", ".ts")}";
};
}
string apiName(Class c)
{
return c.Name.Replace("Controller", "Api");
}
string ImportModels(Class c)
{
IEnumerable<Type> types = c.Methods
.Select(p => p.Type)
.Where(t => !t.IsPrimitive || t.IsEnum)
.Select(t => t.IsGeneric ? t.TypeArguments.First() : t)
.Where(t => t.Name != c.Name && t.Name != "DbGeography")
.Distinct();
return string.Join(Environment.NewLine, types.Select(t => $"import {{ {t.Name} }} from './{t.Name}';").Distinct());
}
string ImportsList(Class objClass)
{
var ImportsOutput = "";
// Get the methods in the Class
var objMethods = objClass.Methods;
// Loop through the Methdos in the Class
foreach(Method objMethod in objMethods)
{
// Loop through each Parameter in each method
foreach(Parameter objParameter in objMethod.Parameters)
{
// If the Paramater is not prmitive we need to add this to the Imports
if(!objParameter.Type.IsPrimitive){
ImportsOutput = objParameter.Type.Name;
}
}
}
// Notice: As of now this will only return one import
return $"import {{ { ImportsOutput } }} from '@/models/{ImportsOutput}';";
}
string ReturnType(Method m) {
if (m.Type.Name == "IHttpActionResult") {
foreach (var a in m.Attributes) {
// Checks to see if there is an attribute to match returnType
if (a.Name == "ResponseType") {
string type = string.Empty;
bool isArray = a.Value.Contains("<");
bool isPaginatedResponse = a.Value.Contains("PaginatedResponse");
string formattedType = a.Value.Replace("<", "")
.Replace(">", "")
.Replace("typeof(", "")
.Replace(")", "");
string[] ar;
ar = formattedType.Split('.');
type = ar[ar.Length - 1];
if(isPaginatedResponse) {
type = "PaginatedResponse<" + type + ">";
} else if (isArray) {
type += "[]";
}
// mismatch on bool vs boolean
if (type == "bool") {
type = "boolean";
}
return type;
}
}
return "void";
}
return m.Type.Name;
}
string NullAble(Parameter p) {
return p.Type.IsNullable? "?":"";
}
}
$Classes(:BaseApiController)[
import { HTTP } from '@/HTTPServices';
import { BaseApi } from '@/apiResources/BaseApi';
import { PaginatedResponse, Pagination } from '@/apiResources/PaginatedResponse';
$ImportsList
module APIs {
class $apiName extends BaseApi {
$Methods[
$name($Parameters[$Name$NullAble: $Type][, ]) {
return new Promise<$ReturnType>((resolve: any, reject: any) => {
HTTP({ url: `$Url`, method: "$HttpMethod", data: $RequestData })
.then((response) => {
resolve(response.data);
}).catch((error) => {
reject(error);
})
});
}]
}]
}
|
2cef5f9d1bbd01fd07387c66745c154d49cffbee
|
6e257f133dd8984b578f3c9fd3f269eabc0750be
|
/ScilabFromTheoryToPractice/GettingStarted/testpwd.sce
|
67257d3d8640cbd3e7b116ad0ed649bf45a23850
|
[] |
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
| 625
|
sce
|
testpwd.sce
|
path=pwd(); // current directory
cd SCI // go to the Scilab installation directory
pwd // value of current directory
cd contrib // go to the SCI/contrib/ directory
cd '../' // "move up" to the SCI directory
chdir('contrib') // go to the SCI/contrib/ directory
pwd // value of current directory
chdir(TMPDIR) // go to the temporary directory
mkdir('test') // create the directory test/
ls('te*') //list the elements starting with "te"
rmdir('test') // remove the test/ directory
dir('te*') // this is the content of the current directory which is empty []
chdir(path) // return to the initial current directory
|
cdd5ca19eb1d96b51cb22575bffab5f360208418
|
128e68405892140b75a9f6af4a879d2e3af71788
|
/biased_random.sce
|
aee275c1a7d9b0e3ddccd4d62a21caec0869ab73
|
[] |
no_license
|
amoghpj/random_walk
|
3d102e9ab553a9cead3cbc66ce6f7e8a64bf0ed4
|
ba85a8da19a8d123304e20350c8c973378406f29
|
refs/heads/master
| 2021-01-10T13:44:46.326902
| 2015-12-05T19:03:44
| 2015-12-05T19:03:44
| 47,470,189
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,237
|
sce
|
biased_random.sce
|
clc;
clear;
rand('seed',getdate('s'));
X=[1];
Y=[1];
count=1;
while(X(count)>0 & Y(count)>0 & X(count)<6 & Y(count)<6 & count<50000)
x=X(count);
y=Y(count);
if(~(((x-6)^2+(y-6)^2)<=16)) then
// if( (x^2+y^2)<36) then
if(rand()<0.5) then
X(count+1)=x+0.1;
else
X(count+1)=x-0.1;
end;
if(rand()<0.5) then
Y(count+1)=y+0.1;
else
Y(count+1)=y-0.1;
end;
else
if((6-x)>0) then
X(count+1)=x+0.1;
else
X(count+1)=x-0.1
end;
if((6-y)>0) then
Y(count+1)=y+0.1;
else
Y(count+1)=y-0.1;
end;
if(x==6 & y==6) then
break;
end;
// if(rand()<1) then //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// X(count+1)=x+0.1;
// else
// X(count+1)=x-0.1;
// end; //%Biased when line 10 is modified to restr
// if(rand()<1) then //%-ict unbiased random walk to a specified
// Y(count+1)=y+0.1; //%region
// else
// Y(count+1)=y-0.1;
// end; //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//// X(count+1)=x+0.1;
// Y(count+1)=y+0.1; //%Biased to 45 degree line
end; //%%%%%%%%%%%%%%%%%%%%%%%%%%%
count=count+1;
if((X(count)<=0) | (Y(count)<=0)) then
X(count)=x;
Y(count)=y;
end;
end;
theta=0:%pi/50:2*%pi;
xcent=6;
ycent=6;
r=4;
xdash=xcent+r*cos(theta);
ydash=ycent+r*sin(theta);
figure(1);
plot(xdash,ydash,'r');
i=1;
//plot(a,(16-(a-6)^2)^0.5+6,'g');
//plot(a,(36-a.^2)^0.5,'g');
comet(X(:),Y(:));
plot(X(1),Y(1),"o");
h_compound = gce();
h_compound.children.mark_size = 10;
h_compound.children.mark_background = 2;
h_axes = gca();
h_axes.data_bounds=[0,0;10,10];
//i=100;
//while i<=length(X)
// plot(X(i),Y(i));
//end
//// Animation Loo
//Another comment
i = 1;
while i<=length(X)
xs2bmp(0, 'i.bmp');
drawlater();
h_compound.children.data = [X(i),Y(i)];
drawnow();
i = i+1;
end
///This is a new comment to test git/
|
2d29e0ff87a696e17499bad1acd1e37d0c3f4748
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1970/CH6/EX6.11/Ch06Exa11.sce
|
cd8a8187220d89768acbfdad9abda61968bcde1b
|
[] |
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,196
|
sce
|
Ch06Exa11.sce
|
// Scilab code Exa6.11: : Page-244 (2011)
clc; clear;
t_p = 33/0.92*365*84800; // Partial half life for beta emission, sec
E_0 = 0.51; // Kinetic energy
Z = 55; // Atomic number of cesium
log_fb = 4.0*log10(E_0)+0.78+0.02*Z-0.005*(Z-1)*log10(E_0); // Comparitive half life
log_ft1 = log_fb+log10(t_p); // Forbidden tansition
// For 8 percent beta minus emission
t_p = 33/0.08*365*84800; // Partial half life, sec
E_0 = 1.17; // Kinetic energy
Z = 55; // Atomic energy
log_fb = 4.0*log10(E_0)+0.78+0.02*Z-0.005*(Z-1)*log10(E_0); // Comparitive half life
log_ft2 = log_fb+log10(t_p); // Forbidden transition
// Check the degree of forbiddenness !!!!!
if log_ft1 <= 10 then
printf("\nFor 92 percent beta emission :")
printf("\n\tTransition is once forbidden and parity change");
end
if log_ft2 >= 10 then
printf("\nFor 8 percent beta emission :")
printf("\n\t ransition is twice forbidden and no parity change");
end
// Result
// For 92 percent beta emission :
// Transition is once forbidden and parity change
// For 8 percent beta emission :
// Transition is twice forbidden and no parity change
|
7da9dd8e03646059ecf3aa52630dd9189015b499
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3845/CH14/EX14.2/Ex14_2.sce
|
3db0a3b90dddf0c078570b6ba3c05e01a23567a1
|
[] |
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
| 557
|
sce
|
Ex14_2.sce
|
//Example 14.2
M=10000;//Mass of truck (kg)
g=9.80;//Acceleration due to gravity (m/s^2)
h=75;//Vertical displacement (m)
delta_PE=M*g*h;//Change in gravitational potential energy (J)
Q=delta_PE;//Heat transferred (J)
m=100;//Mass of brake material (kg)
c=800;//Specific heat of brake material (J/kg.C)
delta_T=Q/(m*c);//Temperature increase (C)
printf('Temperature increase of brake material = %0.2f C',delta_T)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
76f0ec3350b801ba2382846cfa75207843f0562d
|
63ccd06dc73ae23018138979d6631554c7160794
|
/experiments/sl-eeg-expt/presentation/Scenarios/Passive Auditory Oddball MMN - Touch.sce
|
222713f7700b1f6c6f46ebc8ae3501007ee6419e
|
[] |
no_license
|
zhenghanQ/qlab
|
d82b318a8c10d9a4d3ab144d029ed20ac83060c7
|
aaf7dd591b77b9e611366f2bacefd2b613644c83
|
refs/heads/master
| 2021-06-01T17:38:51.634923
| 2021-03-23T01:15:44
| 2021-03-23T01:15:44
| 128,655,996
| 1
| 0
| null | 2018-04-08T15:37:37
| 2018-04-08T15:37:36
| null |
UTF-8
|
Scilab
| false
| false
| 11,847
|
sce
|
Passive Auditory Oddball MMN - Touch.sce
|
# -------------------------- Header Parameters --------------------------
scenario = "MMN";
write_codes = EXPARAM( "Write Codes" );
screen_width_distance = EXPARAM( "Physical Screen Width" );
screen_height_distance = EXPARAM( "Physical Screen Height" );
screen_distance = EXPARAM( "Viewing Distance" );
default_background_color = EXPARAM( "Default Background Color" );
default_font = EXPARAM( "Default Font" );
default_font_size = EXPARAM( "Default Font Size" );
default_text_color = EXPARAM( "Default Font Color" );
active_buttons = 1;
response_matching = simple_matching;
stimulus_properties =
event_name, string,
trial_number, number,
stim_number, number,
stim_type, string,
p_code, number,
ISI_duration, number;
event_code_delimiter = ";";
# ------------------------------- SDL Part ------------------------------
begin;
ellipse_graphic {
color = EXPARAM( "Fixation Point Color" );
ellipse_height = EXPARAM( "Fixation Point Size" );
ellipse_width = EXPARAM( "Fixation Point Size" );
} fix_ellipse;
trial {
#monitor_videos = false;
stimulus_event {
sound {
wavefile {
preload = false;
};
};
} stim_event;
} stim_trial;
trial {
trial_type = specific_response;
terminator_button = 1;
trial_duration = forever;
picture{
text {
caption = "rest";
preload = false;
} instruct_text;
x = 0;
y = 0;
} instruct_pic;
} instruct_trial;
trial {
#monitor_videos = false;
stimulus_event {
picture {} ISI_pic;
code = "ISI";
} ISI_event;
} ISI_trial;
trial {
picture {
text {
caption = "Ready";
preload = false;
} ready_text;
x = 0;
y = 0;
} ready_pic;
} ready_trial;
# ----------------------------- PCL Program -----------------------------
begin_pcl;
include_once "../../Library/lib_visual_utilities.pcl";
include_once "../../Library/lib_utilities.pcl";
# --- CONSTANTS --- #
string STIM_EVENT_CODE = "Stim";
int STD_IDX = 1;
int DEV_IDX = 2;
int MAX_PORT_VAL = 255;
string VIDEO_CODE = "Video";
string STD_COND = "Standard";
string DEV_COND = "Deviant";
string CHARACTER_WRAP = "Character";
# --- Set up fixed stimulus parameters ---
string language = parameter_manager.get_string( "Language" );
language_file lang = load_language_file( scenario_directory + language + ".xml" );
bool char_wrap = ( get_lang_item( lang, "Word Wrap Mode" ).lower() == CHARACTER_WRAP.lower() );
double font_size = parameter_manager.get_double( "Default Font Size" );
# --- Stimulus setup ---
if ( parameter_manager.get_bool( "Show Fixation Point" ) ) then
ISI_pic.add_part( fix_ellipse, 0, 0 );
end;
# Make some sounds
array<sound> stim_snds[2];
stim_snds[STD_IDX] = parameter_manager.get_sound( "Standard Sound" );
stim_snds[DEV_IDX] = parameter_manager.get_sound( "Deviant Sound" );
stim_snds[STD_IDX].get_wavefile().load();
stim_snds[DEV_IDX].get_wavefile().load();
if ( parameter_manager.get_bool( "Generate Sounds" ) ) then
# Initialize some values
double ramp_up_time = parameter_manager.get_double( "Rise Time" );
double ramp_down_time = parameter_manager.get_double( "Fall Time" );
# Make the rise/fall ramps
asg::line ramp_down = new asg::line( ramp_down_time, 1.0, 0.0 );
asg::line ramp_up = new asg::line( ramp_up_time, 0.0, 1.0 );
# Make the waveform data
double std_duration = parameter_manager.get_double( "Standard Duration" );
double dev_duration = parameter_manager.get_double( "Deviant Duration" );
asg::sine std_data = new asg::sine( std_duration, parameter_manager.get_double( "Standard Frequency" ), 0.0 );
asg::sine dev_data = new asg::sine( dev_duration, parameter_manager.get_double( "Deviant Frequency" ), 0.0 );
asg::waveform_data std_wf = new asg::waveform_data( std_data );
asg::waveform_data dev_wf = new asg::waveform_data( dev_data );
# Check that the rise and fall times are legal
double ramp_time = ramp_up_time + ramp_down_time;
if ( ramp_time > std_duration ) || ( ramp_time > dev_duration ) then
exit( "The total rise and fall time is greater than the sound duration." );
end;
# Multiply by the rise/fall times
std_wf.multiply_segment( ramp_up, 0.0 );
std_wf.multiply_segment( ramp_down, std_wf.duration() - ramp_down_time );
dev_wf.multiply_segment( ramp_up, 0.0 );
dev_wf.multiply_segment( ramp_down, dev_wf.duration() - ramp_down_time );
# Now make the sound objects
stim_snds[STD_IDX] = new sound( new wavefile( std_wf, std_wf ) );
stim_snds[DEV_IDX] = new sound( new wavefile( dev_wf, dev_wf ) );
end;
# Set the attenuation on the sounds
begin
double std_atten = 1.0 - ( double( parameter_manager.get_int( "Standard Volume" ) ) / 100.0 );
double dev_atten = 1.0 - ( double( parameter_manager.get_int( "Deviant Volume" ) ) / 100.0 );
stim_snds[STD_IDX].set_attenuation( std_atten );
stim_snds[DEV_IDX].set_attenuation( dev_atten );
end;
# --- sub present_instructions ---
sub
present_instructions( string instruct_string )
begin
full_size_word_wrap( instruct_string, font_size, char_wrap, instruct_text );
instruct_trial.present();
default.present();
end;
# --- sub ready_set_go ---
trial_refresh_fix( ready_trial, parameter_manager.get_int( "Ready Duration" ) );
array<string> ready_caps[3];
ready_caps[1] = get_lang_item( lang, "Ready Caption" );
ready_caps[2] = get_lang_item( lang, "Set Caption" );
ready_caps[3] = get_lang_item( lang, "Go Caption" );
sub
ready_set_go
begin
loop
int i = 1
until
i > ready_caps.count()
begin
ready_text.set_caption( ready_caps[i], true );
ready_trial.present();
i = i + 1;
end;
end;
# --- sub show_video ---
/*sub
show_video( array<video,1>& vids, int vid_number )
begin
video_player.play( vids[vid_number], VIDEO_CODE + string( vid_number ) );
end;*/
# --- Make a trial sequence
array<int> trial_sequence[0];
int min_start = parameter_manager.get_int( "Min Standards at Start" );
begin
# Get some trial counts
int total_trials = parameter_manager.get_int( "Total Trials" );
int std_trials = int( ceil( parameter_manager.get_double( "Standard Proportion" ) * double(total_trials) ) );
int dev_trials = total_trials - std_trials;
# Figure out some of the restrictions
int min_end = parameter_manager.get_int( "Min Standards at End" );
int min_between = parameter_manager.get_int( "Min Standards between Deviants" );
# Make sure there are enough trials to meet the restrictions
int set_aside_stds = min_start + min_end + ( dev_trials * min_between );
int remaining_stds = std_trials - set_aside_stds;
if ( remaining_stds < 0 ) then
exit( "There are not enough standard trials to create a legal sequence with the current settings." );
end;
# First we'll build a short sequence that ensures there are
# enough targets between each distractor. For every distractor
# we add "min_between" targets
array<int> distractor_seq[min_between + 1];
distractor_seq.fill( 1, 0, STD_IDX, 0 );
distractor_seq[distractor_seq.count()] = DEV_IDX;
# Set up a sequence of targets at the start
array<int> start_seq[min_start];
start_seq.fill( 1, 0, STD_IDX, 0 );
# Set up a sequence of targets at the end
array<int> end_seq[min_end];
if ( min_end > 0 ) then
end_seq.fill( 1, 0, STD_IDX, 0 );
end;
# Now build a temporary tgt/dist sequence.
# This will get "expanded" later because for each distractor that
# comes up, we'll add in "min_between" targets preceding it
array<int> temp_seq[remaining_stds + dev_trials];
temp_seq.fill( 1, 0, DEV_IDX, 0 );
temp_seq.fill( 1, remaining_stds, STD_IDX, 0 );
temp_seq.shuffle();
# Now build the actual sequence. Add the initial target sequence,
# then add in the temp sequence that contains the distractors,
# then add in the final target sequence at the end
trial_sequence.append( start_seq );
loop
int i = 1
until
i > temp_seq.count()
begin
if ( temp_seq[i] == STD_IDX ) then
trial_sequence.add( STD_IDX );
else
trial_sequence.append( distractor_seq );
end;
i = i + 1;
end;
trial_sequence.append( end_seq );
end;
# --- Video setup ---
# Grab the videos
bool show_vids = parameter_manager.get_bool( "Show Videos" );
bool preload_vids = parameter_manager.get_bool( "Preload Videos" );
/*array<video> my_vids[0];
parameter_manager.get_videos( "Video Files", my_vids );*/
/*if ( show_vids ) then
# Exit if they didn't specify a video
if ( my_vids.count() == 0 ) then
exit( "You must specify at least one video in 'Video Files'" );
end;
# Initialize some values
bool use_audio = parameter_manager.get_bool( "Use Audio from Video" );
double vid_height = parameter_manager.get_double( "Video Height" );
double vid_width = parameter_manager.get_double( "Video Width" );
# Prepare the videos and set the audio if requested
loop
int i = 1
until
i > my_vids.count()
begin
my_vids[i].set_use_audio( use_audio );
if ( vid_height > 0.0 ) then
my_vids[i].set_height( vid_height );
end;
if ( vid_width > 0.0 ) then
my_vids[i].set_width( vid_width );
end;
if ( preload_vids ) then
my_vids[i].prepare();
end;
i = i + 1;
end;
end;*/
# --- Main Sequence --- #
string instructions = get_lang_item( lang, "Instructions" );
if ( !show_vids ) then
instructions = get_lang_item( lang, "No Video Instructions" );
end;
# Get the ISI
array<int> ISI_range[0];
parameter_manager.get_ints( "ISI Range", ISI_range );
if ( ISI_range.count() != 2 ) then
exit( "You must specify exactly two values in 'ISI Range'" );
end;
# Get the port codes
array<int> port_codes[2];
port_codes[STD_IDX] = parameter_manager.get_int( "Standard Port Code" );
port_codes[DEV_IDX] = parameter_manager.get_int( "Deviant Port Code" );
# Get the event codes
array<string> event_codes[2];
event_codes[STD_IDX] = STD_COND;
event_codes[DEV_IDX] = DEV_COND;
# Prepare a video if necessary
/*if ( show_vids ) then
my_vids[1].prepare();
end;*/
# Show the instructions
present_instructions( instructions );
ready_set_go();
# Start the video running
/*if ( show_vids ) then
show_video( my_vids, 1 );
else
ISI_pic.present();
end;*/
# Loop to present trial sequence
loop
array<int> ctrs[2] = { 1,1 };
bool next_prepared = false;
int vid_ctr = 1;
int i = 1
until
i > trial_sequence.count()
begin
# Check if this video is still playing, and play the
# subsequent video if there is one, and increment the ctr
if ( show_vids ) then
/*if ( !my_vids[vid_ctr].playing() ) && ( vid_ctr < my_vids.count() ) then
vid_ctr = vid_ctr + 1;
show_video( my_vids, vid_ctr );
next_prepared = false;
end;*/
end;
# Check whether std or deviant
int this_stim = trial_sequence[i];
# Set the ISI
trial_refresh_fix( ISI_trial, random( ISI_range[1], ISI_range[2] ) );
# Set the ISI duration and the stimulus
stim_event.set_stimulus( stim_snds[this_stim] );
# Set the port code; we add a special prefix for the first stimulus presentation
int p_code = port_codes[this_stim];
if ( i <= min_start ) then
p_code = p_code + 100;
end;
stim_event.set_port_code( p_code );
# Set the event code
stim_event.set_event_code(
STIM_EVENT_CODE + ";" +
string( i ) + ";" +
string( ctrs[this_stim] ) + ";" +
event_codes[this_stim] + ";" +
string( p_code ) + ";" +
string( ISI_trial.duration() )
);
# Present the trial
stim_trial.present();
# Use some ISI time to prepare the next video if necessary
/*if ( show_vids ) then
if ( !next_prepared ) && ( !preload_vids ) then
int start = clock.time();
if ( vid_ctr < my_vids.count() ) then
my_vids[vid_ctr + 1].prepare();
end;
next_prepared = true;
int ttime = clock.time() - start;
if ( ttime < ISI_trial.duration() ) then
ISI_trial.set_duration( ISI_trial.duration() - ttime );
else
ISI_trial.set_duration( ISI_trial.STIMULI_LENGTH );
end;
end;
end;*/
# Show the ISI
ISI_trial.present();
ctrs[this_stim] = ctrs[this_stim] + 1;
i = i + 1;
end;
present_instructions( get_lang_item( lang, "Completion Screen Caption" ) );
|
7d421e6ced53c45101146ad1b4320563301b870e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1943/CH8/EX8.3/Ex8_3.sce
|
7b9673c6593df25810716bf91e0c724587217d06
|
[] |
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,732
|
sce
|
Ex8_3.sce
|
clc
clear
//Input data
tw3=30;//The inlet temperature of water in degree centigrade
wc=1.15;//Mass flow rate of cooling water in kg per kg air
tdb1=20;//The dry bulb temperature of air in degree centigrade
R1=60;//Relative humidity of air while entering in percentage
tdb2=28;//The dry bulb temperature while leaving in degree centigrade
R2=90;//Relative humidity of air while leaving in percentage
tm=20;//The temperature of makeup water in degree centigrade
Cpc=4.187;//The specific heat of water in kJ/kgK
G=1;//Mass flow rate of dry air in kg/s
//Calculations
twb1=15.2;// from psychrometric chart The wet bulb temperature while entering in degree centigrade
twb2=26.7;// from psychrometric chart The wet bulb temperature while leaving in degree centigrade
h1=43;//The enthalpy from chart for dry air in kJ/kg dry air
h2=83.5;//The enthalpy from chart in kJ/kg dry air
W1=0.0088;//Humidity in kg water vapour/kg dry air
W2=0.0213;//Humidity in kg water vapour/kg dry air
hw3=125.8;//Enthalpy of water entering the tower in kJ/kg
hw=84;//Enthalpy of makeup water in kJ/kg
hwc=[(G/wc)*[(h2-h1)-(W2-W1)*hw]];//The change in enthalpy of water in kJ/kg
tw4=tw3-(hwc/Cpc);//The exit temperature of water in degree centigrade
ta=tw4-twb1;//The approach temperature in degree centigrade
tr=tw3-tw4;//The range temperature in degree centigrade
x=G*(W2-W1);//Fraction of water evaporated in kg/kg dry air
//Output
printf(' (a) The temperature of water leaving the tower = %3.1f degree centigrade \n (b) The fraction of water evaporated = %3.4f kg/kg dry air \n (c) The approach of the cooling tower = %3.1f degree centigrade \n The Range of the cooling tower = %3.1f degree centigrade ',tw4,x,ta,tr)
|
e14aa9f589673278fd525a8b2deca92769130797
|
d2b4190265ddc2ddd6f63bacfdafae9504390fd0
|
/MatrixAdd.sce
|
3713bc9ef8ba5ae0bd6d1fce945a4fd4a45d74a1
|
[] |
no_license
|
santushtisharma10/AppliedMathematics_with_Scilab
|
8dd80f3a36298d844a42a37619e309b53022204d
|
28b4de4244768c0bb0eba1daea86d69021d89400
|
refs/heads/main
| 2023-05-29T04:40:42.507269
| 2021-06-04T13:25:58
| 2021-06-04T13:25:58
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 520
|
sce
|
MatrixAdd.sce
|
clc
m=input("Enter number of rows:")
n=input("Enter number of columns:")
a=zeros(m,n)
b=zeros(m,n)
c=zeros(m,n)
disp("Enter the elements of matrix A:");
for i=1:m
for j=1:n
a(i,j)=input("");
end;
end;
disp("Enter the elements of matrix B:");
for i=1:m
for j=1:n
b(i,j)=input("");
end;
end;
for i=1:m
for j=1:n
c(i,j)=a(i,j)+b(i,j);
end;
end;
disp("Matrix A:");
disp(a);
disp("Matrix B:");
disp(b);
disp("Addition Matrix C:");
disp(c);
|
17a55a88184d6439c3969e0487ed2e527de3de71
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3293/CH3/EX3.16/Ex3_16.sce
|
9f7137d4bbe05ead2e051c51989efe55f9f69f5f
|
[] |
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
| 527
|
sce
|
Ex3_16.sce
|
//page 92
//Example 3.16
clc;
clear;
close;
disp('T is a linear operator on R^2 defined as T(x1,x2) = (x1,0)');
disp('So, the matrix T in standard ordered basis B = {e1,e2} is ');
T = [1 0 ;0 0];
disp(T,'[T]B = ');
disp('Let B'' is the ordered basis for R^2 consisting of vectors:');
E1 = [1 1];
E2 = [2 1];
disp(E1,'E1 = ');
disp(E2,'E2 = ');
P = [E1;E2]'
disp(P,'So, matrix P = ');
Pinv = inv(P);
disp(Pinv,'P inverse = ');
T1 = Pinv*T*P;
disp(T1,'So, matrix T in ordered basis B'' is [T]B'' = ');
//end
|
dc00c592768c7948a9b90c50dd048144c49bd769
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/881/CH10/EX10.1/exa10_1.sce
|
0fba87c9435973bc7b29032a19655bb1bba8b93a
|
[] |
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
| 464
|
sce
|
exa10_1.sce
|
clc;
//Example 10.1
//Page No 395
//Solution
i=10*10^-4;
dt=10*10^-9;
dv=10;
disp("The expression for the current through a capacitor is ");
disp("i = C dv/dt");
disp("Rearranging and solving for c yields, ");
c=i*dt/dv;
disp('F',c,"C = ");
disp("t = RC","The charge time constant for C when Q1 in on is ");
disp("Therefore, rearranging the above equation and substituting the value of chaging time yields");
C=dt/(4.6*20);
disp('F',C/100,"C = ");
|
c8229f1a66ace5141e65eca90b8161bc283bf066
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3456/CH15/EX15.3/Ex15_3.sce
|
00d567db3197e0f9b9021503822e2ea8d60a64ec
|
[] |
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
| 170
|
sce
|
Ex15_3.sce
|
//Example 15.3
//Hodography
//Page No. 517
clc;clear;close;
alpha=60; //in degrees
mu=1/sind(alpha);
p_2k=mu*5/2;
printf('Pressure = %g',p_2k);
|
40957918894cd43e38877fdb815ecb9523d9d78f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/964/CH5/EX5.6/5_6.sce
|
973aefe122ea15543675ca9f9783d7b0d3e4f323
|
[] |
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,763
|
sce
|
5_6.sce
|
clc;
clear;
function y=f(x)
y=x^10 - 1;
endfunction
x1=0;
x2=1.3;
xt=1;
//using bisection method
disp("BISECTION METHOD:")
xr=(x1+x2)/2;
et=abs(xr-xt)/xt*100;//error
disp(1,"Iteration:")
disp(x1,"xl:")
disp(x2,"xu:")
disp(xr,"xr:")
disp(et,"et(%):")
disp("----------------------------------------")
for i=2:5
if f(x1)*f(xr)>0 then
x1=xr;
xr=(x1+x2)/2;
ea=abs(xr-x1)/xr*100;
et=abs(xr-xt)/xt*100;
else if f(x1)*f(xr)<0 then
x2=xr;
xr=(x1+x2)/2;
ea=abs(xr-x2)/xr*100;
et=abs(xr-xt)/xt*100;
end
end
if f(x1)*f(xr)==0 then break;
end
disp(i,"Iteration:")
disp(x1,"xl:")
disp(x2,"xu:")
disp(xr,"xr:")
disp(et,"et(%):")
disp(ea,"ea(%)")
disp("----------------------------------------")
end
//using false position method
disp("FALSE POSITION METHOD:")
x1=0;
x2=1.3;
xt=1;
xr=x1-(f(x1)*(x2-x1))/(f(x2)-f(x1));;
et=abs(xr-xt)/xt*100;//error
disp(1,"Iteration:")
disp(x1,"xl:")
disp(x2,"xu:")
disp(xr,"xr:")
disp(et,"et(%):")
disp("----------------------------------------")
for i=2:5
if f(x1)*f(xr)>0 then
x1=xr;
xr=x1-(f(x1)*(x2-x1))/(f(x2)-f(x1));
ea=abs(xr-x1)/xr*100;
et=abs(xr-xt)/xt*100;
else if f(x1)*f(xr)<0 then
x2=xr;
xr=x1-(f(x1)*(x2-x1))/(f(x2)-f(x1));
ea=abs(xr-x2)/xr*100;
et=abs(xr-xt)/xt*100;
end
end
if f(x1)*f(xr)==0 then break;
end
disp(i,"Iteration:")
disp(x1,"xl:")
disp(x2,"xu:")
disp(xr,"xr:")
disp(et,"et(%):")
disp(ea,"ea(%)")
disp("----------------------------------------")
end
|
5f19d780e03263e6443e470c5a85e7dda9e7385d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2783/CH5/EX5.17/Ex5_17.sce
|
ed7d2b35a12f22392d723e9d712d81f9d4b21e61
|
[] |
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
| 210
|
sce
|
Ex5_17.sce
|
clc
//initialization of new variables
clear
D=0.5 //m
H=0.5 //m
d=1 //m
g=9.8 //m/s^2
//calculations
Cd=0.399+0.0598*H/D
Q=Cd*d/2*sqrt(2*g)*H^(3/2)
//results
printf('Flow rate is Q = %.3f m^3/s',Q)
|
5a098dc010e941c60f61e39b5c527d79d59cc802
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2789/CH9/EX9.12/Ex9_12.sce
|
189384681e02f8e5f96bec4305075832f9f7ade0
|
[] |
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
| 312
|
sce
|
Ex9_12.sce
|
clear;
clc;
//page no. 312
d = 12;// in
D = 24;//in
theta = 20;//degrees
G = 10;//cfs
p = 20;//psi
V12 = G/(0.25*%pi);
V24 = V12/4;
K_L = 0.43;
p24 = ((p*144/62.4) + (V12^2 /(2*32.2)) - ((V24^2)/(2*32.2)) - K_L*(V12-V24)^2 /(2*32.2))/2.314;
printf('Pressure in the larger pipe = %.1f psi',p24);
|
0e634edddbd8be931792d82af7a99bb38dbfc882
|
e528067e2ccea7463d0b594f523db94cf160e66d
|
/C/array/dyn_arr.tst
|
f813675b111ae97c8a13701fcd72a6b1c54830bc
|
[] |
no_license
|
soumyajuit/progs_Ubuntu
|
489a7b21717a049b8db9186a25516429888b6147
|
c55fd95a61e36038fd801b3b705bbc5e2b024689
|
refs/heads/master
| 2021-01-10T03:40:28.735389
| 2015-12-29T06:44:55
| 2015-12-29T06:44:55
| 48,730,996
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 21
|
tst
|
dyn_arr.tst
|
9
1 2 3 4 5 6 7 8 9
|
c935dbf09d936f1dc223e92837fae616d19b707d
|
ef9a2839953f3586e66c1cf824c9de199f52d088
|
/mcc_generated_files/X2CCode/qei_sim.sce
|
9f74a98a34f0cbf4b56c43725c47a85c9b9be33a
|
[] |
no_license
|
MCHP-X2Cdemos/mc_foc_sl_fip_dsPIC33ck_mclv2.x
|
72f1e06eb18738796d59938474c6d533bd07bb1e
|
d77e18983439d895b83b6d63fdaad4c8fdb028e7
|
refs/heads/master
| 2023-03-20T10:54:54.157111
| 2021-03-11T22:01:12
| 2021-03-11T22:01:12
| 288,478,027
| 2
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 234
|
sce
|
qei_sim.sce
|
function y = qei_sim(u1)
in = u1;
out = u1;
if in > %pi then
out = modulo(in-%pi, 2*%pi) - %pi;
end
if in < -%pi then
out = modulo(in+%pi, 2*%pi) + %pi;
end
y = out*1/%pi;
endfunction
|
0d5e31b4a029d4dcd43af9f525d557712ed8f88a
|
9d2c9394c6b6997318b9d04556462c9bba639045
|
/Replication 2/Dave_RIFData/Dave_RIFData/Sub18/VP18_OneBack.sce
|
98ab74562b3e2a357e972fea3a0fd4c9639e0dc4
|
[] |
no_license
|
rettopnivek/Wimber_et_al_replication_3
|
673b156d8d18d58b92b2f05fedef87976e787089
|
8dbc22329093a61b1e5cb8aac3feca45a5c82d06
|
refs/heads/master
| 2020-12-31T04:42:39.856717
| 2018-02-01T15:49:15
| 2018-02-01T15:49:15
| 58,006,910
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,884
|
sce
|
VP18_OneBack.sce
|
array <int> finalSeq[432] = {68,68,9,9,36,36,31,33,52,23,13,43,65,13,50,28,28,42,72,5,51,64,64,48,63,72,63,63,15,15,42,38,31,10,6,66,43,17,6,55,35,29,37,66,49,7,50,50,56,56,14,52,61,4,9,67,4,5,34,70,55,55,64,47,32,32,26,43,46,46,55,55,4,4,19,26,4,12,29,34,34,54,27,26,21,12,60,37,56,21,10,58,58,15,70,54,24,42,42,50,20,20,40,71,39,31,31,67,59,59,43,43,68,49,45,21,67,8,45,68,14,2,1,1,29,22,70,70,32,32,18,25,32,44,71,60,60,46,66,35,35,57,57,47,69,69,13,33,54,16,6,28,28,70,37,58,12,14,33,30,33,9,19,18,72,25,38,40,39,7,7,24,24,53,25,25,53,58,66,23,16,11,11,49,58,35,1,1,29,29,63,30,58,32,12,48,42,2,36,52,66,66,43,65,60,60,36,17,47,60,38,20,20,11,11,71,28,19,25,59,62,56,62,26,26,34,26,34,34,24,45,39,2,41,22,6,41,42,49,27,30,30,27,27,12,7,5,37,5,38,5,45,7,47,23,51,51,3,33,31,61,13,65,14,49,49,59,12,10,10,54,40,8,69,8,8,48,46,17,4,23,72,46,65,21,21,41,51,3,50,38,6,19,19,27,57,57,18,14,57,35,23,47,53,59,61,17,29,2,40,48,64,13,39,24,2,53,28,67,8,40,71,71,63,64,27,54,3,30,13,11,16,62,22,22,52,53,10,37,45,67,39,52,51,68,20,39,31,47,53,30,19,21,44,2,36,18,68,3,38,61,22,10,67,7,62,44,48,65,65,9,18,71,54,69,35,44,59,51,62,55,62,40,24,18,15,15,61,25,6,23,64,48,14,46,5,41,41,22,36,17,17,57,61,3,72,72,37,15,45,56,16,16,33,8,63,16,41,69,69,50,9,44,56,52,11,20,3,70,44,1,1};
array <int> buttons[432] = {0,1,2,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,1,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,1,2,2,2,1,2,1,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,1,2,2,1,2,2,2,2,1,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,1,2,1,2,2,2,2,2,2,1,2,2,2,1,2,1,2,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,1,2,2,2,2,2,2,1,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,1,2,2,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,1,2,2,2,1,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,1,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,1,2,2,2,1,2,2,2,2,1,2,2,2,2,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,0,0};
array <int> nullEvents[145] = {4,5,8,13,14,17,23,25,34,35,36,40,49,50,54,55,75,79,80,81,85,86,90,95,102,104,106,112,118,125,126,127,132,134,140,142,147,148,150,151,153,154,160,167,168,173,179,192,194,195,205,212,215,222,224,226,228,230,235,236,242,247,248,251,257,259,262,268,270,272,277,279,297,300,304,305,310,320,322,325,326,330,335,336,342,344,353,354,364,367,368,369,370,371,377,381,394,396,401,404,406,408,409,414,415,417,429,430,434,435,439,440,443,448,454,457,459,464,470,472,481,482,500,501,502,506,512,516,519,522,526,527,529,530,532,541,542,543,555,557,560,567,574,575,577};
array <int> selPic[36] = {1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72};
|
54dc6fc04cb78486db3a5cb009a4363e57d373c2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/944/CH6/EX6.14/example6_14_TACC.sce
|
008ea9ba45e8fc51e634bcb87fc7ec3d58eb7bb0
|
[] |
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
| 741
|
sce
|
example6_14_TACC.sce
|
//example 6.14
clear;
clc;
//Given:
m1=0.01;//molality[m]
v11=1;
v12=2;
Y1=0.71;
m2=0.005;//molality[m]
v21=1;
v22=1;
Y2=0.53;
//To find the activity , molality of the electrolytes
v1=(v11)+(v12);
v2=(v21)+(v22);
a1=(m1^v1)*(v11^v11)*(v12^v12)*(Y1^v1);
a2=(m2^v2)*(v21^v21)*(v22^v22)*(Y2^v2);
x=1/v1;
a1m=a1^x;
m1m=m1*(v11^v11*v12^v12)^x;//molality[m]
y=1/v2;
m2m=m2*(v21*v21*v22^v22)^y;//molality[m]
a2m=a2^y;
disp(a1,'The activity of the electrolyte ZnCl2 is');
disp(a1m,'The mean activity of ZnCl2 is ');
disp(m1m,'The mean molality of ZnCl2 in [m] ');
disp(a2,'The activity of the electrolyte CuSO4 is ');
disp(a2m,'The mean activity of CuSO4 is ');
disp(m2m,'The mean molality of CuSO4 in [m] ');
|
369c24179fe82f14026ea9361268bbaa179498e5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/181/CH3/EX3.12/example3_12.sce
|
b194072d341b7cef4880e1d6c2d5aa9b3a59d02a
|
[] |
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
| 577
|
sce
|
example3_12.sce
|
// Determine maximum and average values of power
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-12 in page 159
clear; clc; close;
// Given data
V1=230; // Input voltage in V
N=1/3; // Turn ratio
Rl=200; // Load resistance in ohms
// Calculation
V2=V1*N;
Vm=sqrt(2)*V2;
Im=Vm/Rl;
P=Im^2*Rl;
Vdc=0.318*Vm;
Idc=Vdc/Rl;
Pdc=Idc^2*Rl;
printf("Maximum load power = %0.2f W\n",P);
printf("Average load power = %0.2f W",Pdc);
// Result
// Maximum power = 58.78 W
// Average power = 5.94 W
|
3f2c6750ee1d27878b595c20cab2a1ea22860f89
|
a62e0da056102916ac0fe63d8475e3c4114f86b1
|
/set14/s_Machine_Design_U._C._Jindal_683.zip/Machine_Design_U._C._Jindal_683/CH3/EX3.4/MS_4.sce
|
afd0d32609bd5d0fc9ff76907f53e18a4812d6cc
|
[] |
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
| 319
|
sce
|
MS_4.sce
|
errcatch(-1,"stop");mode(2);// sum 3-4
;
;
P=40*10^3;
A=60*18;
sig=P/A;
r1=12;
b1=60;
SCF1=1.7;
sigmax1=sig*SCF1;
r2=24;
b2=60;
SCF2=1.5;
sigmax2=sig*SCF2;
// printing data in scilab o/p window
printf("sigmax1 is %f N/mm^2 ",sigmax1);
printf("\n sigmax2 is %f N/mm^2 ",sigmax2);
exit();
|
e1cdac8539c92f128d3ed1759f3c9587209b8c65
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/181/CH4/EX4.4/example4_4.sce
|
fb6e627b53bbe43b211977b1d61d023fcba4262f
|
[] |
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
| 451
|
sce
|
example4_4.sce
|
// Calculate beta for the BJT
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 4-4 in page 209
clear; clc; close;
// Given Data
Ib=20*10^-6; // Base current in micro-A
Ic=5*10^-3; // Collector Current in mA
// Calculations
beta_bjt=Ic/Ib;
printf("The Current gain beta for the Device is %0.0f \n",beta_bjt);
// Results
// The Current Gain beta for the Device is 250
|
23431d6e1283caac473b9e08e77554163d247187
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2150/CH4/EX4.25/ex4_25.sce
|
765dfa9e1f3c29e3e8d4c507a019812ab9fa99ed
|
[] |
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
| 489
|
sce
|
ex4_25.sce
|
// Exa 4.25
clc;
clear;
close;
// Given data
V_CC = 16;// in V
V_BE = 0.7;// in V
R_B = 470;// in kohm
R_B= R_B*10^3;// in ohm
bita = 120;
R_C = 3.6;// in kohm
R_C= R_C*10^3;// in ohm
R_E = 0.51;// in kohm
R_E= R_E*10^3;// in ohm
I_B = (V_CC - V_BE)/(R_B+bita*(R_C+R_E));// in A
disp(I_B*10^6,"The base current in µA is");
I_C = bita*I_B;// in A
disp(I_C*10^3,"The collector current in mA is");
V_C = V_CC - I_C*R_C;// in V
disp(V_C,"The collector voltage in V is");
|
6e0a12591da938244b6e6693b7c5f8f1a675b814
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3574/CH10/EX10.1/EX10_1.sce
|
b68da3e10c4f13f789f169907e0e14c8ff0825f7
|
[] |
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
| 613
|
sce
|
EX10_1.sce
|
// Example 10.1
// Computation of (a) Induced emf (b) Frequency of the rectangular voltage
// wave in the armature winding
// Page No. 394
clc;
clear;
close;
// Given data
E1=136.8; // Generated emf
P=6; // Number of poles
n=1180; // Operating speed of machine
// (a) Induced emf
E2=E1*0.75*2;
// (b) Frequency of the rectangular voltage wave in the armature winding
f=P*n*0.75/120;
//Display result on command window
printf("\n Induced emf = %0.1f V ",E2);
printf("\n Frequency of the rectangular voltage wave = %0.2f Hz ",f);
|
ec027c9aaf28b97d44305f37f4c42a6df2806701
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1952/CH12/EX12.3/Ex3.sce
|
62480f7541decdb2d85c84b7a4bcddb2b70dde85
|
[] |
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
| 472
|
sce
|
Ex3.sce
|
// Additional solved examples , Example 3 , pg 331
T=260+273 //temperature(in kelvin) (converting celsius into kelvin)
h=6.625*10^-34//plancks constant(in Js)
c=3*10^8//speed of light(in m/s)
lam=590*10^-9//wavelength(in m)
k=1.38*10^-23//boltzman constant (in (m^2*Kg)/(s^2*k))
N=1/(exp((h*c)/(lam*k*T))-1) //N=((n21)'/(n21)) ratio of stimulated emission to spontaneous emission
printf("Ratio of stimulated emission to spontaneous emission is")
disp(N)
|
1f60b5732d360e112afcc807d40a911013a1b112
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1991/CH2/EX2.14/14.sce
|
752f59ba1b090bbd77880b54f1b32e412467d903
|
[] |
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
| 295
|
sce
|
14.sce
|
clc
clear
//input
m1=1//mass of object 1
v1=25//velocity of object 1
m2=2//mass of object 2
v2=0//body at rest,velocity =0
v3=10
//caclulation
u=((m1*v1)+(m2*v2)-(m2*v3))/2//applying princilpe of conservation of linear momentum
//output
printf("\n the value of u is %3.3f ms^-1",-u)
|
ee614b1a99da2e2c861b2fb2cc842d45b43baec8
|
8b2aa0460ec6250a29ed3fb32790e0211478b29a
|
/src/menu.sci
|
ab01dacd10e414f4a94a6e80e34c40766a1ada76
|
[] |
no_license
|
samverneck/RealTimeMonitor
|
41f37735570aa91cab7765f0800547987f0eb72c
|
f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa
|
refs/heads/master
| 2020-12-02T18:09:27.752225
| 2017-06-21T19:52:00
| 2017-06-21T19:52:00
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 5,946
|
sci
|
menu.sci
|
mAcq=uimenu(f,'label', 'Acquisition');
mSetup=uimenu(f,'label', "Setup");
mExport=uimenu(f,'label', "Export Data", "callback", "exportValues");
//
mAcq1=uimenu(mAcq,'label', "Start", "callback", "launchSensor");
mAcq2=uimenu(mAcq,'label', "Stop", "callback", "stopSensor");
mAcq3=uimenu(mAcq,'label', "Reset", "callback", "resetDisplay");
//
mSensor1=uimenu(mSetup,'label', "Sensor 1");
mSensor2=uimenu(mSetup,'label', "Sensor 2");
mStability=uimenu(mSetup,'label', "Stability");
//
mBuffer1=uimenu(mSensor1,'label', "Time Buffer", "callback", "changeBuffer(1)");
mMinTemp1=uimenu(mSensor1,'label', "Min Temp Display", "callback", "setupMinTemp(1)");
mMaxTemp1=uimenu(mSensor1,'label', "Max Temp Display", "callback", "setupMaxTemp(1)");
//
mBuffer2=uimenu(mSensor2,'label', "Time Buffer", "callback", "changeBuffer(2)");
mMinTemp2=uimenu(mSensor2,'label', "Min Temp Display", "callback", "setupMinTemp(2)");
mMaxTemp2=uimenu(mSensor2,'label', "Max Temp Display", "callback", "setupMaxTemp(2)");
//
mStabilityValue=uimenu(mStability,'label', "Stability value", "callback", "setupStability(1)");
mStabilityTime=uimenu(mStability,'label', "Stability time", "callback", "setupStability(2)");
//
function changeBuffer(id)
newBuffer=evstr(x_dialog('Set new time buffer value (seconds): ','300'))
//
if newBuffer == [] then
return
elseif id == 1 then
global timeBuffer
timeBuffer = newBuffer;
a = findobj("tag", "sensor1Axes");
e = findobj("tag", "sensor1NewAxes");
//
a.data_bounds = [0, minTempDisplay; timeBuffer, maxTempDisplay];
e.data_bounds = [0, minRegulationDisplay; timeBuffer, maxRegulationDisplay];
elseif id == 2 then
global timeBuffer2
timeBuffer2 = newBuffer;
a = findobj("tag", "sensor2Axes");
e = findobj("tag", "sensor2NewAxes");
//
a.data_bounds = [0, minTempDisplay2; timeBuffer2, maxTempDisplay2];
e.data_bounds = [0, minRegulationDisplay2; timeBuffer2, maxRegulationDisplay2];
end
endfunction
//
function setupMinTemp(id)
newMinTemp=evstr(x_dialog('Set new min temperature value: ','15'))
//
if newMinTemp == [] then
return
elseif id == 1 then
global minTempDisplay
global minRegulationDisplay
minTempDisplay = newMinTemp;
minRegulationDisplay = minTempDisplay + 273.15;
a = findobj("tag", "sensor1Axes");
e = findobj("tag", "sensor1NewAxes");
l = findobj("tag", "liveAxes");
minS = findobj("tag", "minTempSlider");
maxS = findobj("tag", "maxTempSlider");
//
a.data_bounds = [0, minTempDisplay; timeBuffer, maxTempDisplay];
e.data_bounds = [0, minRegulationDisplay; timeBuffer, maxRegulationDisplay];
l.data_bounds = [0, minTempDisplay; 1, maxTempDisplay];
minS.min = minTempDisplay;
maxS.min = minTempDisplay;
elseif id == 2 then
global minTempDisplay2
global minRegulationDisplay2
minTempDisplay2 = newMinTemp;
minRegulationDisplay2 = minTempDisplay2 + 273.15;
a = findobj("tag", "sensor2Axes");
e = findobj("tag", "sensor2NewAxes");
l = findobj("tag", "liveAxes2");
minS = findobj("tag", "minTempSlider2");
maxS = findobj("tag", "maxTempSlider2");
//
a.data_bounds = [0, minTempDisplay2; timeBuffer2, maxTempDisplay2];
e.data_bounds = [0, minRegulationDisplay2; timeBuffer2, maxRegulationDisplay2];
l.data_bounds = [0, minTempDisplay2; 1, maxTempDisplay2];
minS.min = minTempDisplay2;
maxS.min = minTempDisplay2;
end
endfunction
//
function setupMaxTemp(id)
newMaxTemp=evstr(x_dialog('Set new max temperature value: ','50'))
//
if newMaxTemp == [] then
return
elseif id == 1 then
global maxTempDisplay
global maxRegulationDisplay
maxTempDisplay = newMaxTemp;
maxRegulationDisplay = maxTempDisplay + 273.15;
a = findobj("tag", "sensor1Axes");
e = findobj("tag", "sensor1NewAxes");
l = findobj("tag", "liveAxes");
minS = findobj("tag", "minTempSlider");
maxS = findobj("tag", "maxTempSlider");
//
a.data_bounds = [0, minTempDisplay; timeBuffer, maxTempDisplay];
e.data_bounds = [0, minRegulationDisplay; timeBuffer, maxRegulationDisplay];
l.data_bounds = [0, minTempDisplay; 1, maxTempDisplay];
minS.max = maxTempDisplay;
maxS.max = maxTempDisplay;
elseif id == 2 then
global maxTempDisplay2
global maxRegulationDisplay
maxTempDisplay2 = newMaxTemp;
maxRegulationDisplay2 = maxTempDisplay2 + 273.15;
a = findobj("tag", "sensor2Axes");
e = findobj("tag", "sensor2NewAxes");
l = findobj("tag", "liveAxes2");
minS = findobj("tag", "minTempSlider2");
maxS = findobj("tag", "maxTempSlider2");
//
a.data_bounds = [0, minTempDisplay2; timeBuffer2, maxTempDisplay2];
e.data_bounds = [0, minRegulationDisplay2; timeBuffer2, maxRegulationDisplay2];
l.data_bounds = [0, minTempDisplay2; 1, maxTempDisplay2];
minS.max = maxTempDisplay2;
maxS.max = maxTempDisplay2;
end
endfunction
//
function setupStability(opt)
if opt == 1 then
newStability=evstr(x_dialog('Set new stability value: ','0.3'))
//
if newStability == [] then
return
else
global %stability_value
%stability_value = newStability;
end
elseif opt == 2 then
newStability=evstr(x_dialog('Set new stability time value (seconds): ','30'))
//
if newStability == [] then
return
else
global %stability_time
global %warning
//
%warning = [%t, %t];
%stability_time = newStability;
end
end
endfunction
|
35c2e7a6e03fa9651a02d8e4441c22ec0442490d
|
194d4cafa290b2fdf3aa87e18ddadcfff70a70d8
|
/k1.sce
|
c28d8b5706a5ed12efd34618f8138cec61174a4d
|
[] |
no_license
|
KomalT/tryout60
|
cc43d4a5d96b5525e691a907c7ad8c7e61004a3c
|
ef4cc3e641a77c2cea565035cf033536d91e29ea
|
refs/heads/master
| 2016-08-12T19:05:56.548794
| 2016-05-02T06:15:37
| 2016-05-02T06:15:37
| 55,436,025
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 566
|
sce
|
k1.sce
|
P1s = 0.43596
P2s = 0.23738
x=[0:0.1:1];
P=P2s+((P1s-P2s)*x);
y=x*P1s ./P ;
plot(x,P,'b')
Amar=0.5196743
gama1=exp(Amar*(1-x)^2);
gama2=exp(Amar*x^2);
Pmar=(P1s*gama1.*x)+(P2s*gama2.*(1-x));
ymar=(P1s*gama1.*x)./Pmar;
plot(x,Pmar,'g')
xexp=[.0819 .2192 .3584 .3831 .5256 .8478 .9872]
gmaexp1=[1.4187 1.3598 1.2773 1.2615 1.1714 1.021 1.00]
gmaexp2=[1.006 1.043 1.1052 1.1184 1.2033 1.3925 1.4342]
Pexp=(P1s*gmaexp1.*xexp)+(P2s*gmaexp2.*(1-xexp));
ymar=(P1s*gmaexp1.*xexp)./Pexp;
plot(xexp,Pexp,'+')
title("P Vs x","x","P");
legend("Prl","Pmar")
|
0bd0cf5fddc5afd27aeb9d28b52dce4a56f59d95
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3137/CH12/EX12.20/Ex12_20.sce
|
3235836ace7d0f65dfc33d8c5f120741c3a479a4
|
[] |
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
| 453
|
sce
|
Ex12_20.sce
|
//Initilization of variables
theta=45 //degrees
l=0.5 //m
w=10 //rad/s
//Calculations
//PART a
//Here the theta derivative with respect to time is angular speed w
Vp1=l*(secd(theta)^2)*w //m/s
//Part b
//Radial Component
r=l*secd(theta)*tand(theta)*w //m/s
//Transverse Component
t=l*secd(theta)*w //m/s
//Total
Vp2=sqrt(r^2+t^2) //m/s
//Result
clc
printf('The velocity is:%fm/s\n',Vp1)
printf('The velocity in part b is %fm/s',Vp2)
|
031541548d05039eb5db595717f5212eb55633a7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/842/CH7/EX7.2/Example7_2.sce
|
920933871366da2395ef8a657a2b05eab36e905b
|
[] |
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
| 484
|
sce
|
Example7_2.sce
|
//clear//
//Example7.2:Digital Differentiator
syms t n;
T = 0.1; //Sampling time in seconds
xct = sin(%pi*t/T)/(%pi*t);
yct = diff(xct,t);
disp(yct,'yc(t)=');
t = n*T;
xdn = sin(%pi*t/T)/(%pi*t);
ydn = diff(xdn,n);
disp(ydn,'yd[n]=');
hdn = T*ydn;
disp(hdn,'hd[n]=');
//Result
//yc(t) = (10*cos(31.415927*t)/t)-(0.3183099*sin(31.415927*t)/(t^2))
//yd[n]=(10*cos(3.1415927*n)/n)-3.183*sin(3.1415927*n)/(n^2)
//hd[n]=(cos(3.1415927*n)/n)-0.3183*sin(3.1415927*n)/(n^2)
|
523b35f6fcb89213ef9e1dabb462835bfd12aaab
|
4fc20f218a074427aee72063e858934a8806a660
|
/Snehdeep-queuesystem.sce
|
b1791084fab4b3d217e4a1580dc627e00d6a6c0e
|
[] |
no_license
|
arpits2/PP
|
e65d9d019129f8afa1f56e707fa1b2bdea23d4a5
|
dd43c30517ea51bb376c23b73dbef4a27394e2f0
|
refs/heads/master
| 2022-07-06T07:14:46.223798
| 2020-05-10T13:47:40
| 2020-05-10T13:47:40
| 261,082,917
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 516
|
sce
|
Snehdeep-queuesystem.sce
|
AR=10/24
SR=6
Po=1/(1+(AR/SR)+((AR/SR)^2)*(SR/((2*SR)-AR)))
Pb=(1/2)*((AR/SR)^2)*(2*SR/((2*SR)-AR))*Po
Lq=(AR*SR*((AR/SR)^2)*Po)/(((2*SR)-AR)^2)
L=Lq+(AR/SR)
Wq=(SR*((AR/SR)^2)*Po)/(((2*SR)-AR)^2)
W=Wq+(1/SR)
printf("\nProbability that system is empty=")
disp(Po)
printf("Probability that both server are busy-")
disp(Pb)
printf("avg. number in queue=")
disp(Lq)
printf("avg. number in system=")
disp(L)
printf("avg. time in queue=")
disp(Wq)
printf("avg. time in system=")
disp(W)
|
063b696b2cbd5f9055ef712ccbd49cf0ccd255cc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/858/CH3/EX3.24/example_24.sce
|
d336acfefd1fae6d45061af6c2ac9be4e6d1615f
|
[] |
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
| 773
|
sce
|
example_24.sce
|
clc
clear
printf("example 3.24 page number 112\n\n")
//to find volumetric composition of flue glass
wt_H2 = 0.15;
wt_C = 0.85;
O2_H2 = wt_H2*(16/2);
O2_C = wt_C*(32/12);
total_O2 = O2_H2+O2_C;
wt_air = total_O2/0.23;
air_supplied = 1.15*(wt_air);
N2_supplied = 0.77*air_supplied/28;
O2_supplied = 0.23*(air_supplied-wt_air)/32;
moles_CO2 = 0.85/12;
printf("moles of CO2 = %f kmol\n\n",moles_CO2)
printf("moles of N2 = %f kmol \n\n",N2_supplied)
printf("moles of O2 = %f kmol\n\n",O2_supplied)
total_moles = N2_supplied+O2_supplied+moles_CO2;
printf("percentage of CO2 = %f\n\n",(moles_CO2/total_moles)*100)
printf("percentage of N2 = %f\n\n",(N2_supplied/total_moles)*100)
printf("percentage of O2 = %f",(O2_supplied/total_moles)*100)
|
4a4cc634549c06d760b263e026f00e40ff58ef46
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1673/CH2/EX2.9/2_9.sce
|
a08128f04b268b42dac16db72cf43d48cbd7b6c5
|
[] |
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
| 559
|
sce
|
2_9.sce
|
//example 2.9
//false position method
//page 30
clc;clear;close
deff('y=f(x)','y=4*exp(-x)*sin(x)-1');
a=0,b=0.5;//f(0) is negative and f(0.5)is positive
d=0.00001;
printf('succesive iterations \ta\t b\t f(a)\t f(b)\t\ x1\n');
for i=1:25
x1=b*f(a)/(f(a)-f(b))+a*f(b)/(f(b)-f(a));
if(f(a)*f(x1))>0
b=x1;
else
a=x1;
end
if abs(f(x1))<d
break
end
printf(' \t%f %f %f %f %f\n',a,b,f(a),f(b),x1);
end
printf('the root of the equation is %f',x1);
|
15d7f2ac7765b1d569dcdb64222faf46ad4fa98c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/317/CH5/EX5.10/example10.sce
|
440f4d5e50f8760b197ffb3f29c3ac959cd1d9bb
|
[] |
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
| 508
|
sce
|
example10.sce
|
// find maximum allowable series resistance
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 5-10, page 157
clear;clc; close;
// Given data
Rlmin=140;// minimum load resistance in ohms
Vsmin=22;// minimum input voltage in volts
Vz=12;// zener voltage in volts
// Calculations
Rsmax=((Vsmin/Vz)-1)*Rlmin;// maximum series resistance in ohms
disp("ohms",Rsmax,"Series resistance=")
// Result
// maximum series resistance is 117 ohms
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.