blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5f16e15c3b47a161691a6bfba9a355c4fe518312 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /GM/GMW3172 2012/9.2.18 Switched Battery Lines 20.tst | 6786d81e9ee61b3a7e431f8dbce57b3a04cb9b5c | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,317 | tst | 9.2.18 Switched Battery Lines 20.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>125us 500us/50kHz 80%</Title>
<Organization>GM</Organization>
<Standard>GMW3172 2012</Standard>
<Item>9.2.18 Switched Battery Lines</Item>
<voltage>13.5</voltage>
<count>180<... |
8d5865c5bf712c87c985207ce1bb97c2972f4f60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH2/EX2.2/C2P2.sce | 5d6c6aee272510438af991a9ce10d5cb9269802b | [] | 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 | 938 | sce | C2P2.sce |
clear
clc
//to find magnitude and direction of vector indicating location of car
// GIVEN::
//distance travelled due east on a level of road
//s is represented as ax+by.since b has no x component and a has no y componebt we can write
Sx = 32// in km
//distance travelled before stopping after taking turn ... |
4c9fb28db3386d7318753ae7fb8ff39cc3811cbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH5/EX5.7/7.sce | 9f016dc5e85ec4c56a71303d9375dade83594ee8 | [] | 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 | 396 | sce | 7.sce | //Variable declaration
chi=0.5*10**-5; //magnetic susceptibility
H=10**6; //field strength(ampere/m)
mew0=4*%pi*10**-7;
//Calculation
I=chi*H; //intensity of magnetisation(ampere/m)
B=mew0*(I+H); //flux density in material(weber/m**2)
//Result
printf('intensity of magnetisation is %0.3f ampe... |
603305d529746df46deaff37f55bdfa927fa4897 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.9/EXAMPLE6_9.SCE | c723d2e5ff15bb084bddfdb9086b8883763e7480 | [] | 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 | 532 | sce | EXAMPLE6_9.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.9(PAGENO 302)");
//given
R_eq = 2518//equivalent resistance in ohms
R_t = 600//input impedence in ohms
R_a= 50//output impedencre in ohms
//calculations
R_eq1 = R_eq - R_t;
F = 1 + (R_eq1/R_a)... |
7a3e777f26e067f4b1fdcfc696be46c8d33f9f42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH5/EX5.13/5_13.sce | 52b74525b3491fc5e13b1d65fe2e908f13599ed1 | [] | 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 | 322 | sce | 5_13.sce | //Chapter 5, Problem 13
clc
n1=16 //no of turns on primary
n2=8 //no of turns on secondary
zs=16 //terminating resistance
//calculation of effective resistance
zp=zs*(n1/n2)^2
printf("Effective resistance at the primary = %d ohm",zp)... |
58343e74dc53d795d3c84356142ef805b79ccb6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH17/EX17.2/Ex17_2.sce | f1f07dd5ca1c4eb3b854ffad79b97e344c840608 | [] | 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 | 341 | sce | Ex17_2.sce | clc
clear
//Initalization of variables
J=778
o2=12.5
theo=0.95
N=56.5
R0=1545
T=540 //R
p=14 //psia
LHV=2368089 //Btu/lb
ther=39.4
iep=0.78
ve=0.8
//calculations
Ar=o2/0.21 *theo
vol=N*R0*T/(144*p)
hv=(LHV -17730)/LHV
ithep=iep*ther
pd=ithep/100 *ve *100.5
mep=J*pd
//results
printf("Indicated mep ... |
2d2fb705cf9b7cdc61b16a683b2eb4072db6d92b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH15/EX15.2/exp_15_2.sce | 2b4cdccadf3f4b65334d4c7973cce001d758e138 | [] | 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 | 491 | sce | exp_15_2.sce | clear;
clc;
E_ll=110;
U=12;
V_o=(3*sqrt(2)*E_ll)/%pi;
X=0;
V_d1=(V_o*(cosd(X)+cosd(U+X)))/2;
printf("\nthe dc output voltage when (X=0) = %.3f kV",V_d1);
X1=25;
V_d2=(V_o*(cosd(X1)+cosd(U+X1)))/2;
printf("\nthe dc output voltage when (X1=25) = %.3f kV",V_d2);
X2=90;
V_d3=(V_o*(cosd(X2)+cosd(U+X2)))/2;
prin... |
1aad1ea275ecf291e0c8bb876a56ad1da7b9db99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH6/EX6.06/6_06.sce | aa9047c3dd780cea52f7b8f7ba0d3691a740703e | [] | 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 | 390 | sce | 6_06.sce | //Problem 6.06:
//initializing the variables:
n = 5; // in lbmol
T1 = 100; // in degrees F
P1 = 1; // in atm
T2 = 400; // in degrees F
P2 = 10; // in atm
Cpg = 5; // Btu/lb.degF
R = 1.987;
//calculation:
T1 = T1 + 460
T2 = T2 + 460
dS = n*R*log(P1/P2) + n*Cpg*log(T2/T1)
printf("\n\nResult\n\n")
prin... |
fa711f5e1c937f8360f18797fb7dd36612a1c9b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.9/ex9_9.sce | dad32b421dbf25a31833b9994274b960f5208261 | [] | 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 | 651 | sce | ex9_9.sce | // Exa 9.9
clc;
clear;
close;
format('v',7)
// Given data
Rating = 250*10^3;// in VA
Pi = 1.8;// in kW
Pi = Pi * 10^3;// in W
Pcu_f1 = 2000;// in W
phi= acosd(0.8);// in °
Eta = ((Rating*cosd(phi))/((Rating*cosd(phi))+Pi+Pcu_f1))*100;// %Eta in %
disp(Eta,"The efficiency at full load in % is");
// The maxi... |
072a86396a1e5cccc5cbb7f9cf30c9fadd0d4791 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH4/EX4.10/Ex4_10.sce | 32e1a87bae1bf411f87dd48fd932d2fc72c9f04c | [] | 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 | 487 | sce | Ex4_10.sce | //Example number 4.10, Page number 70
clc;clear;
close;
//Variable declaration
n=1; //order
h=1;
k=1;
l=1;
e=1.6*10**-19; //charge(c)
V=5000; //voltage(V)
m=9.1*10**-31; //mass(kg)
H=6.625*10**-34; //plank constant
d=0.204*10**-9; //interplanar spacing(m)
//Calculation
lamda=H/sqrt(2*m*e*V); //wave... |
e1b298974aabdff29abaa84c1f23939952c8e752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.8/2_8.sce | 33e3a67b369df5b4b6913623e19dd1b0397cecb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | 2_8.sce | clear
clc
disp('Exa-2.8');
w1=600;w2=434; // w1=recorded wavelength;w2=actual wavelength
// c/w1 = c/w2 *(sqrt(1-u/c)/(1+u/c))
k=w2/w1;
x=(1-k^2)/(1+k^2); //solving for u/c
printf('The speed of galaxy wrt earth is %.2f c',x);
|
76372a8a155e3416ba47cf474132bd3e11d4199b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH10/EX10.2/chapter10_ex2.sce | f7f06a6bb3ef66af56c7709a2cf52886a9beb8a2 | [] | 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 | 597 | sce | chapter10_ex2.sce | clc
clear
//input
p=4;//number of poles
n=48;//number of slots
b=0.02;//fulx per pole in weber
w=50*(%pi);//angular velocity in rad/sec
//calcultions
f=(w*(p/2))/(2*%pi);//frequency in hertz
phim=360/n;//mechanical angle in degrees
phie=phim*(p/2);//electrical angle in degrees
phiE=phie*(%pi/180);//elec... |
a47a2315f5f343d4299eb4bc652387ea54c2279d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH4/EX4.7/Ex4_7.sce | 3d38484614996847c2b3a813f833b14647a8c0f6 | [] | 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 | 717 | sce | Ex4_7.sce | //finding magnitude and nature of forces
//refer fig. 4.14(a)
//considering equilibrium if entire truss
//taking moment about L0
R2=(200*6+200*12+150*18+100*24+100*30)/36 //kN
R1=200+200+150+100+100-R2 //kN
//consider equilibrium of right hand side of section (1)-(1)
theta1=atand(1/6) //degree
theta2=atand(6... |
63e2e57cf43f21963244725d9d9fc50c4f3beb14 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/g_round.sci | 2dbe3753cf297c3c85203552d903744e01bdd1e5 | [
"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 | 87 | sci | g_round.sci | function sp=g_round(a)
// Copyright INRIA
[ij,v,mn]=spget(a)
sp=sparse(ij,round(v),mn)
|
e9aa04c9f7bee1471bb8188f5d81f7957638d73d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/mtlb/mtlb_fprintf.sci | 0c02ac82b7b76800869dbf3536ab1089085d5343 | [
"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 | 1,423 | sci | mtlb_fprintf.sci | function count = mtlb_fprintf(varargin)
[lhs,rhs]=argn()
count=0
if type(varargin(1))==10 then //mtlb_fprintf(fmt,...)
fmt=varargin(1)
nfmt=size(strindex(fmt,'%'),'*')
nv=size(varargin)-1
if nv==1 then
a=varargin(2)
na=size(a,'*')
mult=max(na/nfmt,1)
fmt=strcat(fmt(ones(1,mult))) // duplicate fo... |
fdddda4a8554b33134324f9e5d0393530f608546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH5/EX5.7/pe5_7.sce | 07c36f13c5606531eeef28f3437931953c9156dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | pe5_7.sce | //example 5.7
clc; funcprot(0);
// Initialization of Variable
Vi=350;//voltage
f=100;//frequency
Rf=10000;//resistance
Ri=520;
//calculation
Vp=(1+(Rf/Ri))*Vi*2^.5;
disp(Vp/1000,"load voltage in V:")
clear()
|
cb5227aac83b56e225310acd6b663c571e7800af | 19d92bf7a25b9739b9f3c7be5bb057a29a4caa6e | /row_1.tst | 6c148f852713d99b52dbe45894263cf3bbb9a655 | [] | no_license | vasil-pashov/tic-tac-toe-bash-hw | 1e78f2bd7f53106e31c9c12c5be1d193e576b8c7 | 4260b0705c97f7e6b2e129a835291aa02967205d | refs/heads/master | 2021-01-01T05:29:41.398338 | 2016-05-16T07:06:35 | 2016-05-16T07:06:35 | 58,814,233 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | tst | row_1.tst | a
b
(1,1)
(2,2)
(1,3)
(2,1)
(3,3)
(2,3)
|
703af8a154d5d218055303ee38fa77682e23c2d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.14/ex7_14.sce | b84eb23416e360eca02f67faa5612583c8823142 | [] | 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 | 659 | sce | ex7_14.sce | //Part A Chapter 7 Example 14
clc;
clear;
close;
rcv=71.5;//cm of Hg(Recorded condenser vaccum)
br=76.8;//cm of Hg(Barometer reading)
Tc=35;//degree C(Temperature of condensation)
Tw=27.6;//degree C(Temperature of hot well)
mc=1930;//kg(Mass of condensate/hour)
mw=62000;//kg(Mass of cooling water/hour)
T1=8.5... |
cc4919215251166e54911268eed1c6b7e1454b53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.65/Ex65.sce | 29fc29a7273aac797d6396575a7a4283a0235600 | [] | 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 | 218 | sce | Ex65.sce | //Ex:65
clc;
clear;
close;
r=42164;// in km
d_m=500;// in km
i=d_m/r;// the angle of inclination in rad
printf("The angle of inclination=%f rad",i);
printf("\n The angle of inclination=%f degree",i*(180/3.14)); |
eb5aa8bb93d33523d6037cf9f33837ba670f592a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.20/Ex4_20.sce | 9e0844cca868c6470fc25d8416197fe89d8b5ba3 | [] | 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 | 368 | sce | Ex4_20.sce | //Example 4.20:
clc;
clear;
close;
//given data :
format('v',5)
A=50;//gain without feedback
Af=25;//gain with feedback
Beta=(((A/Af)-1)/A);//feed back ratio
Ad=40;//new gain after ageing
Af1=(Ad/(1+(Beta*Ad)));//new gain with feedback
df=Af-Af1;// reduction in gain
pdf= (df/Af)*100;//percentage reduction in gain
disp... |
ac9f4b4b885684f3eb4fc30913fd570382a38b87 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/polyscale/polyscale6.sce | 4df09a6c75cadd1aa5ec8d31a60663912b8e6eca | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | polyscale6.sce | // no i/p args are passed to the function
y=polyscale();
disp(y);
//output
// !--error 4
//Undefined variable: a
//at line 25 of function polyscale called by :
//y=polyscale();
|
1437baac1d94518e3d86bf5ccc02176b310580ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.03/11_03.sce | 54b63dd42577fd5e483e7147bd5cc7ce08e2cf3e | [] | 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 | 11_03.sce | //pathname=get_absolute_file_path('11.03.sce')
//filename=pathname+filesep()+'11.03-data.sci'
//exec(filename)
//Height of chimney(in m):
H=20
//Temperature of burnt gases(in K):
Tg=380+273
//Ambient air temperature(in K):
Ta=27+273
//Air supplied(in kg air per fuel):
m=2*Ta/(Tg-2*Ta)
printf("\n RESULT \n")
... |
bb2c339b6b5e5cb9d657f50b204f235adb093601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH12/EX12.1/ex12_1.sce | 0c94278e5d5fbd311959bbf8e8d3b0f5588ec6b3 | [] | 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 | 196 | sce | ex12_1.sce | //Calculate frequency of oscillations
clear;
clc;
//soltion
//given
L=55*10^-6;//H
C=300*10^-12;//F
fo=1/(2*%pi*sqrt(L*C));
printf("The frequency of oscillations= %.0f kHz\n",fo/1000);
|
ff2ad027cf0ee5b5f0f983f4624a9fec62cd2281 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.11/ex4_11.sce | fcc480314a6e36b4a3d4cae3e66737c7facc96ce | [] | 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 | 390 | sce | ex4_11.sce | //Chapter-4, Example 4.11, Page 137
//=============================================================================
clc
clear
//INPUT DATA
I1=5;//current in A
I=10;//current in A
I2=I/sqrt(2);
//CALCULATIONS
i3=sqrt(((2*I1)^2)+(I2^2));
mprintf("rms value of current is %1.2f A respectively\n",i3);
//=========... |
f70cc7bb89b61726e590ef39fa2dbd744a9e4572 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TECG.prev.tst | 134894236e5f6607c4304333892bb22e9b00e35a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | tst | TECG.prev.tst | Expanding for base=3, level=3, reasons+features=base,same,similiar,evenexp norm,showfail
Refined variables=k,x,y
[0+1k,0+1x,0+1y]: unknown -> [1] [0,0,0] 3k-x²-3y²-1
---------------- level 0
expanding queue[0]^-1,meter=[1,3,1]: 3k-x²-3y²-1
[0+1k,0+3x,0+1y]: failure constant=-1, vgcd=3 [0,0,0] 3k-9x²-3y²-1
[0+1k,1+3x,0+... |
9b3514ad5c5b47f0afb0178beae743d362967125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.3/3_3.sce | 810c2f2e65f0034787dbe538898efacea86292cf | [] | 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 | 245 | sce | 3_3.sce | function C=seriesC(C1,C2)
C=C1*C2/(C1+C2)
endfunction
V=100
Cp=1+2
Ceq=seriesC(Cp,6)
q=Ceq*V
q1=q*(1/(1+2))
q2=q-q1
disp(q2,q1,q)
E6=q*q/2/6/1000
E1=q1*q1/2/1/1000
E2=q2*q2/2/2/1000
Enet=E1+E2+E6
disp(Enet,E6,E2,E1) |
a501694ad5de6fb184bf8440af22061c6ef6275a | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH6/EX6.3cs/Casestudy6_3.sce | 58db705a6949d786babf6f6cfe3822e872ad1a99 | [] | 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 | 460 | sce | Casestudy6_3.sce | // Case Study:-Chapter 6
// 3.Minimum Cost
for p=0:0.1:10
cost=48-8*p+p^2;
if(p==0) ,
cost1=cost;
continue; //Use of continue statement
end
if(cost>=cost1) ,
break; //Use of break statement
end
cost1=cost;
... |
26fb798bc5f57777c2fa5fc20149816b65728ea7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/tdcs/tdinit.sci | 13369b2cb4b597422f48adf7fd355c499edcb9b7 | [
"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 | 4,593 | sci | tdinit.sci | function []=tdinit()
// Copyright INRIA
tit=["bioreactor model (bioreact)";
"competition model (compet)";
"system with limit cycle (cycllim)";
"linear system (linear)";
"quadratic model (linper)";
"linear system with a feedback (lincom)";
"prey predator model (p_p)"]
ii=x_choose(tit," Systems Initialisation ");... |
860e9429f1264a6b4f53dd91cb3e8b71c699b98f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH2/EX2.10/Ex2_10.sce | 3fd8be472fb9941475a8733009bcc5fb99f53c42 | [] | 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 | 296 | sce | Ex2_10.sce | //Ex:2.10
clc;
clear;
close;
n1=1.50;// core refractive index
n2=(99/100)*1.50;// cladding refractive index
x_c=(asin(n2/n1))*180/%pi;// critical angle in degree
n_m=sqrt(n1^2-n2^2);// numerical aperture
printf("critical angle = %f degree",x_c);
printf("\n numerical aperture = %f",n_m); |
2a6b017c3d09590f47047d4c0ffdad4d823e38cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH1/EX1.7/Example1_7.sce | 4020671196d1b3b297371b98b8d488f4c986412a | [] | 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 | 418 | sce | Example1_7.sce | clear;
clc;
// Example: 1.7
// Page: 9
// Solution
printf("Example: 1.7 - Page: 9\n\n");
//*****Data*****//
P = 560*10^3;// [Pa]
Vinit = 3;// [cubic m]
Vfinal = 5;// [cubic m]
Wext = 210*10^3;// [J]
//*************//
W = P*(Vfinal - Vinit);// [J]
// Again the system receives 210 kJ of work from t... |
aca1e6dcdca7950dc506cb9717a961cf51e12b75 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/join.sce | 0fabb9b9aa3f93142c8b9b8a88d1b27c84538045 | [] | 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 | 458 | sce | join.sce | //**************************** Join ********************************
if(blk_name.entries(bl)=='join') then
for ss= 1:scs_m.objs(blk_objs(bl)).model.rpar(1)
spl_fix=[spl_fix;'net'+ string(blk(blk_objs(bl),ss+1+numofip))+"_",'net'+string(blk(blk_objs(bl),2))+"_"]
spl_fix=[spl_fix;'out:net'+ string(b... |
cf45ad195e1d8cfb6c003a6170ebfcba42bd263a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.10/Ex16_10.sce | 98bd57453bde2ff3cfd582b28558a1b9eb94c4c2 | [] | 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 | 340 | sce | Ex16_10.sce | clc
clear
//Initialization of variables
N2=78.1 //Moles of Nitrogen
M=29 //Molar mass of Air
ba=2.12 //Basis
x4=0.3 //Moles of Ch4
x5=3.7 //Moles of H2
x6=14.7 //moles of H2o
//calculations
O2=N2/3.76
c=14.7
b= x4*4 + x5*2 + x6*2
a=b/ba
AF=(O2+N2)*M/(a*12 + b)
//results
printf("Air fuel ratio = %.1f lbm... |
5e16c2860a746066934b322511b63d5b970d86d7 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/bridge.tst | 41ce62559545e3600dde552baf88d9fac34a140a | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | tst | bridge.tst | boardsize 4
play w a1
play b b1
play w a2
play b b2
play w a3
play b b3
1 havannah_winner
#? [none]
play w a4
2 havannah_winner
#? [white]
|
17cb0b392ca7cb93fccd53c17324e60688e13b60 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/IoGenericScilabSimulation.sce | a242a0ebe20800ec51118ac5c2016958ba51c453 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64,951 | sce | IoGenericScilabSimulation.sce | //To use these functions make sure the location of the IOME iogs application
//is on the path
//Linux export IOME_HOME=PATHTOIOME
//Linux export PATH=$PATH":$IOME_HOME/bin"
//Windows set IOME_HOME=PATHTOIOME
//Windows set PATH=%PATH%;$IOME_HOME/bin
function [vec]=stringtovec(stringvar, vsize, separator)
vec=... |
263721ebfe36b10e093679acb9c68c15c3e6e0f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.17.a/data8_17.sci | 37eb1d73f637e65cbae5d6d23a55697f8e786467 | [] | 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 | sci | data8_17.sci |
//(Welded and Riveted Joints) Example 8.17
//Plate thickness d (mm)
d = 25
//Reversed axial load acting on the plates P (kN)
P = 100
//Throat of the weld t (mm)
t = 25
//Ultimate tensile strength of the weld material Sut (N/mm2)
Sut = 450
//Factor of safety fs
fs = 2
reliability = 90
//Operation
//No... |
664ef74febb68f33d50ccebb123e200c510ff75d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH3/EX3.3/Ex3_3.sce | fbb8cb052196c5394d4d54001f0e632438c29a68 | [] | 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,532 | sce | Ex3_3.sce | clc
// Given that
A = 150*6 // Cross-section of strips in mm^2
w = 150 // Width of the strip in mm
ti = 6 // Thickness in mm
pA = 0.20 // Reduction in area
d = 400 // Diameter of steel rolls in mm
Ys = 0.35// Shear Yield stress of the material before rolling in KN/mm^2
Ys_ = 0.4// Shear Yield stress of the material af... |
09644927a6eba8f73823b9257b7e5dfa94e000bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.10/33_10.sce | 4f942091ca0aaddfb8b054db4f9ab0bf878d9bbb | [] | 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 | 826 | sce | 33_10.sce | //Problem 33.10: For the circuit shown in Figure 33.52 determine the current flowing in the inductive branch by using Norton’s theorem.
//initializing the variables:
V1 = 20; // in volts
V2 = 10; // in volts
R1 = 2; // in ohm
R2 = 1.5; // in ohm
R3 = %i*2.95; // in ohm
R4 = 3; // in ohm
//calculation:
//Th... |
b5544b5b79c5d121958311d8483d0e5a74599cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.2/Chapter7_Example2.sce | 6081a29159f3a8a23e84b7732f8036c80357db08 | [] | 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,178 | sce | Chapter7_Example2.sce | //Chapter-7, Example 7.2, Page 275
//=============================================================================
clc
clear
//INPUT DATA
Ta=20;//Temperature of air in degree C
Tp=134;//Temperature of heated plate in degree C
v=3;//Velocity of flow in m/s
L=2;//Length of plate in m
W=1.5;//Width of plate in ... |
0900e72738b48c6ce0520f59731327400532724e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.1/8_1.sce | 8862c59ad38257586e47605531351e936d4fdc5c | [] | 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 | 165 | sce | 8_1.sce | clc
//Initialization of variables
R=1.986 //B/mol R
t2=1100 //R
t1=1000 //R
//calculations
wrev=R*(t2-t1)
//results
printf("work done = %.1f Btu/mol",wrev)
|
5fd77f3b87a5a9e1830e873be846e752c6075973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.1/Ex27_1.sce | c521109454084eb59ea894b25df4ff01a1d8a8e3 | [] | 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 | 323 | sce | Ex27_1.sce | //Example 27_1
clc();
clear;
//What fraction of atomic mass of Uranium is due to its electrons
n=92 //Units in constant
mass=0.000549 //Units in u
tmass=235 //units in u
per=(n*mass)/tmass //Units in fractions
printf("The fraction of atomic mass of Uranium is due to its electrons is=%.6f",per... |
29550b33941e94b9644a2abbda1eb315ab19d534 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.2/Ex9_2.sce | 7dd0ad003b2e6d4839a81a784cf13ce2b3aeecce | [] | 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 | 641 | sce | Ex9_2.sce | // Example 9_2
clc;funcprot(0);
// Given data
m=20;// The mass flow rate of air in kg/min
P_4=1600;// kPa
T_1=20+273;// K
P_1=100;// kPa
n=0.90;// The efficiency of the compressor
c_p=1.00;// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
P_2=sqrt(P_1*P_4);// kPa
T_3=T_1;// K
T_2a=T_1*(P_2/P_1)^... |
00a05505cb250f5b2bb61a8808993d580e572cab | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/Phi_q.1_linux.sce | 4f0c9589896b764ccbc54319c46a2e71019a5c64 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,649 | sce | Phi_q.1_linux.sce |
clear;
lines(0);
np=100;
q=3;
//rang=190/300
for w=list(210,220,240,260,280,300)
msig = 1 // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
msig1 =2
msig2 =3
msig3 =4
msig4 =5
msig5 =6
msig6 =7
msig7 =8
msig8 =9
msig9 =10
msig10 =11
msig11 =12
msig12 =13
msig13... |
abaa23a9d820ee99baeca7f1a9585e76f4fc6830 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/mult.sce | 0904bdf9399f7e1eb744e6d893c1065ba4216416 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 553 | sce | mult.sce | //**************************** MULT ************************************
if (blk_name.entries(bl) =='mult') then
mputl("# MULT",fd_w);
mputl(".subckt mult in[0]=net"+string(blk(blk_objs(bl),2))+'_'+ string(1)+ " in[1]=net"+string(blk(blk_objs(bl),3))+'_'+ string(1)+ " in[2]=net"+string(blk(blk_objs(bl),4))+'_'+... |
c78685f4b2d295e91e8f275abfde67128e1880c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.8/Exa_3_8.sce | 43a26b5c200779b3cbc7149dca9961b249972850 | [] | 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 | 517 | sce | Exa_3_8.sce | //Exa 3.8
clc;
clear;
close;
format('v',6);
//Given Data :
Wdot=200;//W
t1=40;//degree centigrade
//Q2dot=20*(t1-t2);//W
//COP=Q2dot/W2dot=T2/(T1-T2)
//(t1-t2)/(W2dot/20)=(t1+273)/(t1-t2)
//20*t1^2+20*t2^2-20*2*t1*t2-t1*Wdot-273*Wdot
//(t2+273)/(t1-t2)=(t1-t2)/(Wdot/20)
//t2^2-(2*t1+(Wdot/20))*t2-273*(Wd... |
fb365c23e74e979b352bf64363cda052bf4391e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH10/EX10.23/10_23.sce | 1dcfb45907bc7764e3e753564f03e3cdc70feb9d | [] | 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,114 | sce | 10_23.sce | clear;
clc;
//Example - 10.23
//Page number - 366
printf("Example - 10.23 and Page number - 366\n\n");
//Given
T = 320 + 273.15;//[K]
R = 8.314;//[J/mol*K] - Universal gas constant
// For water
Tc = 647.1;//[K]
Pc = 220.55;//[bar]
Pc = Pc*10^(5);//[Pa]
// The cubic form of Redlich Kwong equation of ... |
e1c009d1b63617879b1292fec8f401ac40f8c1ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.18/Ex5_18.sce | f95c8e35637b14a9761ffe698144231316553e61 | [] | 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 | 150 | sce | Ex5_18.sce | clear
//Given
l=1.001
A=1.001
//Calculation
R=l*A
R1=R-1
A=R1*100
//Result
printf("\n Percentage change in its resistance is %0.1f percentage",A)
|
e5fd5c92ab995fed2672f819b25ea10174d4c100 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH4/EX4.5/eg_4_5.sce | 82073dc804e2f5ce9d166beb44d15a90659143cc | [] | 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 | 15,323 | sce | eg_4_5.sce | //f=x^y^z+wxz+xy+v^w^yz^
clc;
n=4;
k=[0 0 0 0;
1 0 1 1;
0 1 1 0;
1 1 1 0];
k(:,:,2)=[0 0 0 0;
1 0 1 1;
0 1 1 0;
0 1 1 0];
//k=[1 0 0 0;
// 0 0 0 0;
// 0 0 0 0;
// 0 0 1 0];
//k(:,:,2)=[1 0 0 0;
// 0 0 0 0;
// 0 0 0 0;
// 1 0 0 0];... |
56bdf9666c796fa32daa4906cd0b1bf7788461c4 | 645b54435638226a1dfff613a3516b3d8756740e | /nand/projects/07_/MemoryAccess/SimpleStaticTest/SimpleStaticTest.tst | f0301e5300f14d728ded71529aa04d441de865cd | [] | no_license | lebronjamesking/brianrepo | 7582c1f166a5b10e57e3e2618503e7c95643850e | aa68ee0b5567957a98b0acb5fe9a73429ea0773e | refs/heads/master | 2021-01-10T09:16:00.197088 | 2011-01-23T20:52:18 | 2011-01-23T20:52:18 | 45,513,556 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | tst | SimpleStaticTest.tst | rom-load SimpleStaticTest.asm,
output-file SimpleStaticTest.out,
compare-to SimpleStaticTest.cmp,
output-list RAM[256]%D1.6.1;
set RAM[0] 256,
repeat 200 {
ticktock;
}
output;
|
c9ce27653cf706ee4b2f5738cfbcbf04cb68496e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.11/7_11.sce | fec8a0bb07109377377dc84147d34c0f815dad53 | [] | 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 | 296 | sce | 7_11.sce | //ill conditioned linear system
//example 7.11
//page 277
clc;clear;close;
A=[25 24 10;66 78 37;92 -73 -80];
de_A=det(A);
for i=1:3
s=0;
for j=1:3
s=s+A(i,j)^2
end
s=sqrt(s);
k=de_A/s;
end
if k<1 then
printf(' the fuction is ill conditioned')
end
|
0103112a301f05e675ba1f56c9fc9a48857ceae2 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/fiin.sce | 048705f4feb9414e81508e9469550fbe29f60f79 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,971 | sce | fiin.sce | // this is 8 vehicle
clc
clear
rokl=1
x=4
z=15
pop=10
iter=1000
mest=1000*ones(1,pop)
a=zeros(pop,z)
rag=zeros(iter)
ryg=zeros(iter)
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 40 1.5 39 6.8 11 16 12 36 20 27 17 51 4.5 17;
40 0 42 9.1 43 38 33 39 51 41 48 45 21 34 3... |
ca1c5319d2c83fcc5ee9c9ca23a6749022199c01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.6/6.sce | e67969c963d4fd97748f39f95fca6625b0ea46bb | [] | 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,549 | sce | 6.sce | clc
clear
//Input data
D1=15 //Entry diameter in cm
D2=30 //Exit diamater in cm
P1=0.96 //Inlet pressure in bar
T1=340 //Inlet temperature in K
C1=185 //INlet velocity in m/s
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-K
//Calculation
A1=%pi*D1^2/4 //Entry area in cm^2
A2=%pi*D2^2/... |
d7736ae3e03d7f012f17c2fd2c011ac7f5ca72f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.8/Ex9_8.sce | 180e13eac28e46ebc628538c72084f17364a687a | [] | 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 | 688 | sce | Ex9_8.sce | // Example 9_8
clc;funcprot(0);
// Given data
r=10;// The compression ratio
P_1=200;// kPa
T_1=100+273;// K
T_3=600+273;// K
R=0.287;// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
v_1=(R*T_1)/P_1;// m^3/kg
T_4=T_3;// K
v_4=(T_4/T_1)*v_1;// m^3/kg
v_2=v_4/r;// m^3/kg
T_2=T_1;// K
P_2=(R*T_2)... |
991f33ae916fe3722f91d34acbf3cf2e914c557f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH22/EX22.6/Ex22_6.sce | 237b196276f3ad45e74206df627f43c65533304e | [] | 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 | 226 | sce | Ex22_6.sce | clc;
//e.g 22.6
IDSS=10*10**-3;
VDD=20;
IDQ=IDSS/2;
disp('mA',IDQ*10**3,"ID=");
VDSQ=VDD/2;
disp('V',VDSQ*1,"VDS=");
VGS=-2.2;
RD=(VDD-VDSQ)/IDQ;
disp('Kohm',RD*10**-3,"RD=");
RS=-VGS/IDQ;
disp('ohm',RS*1,"RS=");
|
907e1dbfaa3d6c29175e164122f3ad9e96f99b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.2/Ex2_2.sce | 5ff55a7f1afbd905c87f9478cdfaa67b48437872 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex2_2.sce | clc;
//ex2.2
VD1=0; //Volt//diode is forward bias for ideal diode total Rideal=0 so VD1=IT*Rideal=0V
R1=1000; //kilo ohm;
VS=5; //Volt //voltage across voltage source
IT=(VS/R1)-(VD1/R1);//Ampere;apply kvl in the circuit
VR1=IT*R1; //Volt//apply ohms law voltage across resistance
disp( 'Volt',VD1*1,"VD1=");
dis... |
9ca2d656b88e91759b7231b742ad1df0ee3a1cac | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamToolBox/SparamToolbox/v1.2/x86_64/sci_gateway/c/builder_gateway_c.sce | 5ac2f5732f391d9969d0b3c9c704aaf4606c839d | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,125 | sce | builder_gateway_c.sce | // ====================================================================
// Allan CORNET
// Simon LIPP
// INRIA 2008
// This file is released into the public domain
// ====================================================================
//if MSDOS then
// to manage long pathname
// includes_src_c = '-I""' + get_abso... |
fc2b35a65c2d3297bd7075a767ef06ae0e1584dc | d9e20e3e491ed05049f4f1a44021e96499a581ba | /src/particula.sce | 135f9d9a645c893c9beb03785ac4bdb483eff6e7 | [] | no_license | josenalde/applied-math | 1e13000bec5e92fa828bee3193607cf8a200a604 | 76a9aab93d69e4be6b564cae72c441bc648444d4 | refs/heads/master | 2021-01-10T09:21:01.369665 | 2020-09-21T22:56:42 | 2020-09-21T22:56:42 | 46,852,259 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,238 | sce | particula.sce | // Derivadas na prática: simulação de fenômeno descrito por equação dif.
// Autor: Josenalde Oliveira - Matemática Aplicada II
// A velocidade do corpo no tempo é associada à taxa de variação do espaço
// percorrido em função do tempo, ou seja, v(t) = ds/dt
// Problema: tem-se disponível a relação desta taxa de varia... |
cab50e0f20d2ffb77060f622af2889c72deffd20 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/zpv.tst | 3038cb7d186878025783598d894694915005e870 | [] | 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 | 5,770 | tst | zpv.tst | zaka=zĭ săka=zĭ V;POT
zaka=zĭ rzaka=zĭ V;HAB
zaka=zĭ guzaka=zĭ V;PFV
u+tooˀ gútooˀ V;POT
u+tooˀ batooˀ V;PFV
u+tooˀ rutooˀ V;HAB
asa guasa V;PFV
asa rasa V;HAB
asa gâsa V;POT
u+zûˀu=zhibi bazûˀu=zhibi V;PFV
u+zûˀu=zhibi gúzûˀu=zhibi V;POT
u+zûˀu=zhibi ruzûˀu=zhibi V;HAB
u+s+ialda basialda V;PFV
u+s+ialda gúsialda V;POT... |
0555dc238588fd2a1f0bc5f87fb213d6c48b6f92 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH10/EX10.2/Ex10_2.sci | 34aec28f0233c33c171c15b8ed48a8c904bfafc7 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sci | Ex10_2.sci | clear all;
t=-%inf:%inf;
w=2*%pi*%i
K=4
k=0:0.004:4;
sigma=0
Wmax=w.*k./K;
function x=f(t);
x=sign(t).*exp(-sigma.*abs(t)).*exp(-%i.*w.*t)
endfunction
Y=intg(-10,10,f)
// for the CTFS of x(t)=u(t)
f=1 // Analog frequency f=1 Hz
U=(1/%i*2*%pi*f)+(1/2).*[ones(1,1)]
disp(Y,'The CTFS of sgn(t)=')... |
9d7a61acb116eabf4b0fe91bebcc877b75336287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH24/EX24.13/ex_24_13.sce | 2131d12ad2feac65f3c2ac4d40f3a62ac508d2bb | [] | 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 | 611 | sce | ex_24_13.sce | //find..
clc
//solution
//given
P=30000//W
N=750//rpm
a=(%pi/180)*12.5
pn=0.1//N/mm62
Kl=1.75
t=42//N/mm^2
//D=6*b
T=60*P/(2*%pi*N)*Kl*1000//N-mm
//d=(T*16/(%pi*t))^(1/3)//mm
printf("dia of shaft is,%f mm\n",(T*16/(%pi*t))^(1/3))
printf("dia of shaft is say,50 mm\n")
d=50//mm
//T=2*%pi*u*pn*R^2*b
//b=R... |
86aecc5447d40a4715cabb3a7dcd268c9bd06c9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH3/EX3.2/Ex3_2.sce | 3a84bccc6a927ac5c955253a29e6d6c4f368d641 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex3_2.sce | clear;
clc;
//page no. 83
v = 5;// fps
a_t = 0;
a_r = v^2 /2;// ft/sec^2
printf('Radial component of acceleration = %.1f ft/sec^2\n Tangential component of acceleration = %d ',a_r,a_t);
|
795ebdb03ed420b85dbb723c0ad06fb472683c23 | 786b8b062cc8e4ad6a2a39294d02777c4ec4cb78 | /FreeEDA/LPCSim/LPCSim/NR.sci | 229fb64e2d6285c242ef5389b1f50adac2157e8a | [] | no_license | FOSSEE/FreeEDA | fc379b9927e63f0b29e66f69284beddff07d43c8 | 0c9f3b3885338be0420773ac2007d8ac54aa7412 | refs/heads/master | 2021-01-18T15:16:58.922680 | 2014-12-09T10:59:41 | 2014-12-09T10:59:41 | 23,788,370 | 6 | 3 | null | 2014-09-26T09:05:17 | 2014-09-08T11:29:52 | Python | UTF-8 | Scilab | false | false | 8,217 | sci | NR.sci | // NR.sci is a scilab file to perform linearization of nonlinear element using Newton-Raphson method. It is developed for a scilab based circuit simulator. It is written by Yogesh Dilip Save (yogessave@gmail.com).
// Copyright (C) 2012 Yogesh Dilip Save
// This program is free software; you can redistribute it and/or... |
40843823ce1aebd936ceefa6c10f199309e26fce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH6/EX6.1/eg6_1.sce | 6b05376f0aca796586febbdb031be489fe058a7e | [] | 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 | 141 | sce | eg6_1.sce | clear;
clc;
uts=5758; //ultimate tensile strength
l=200;
wt=.604;
h=uts/2;
sag=wt*l*l/(8*h);
printf("The sag is:%.3f m",sag);
|
f89c5dd0b81b1e01399951221fcba316cb474822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH11/EX11.4/chapter11_ex4.sce | 8617d9ac3be6fc26052608d6df5492e1614fa157 | [] | 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,265 | sce | chapter11_ex4.sce | clc
clear
//input
vht=100;//higher threshold voltage in volts
rl1=5;//resistance of load in kiloohms
rl2=10;//load resistance in kiloohms
//calculations
//for rl1
//when va=0
ia1=vht/rl1;//anode current in milliamperes
//when va=100
ia2=0;//since va=vht
//for rl2
//when va=0
ia3=vht/rl2;//anode curren... |
d809888d5b027658cef7d8820e78db95fc8724e1 | 15b814fbf5ba965e98871286249c9f382d1eee4c | /adaptive/simulation07/state_observer.sce | 193f8088675da7eee6b118ddc95db408a7db5556 | [] | no_license | oscarkremer/disciplines | b5338f3a97c7a20e4b39618d7da0d4396dc35f07 | b8d1ca9da37f81c99ee08dbee795d2d936597666 | refs/heads/master | 2020-07-22T14:57:42.643799 | 2019-12-07T15:51:40 | 2019-12-07T15:51:40 | 207,239,678 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,854 | sce | state_observer.sce | xdel(winsid());//fechar janelas de figuras
clear();//limpar memória
clc();//limpar console
t0 = 0;
delta_t = 0.001;
final_time = 20;
t = (0:delta_t:final_time);
t = t'
ifinal=size(t);ifinal=ifinal(1);
F = 10*ones(ifinal, 1);
m = 40;
b = 10;
k = 100;
s = poly(0, 's');
g = syslin('c', 1/m/(s^2 +b*s/m+ k/m))
y = csim(F',... |
86059c03e01c6ebc2d224ade7022ff3f2a81444c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH12/EX12.2/Ex12_2.sce | 59fc5c4651b2a7f83dee43f75a99446242e2b8b0 | [] | 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 | 828 | sce | Ex12_2.sce |
// Example 12.2
Vl=415; // Supply Voltage
Vph=Vl/sqrt(3); // Phase Voltage
p1=10000; // Load of 10-kW
p2=8000; // Load of 8-kW
p3=5000; // Load of 5-kW
IR=p1/Vph; //Current by ( 10-kW Load )
disp(' Current by ( 10-kW Load ) = '+str... |
c4a370748ecab8b4fa37efe91c3bd6363ac76b74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH8/EX8.19/EX8_19.sce | 1d6b00c1461c214e0803ee3c873265131b8b522b | [] | 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,286 | sce | EX8_19.sce |
//Example 8.19.1
//Use fourier transform to determine the response of the following signal
clc;
clear all;
n=-10:10
for i=1:length(n)
if n(i)>=1 then
x(i)=(3/4)^n(i);
h(i)=(1/2)^n(i);
else
x(i)=0;
h(i)=0;
end
end
subplot(3,2,1)
plot(x,n);
xtitle('(a)x(n)');
... |
60dd85e5e9655c0d6cc50e27194bba00491a7af1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH3/EX3.8/Example3_8.sce | 2c41a01bb188b7f353971801dfa72b98ee82415f | [] | 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 | 317 | sce | Example3_8.sce | // Example 3.8
clear; clc; close;
format('v',6);
// Given data
m=4;//phases
Beta=1.5;//in degree
//Calculations
//Formula : Beta=360/m/Nr
Nr=360/m/Beta;//no. of rotor teeth
disp(Nr,"No. of rotor teeth ; ");
Ns=Nr;//no. of stator teeth
disp(Ns,"In multi stack motor, Stator teeth = rotor teeth = ");
|
cce836b461ce1bbce1158b6738b916b3464e2e84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.33/Ex4_33.sce | a0cb162e5255d88281cd229a177a9a533e97d9d5 | [] | 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,606 | sce | Ex4_33.sce | //ANSWER GIVEN IN THE BOOK FOR THIS QUESTION IS INCORRECT.
clc;
//Neglecting armature reaction & magnetic saturation
//Assuming rotational losses to remain constant
V=230;//Supply voltage
P=15000;//power rating of dc series motor in watts
Il_1=80;//line current rated
Il_2=40;//line current assuming that motor ... |
2f90a08cdba29cbe86023c5044724c159f7a8cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH6/EX6.3.1/6_3_1.sci | 68e83af1c8616e9c7fae4b7e2da0ae3af5f5433c | [] | 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 | 173 | sci | 6_3_1.sci | //332
clear;
close;
clc;
A=[-1 2 2]';
disp(A,'A=');
[U diagnol V]=svd(A);
disp(U,'U=');
disp(diagnol,'diagnol=');
disp(V','V''=');
disp(U*diagnol*V','A=U*diagnol*V''')
//end |
4c47df8fba7366a2c6fb3a317b63294e0bc2b8de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH13/EX13.6/Ex13_6.sce | 7dad32b69190dbb047ea518056d6628acef4272c | [] | 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 | 674 | sce | Ex13_6.sce | //Example 13.6//
C=12.01;//amu //atomic mass of carbon //(From Appendix 1)
H=1.008;//amu //atomic mass of hydrogen //(From Appendix 1)
O=16.00;//amu //atomic mass of oxygen //(From Appendix 1)
a=6;//Number of atoms
b=2;//Number of atom
mw=((a*C)+(a*H)+O)+1.5*(C+(b*H)+O)-1.5*((b*H)+O)
mprintf("mw = %f g (Answer ... |
f7a7387fd682b1afe67fdd063ddb15360bad2c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH15/EX15.4/exm15_4.sce | 05cc50e493994b437c10a93d98646a1ca64b870e | [] | 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,053 | sce | exm15_4.sce | // page no 484
// example no 15.4
// INSTRUCTIONS TO GENERATE SQUARE WAVE PULSE FROM COUNTER 1
clc;
printf('Control Word \n \n');
printf('D7 D6 D5 D4 D3 D2 D1 D0 \n');
printf('0 1 1 1 0 1 1 0 = 76H \n \n');
printf('D7,D6=01 Select counter 1 \n');
printf('D5,D4=11 Load 16 bit count \n... |
97b9e8ba70d6dfa2700ecaba15c368fecf053688 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH8/EX8.5/eg8_5.sce | 7ba2c6b11bc594b705ff07d6adb82250f480f3c0 | [] | 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 | 366 | sce | eg8_5.sce | clear;
//clc();
s3q=10*10^6;
vl=10.5*1000;
il=s3q/(sqrt(3)*vl);
iph=il;
zph=5;
printf("\n Voltage drop in the line is: %.2f V",zph*iph);
//b).using per unit method to soolve
sb=10;
vlb=11;
vpu=vl/vlb;
sb3q=12;
spu=s3q/sb3q;
ipu=spu/vpu;
zpu=zph*sb3q/vlb^2;
v=zpu*ipu*vlb/sqrt(3);
printf("\n voltag... |
2c4d82ec5dabbb9f463c677d1503c3cd52e39670 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH26/EX26.7/eg26_7.sce | 4ec9842cb124e6351b7331b1aa0a357f7fd12c85 | [] | 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 | 291 | sce | eg26_7.sce | clear;
//clc();
p1=500;
p2=100;
q1=acosd(.707);
q2=acosd(0.95);
lkvar=(p1*tand(q1) - (p1+p2)*tand(q2));
printf("The kVAr is:%.2f kVAr\n",lkvar);
kva=sqrt(p2*p2 + lkvar*lkvar);
printf("The kVA is:%.2f kVA\n",kva);
pf=(p2/kva);
printf("The power factor is:%.3f leading\n",pf);
|
d141534892c8425c334df66aa9fa27af88972cf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH7/EX7.8/Ch07Ex8.sce | bc370f75b0b7e27f391029336fd007ecf2f7e2cd | [] | 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 | 876 | sce | Ch07Ex8.sce | // Scilab code Ex7.8: Pg:295 (2008)
clc;clear;
c = 3e+08; // Velocity of light, m/s
e = 1.6e-019; // Charge of an electron, coulomb
B = 0.5; // Maximum magnetic field at the electron orbit, Weber per meter square
D = 1.5; // Diameter of the orbit, meter
R = D/2; // Radius of the orbit, meter
omeg... |
82691998549fca37869cd874055d56b9c823d9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH6/EX6.2/ex6_2.sce | 4d1a5b902469db245b2c4725b97b367e05b76440 | [] | 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 | 564 | sce | ex6_2.sce | //Part A Chapter 6 Example 2
clc;
clear;
close;
T1=27+273;//K
T2=100+273;//K
T3=400+273;//K
m=5;//kg
cp=4.2;//kJ/kgK
cp2=2260;//kJ/kg
delta_T=100-27;//degree C
Q1=m*cp*delta_T;//kJ/K
delta_S1=Q1/T1//kJ/K
Q2=m*cp2;//kJ/K
delta_S2=Q2/T2//kJ/K
R=8.314/34;//kJ/kgK
//cp_steam=R*(3.5+1.2*T+0.14*T^2)*10^-3;//k... |
90a5ac8599826901b1bf7ef717a9ded1a88f7051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.3/Ex11_3.sce | 43835d627a4ef8edd60c43ed30a99c40b88e0c0a | [] | 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 | 470 | sce | Ex11_3.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 3")
T1=(-27+273);//temperature of refrigerator in K
W=3*.7457;//work input in KJ/s
Q=1*3.5;//refrigeration effect in KJ/s
disp("COP=T1/(T2-T1)=Q/W")
... |
9889f5deaa874f20bcbdc62a328b72a46aa9be6e | f492a134695f6d4b2ec01d572569f961a169ef38 | /reversi/tests/vert_down.tst | e116783fa2fd0b266bbba684732d74728aeaffa7 | [] | no_license | rileythomp/cpp-games | a51b06964a2466268aff733fb5d2a4ec1ce2752f | 1b98e9b33ba5ae7aadb6d7a2e9c45cb266727f0c | refs/heads/master | 2022-06-10T16:09:02.322242 | 2022-05-24T19:10:45 | 2022-05-24T19:10:45 | 157,655,018 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35 | tst | vert_down.tst | p
asdf
fdsa
2
3
7
7
1
3
0
3
quit
q
|
7eb515e2d2e84c47557a1186c579c3c97fe8f34c | d5b7d8ad996a3217cacad6b5986a0319216c359c | /MAM3085F_2015_Tutorial_7_Answers.sce | 5129b17968fdbd229cb7c3d9413b98b5a3f8be11 | [] | no_license | JamesGrobbo/Spoon-Knife | 413e465181d0bbf6923e8d295fbecc9769ce4316 | 6a52ebc8e6bb8df31b3680588782ffa2721383d0 | refs/heads/master | 2022-11-30T02:42:47.164732 | 2020-08-20T18:42:19 | 2020-08-20T18:42:19 | 288,239,275 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,169 | sce | MAM3085F_2015_Tutorial_7_Answers.sce | // Utility function: takes operator op
// op must be a function of a vector, producing a vector
// and op must be linear i.e. op(a + b) = op(a) + op(b)
// and op(k*a)=k*op(b)
// result: matrix m representation of op
// i.e op(x) = m * x
// simple linear algebra: m consists of columns op(ei)
// where ei is a basis vecto... |
a0880bda7d65357b9fe012d8d3c7a247fcd3f3a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH10/EX10.10/Example10_10.sce | c4d84712a04572e6c1220f06a9992158b13087cc | [] | 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 | 804 | sce | Example10_10.sce | clear;
clc;
// Illustration 10.10
// Page: 552
printf('Illustration 10.10 - Page: 552\n\n');
// Solution
//****Data****//
B = 1150;// [kg/h]
//*******//
// x and y are taken in weight ratio.
x1_prime = 0.0101;// [Wt. fraction]
xF_prime = 0.0101;// [Wt. fraction]
y2_prime = 0;// [Wt. fraction]
x2_... |
3aa50e66f773bb5a62f10f92e03d7b5a0d0eb56f | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH20/EX4.3.13/U4_C3_13.sce | 3b88f3e84bdf85dd8dbb8778051d74922a45d0bb | [] | 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 | 398 | sce | U4_C3_13.sce | //variable initialization
R=109734 //(cm-1)
T=24477 //(cm-1)
Zeff=1
n=3
//calculation
delta=n-(Zeff*sqrt(R/T)); //q... |
41360bd454227ca3f615d0dfa11dce18f3322dee | 7e1b0b7ceda8e9c25d67d330a7bb5e562a01f27a | /ProbInverses/TP1/02lsItere.sce | fb7df43fe53d81d7af3b655a8881c9173d0ac097 | [] | no_license | sebherv/master2 | 59b8232e62bef140636bfad8c986bbd10e7d7beb | b8cd8bcde1ae3ae7a5bca58183804faa21456dd8 | refs/heads/master | 2021-09-13T19:33:50.766722 | 2018-02-09T15:09:24 | 2018-02-09T15:09:24 | 103,376,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 02lsItere.sce |
figure;
sigma = 8.0;
e=ones(20,1);
C=ones(1,20);
Ct=diag(C)/sigma;
x=linspace(1,10,20);
plot(X,d2,"ro");
//K=1
G=e;
for K=0:4
if K > 1
G=[G X.^(K-1)]
end
m=inv(G'*Ct*G)*G'*Ct*d2;
ymod=m' *X.^K
end |
1744bf5f56ec907f0df28d546bef823d67f98e31 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2poly/rc2poly6.sce | 76ec32604108159ea2a932b429bfba66dcc322dd | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | rc2poly6.sce | //check o/p when matrix containiig single element is passed
t=[2];
z=[5];
[k] = rc2poly(t);
disp(k);
//output
//1. 2.
|
95ca9e8c485ad1c808909a02a1b3e19dea3ab7b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.35/ex_3_35.sce | 96b44b238140aa075b64077c11ca11c202eb71e3 | [] | 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 | 305 | sce | ex_3_35.sce | //Example 3.35:unknown resistance
clc;
clear;
close;
P=100.24;//ohms
Q=200;//ohms
S=100.03;//ohms
x=(P/Q)*S*10^-6;//ohms
q=200;//ohms
r=700;//micro ohms
p=100.31;//ohms
y=((q*r*10^-6)/(p+q+(r*10^-6)));//ohms
z=((P/Q)-(p/q));//ohms
R=x+(y*z);//micro ohms
disp(R*10^6,"unknown resistance is ,(micro-ohm)=")
|
64a9bb8cfc14ded849683e15df9f63437e488abb | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/cceps.sci | 8360085aa24cb5561d921c3820c8251e04d03715 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sci | cceps.sci | function y = cceps (x,correct)
//Return the complex cepstrum of the vector x
//Calling Sequence
//cceps (x)
//cceps(x, correct)
//Description
//This function return the complex cepstrum of the vector x. If the optional argument correct has the value 1, a correction method is applied. The default is not to do this.
func... |
6894713c1679766f26383ed2d87c298629604e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH11/EX11.2/2.sci | 8d1aac88bbea1c68c2dc8eb7e88ffe5cbaf13385 | [] | 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 | 243 | sci | 2.sci | clc;
clear all;
disp("surface temperature of sun")
lmax=0.49;//mu m
T=2898/lmax;//mu.m
disp("K",T, "surface temperature of sun = ")
sigma=5.67*10^(-8);
Eb=sigma*T^4;//W/m^2
disp("W/m^2",Eb,"The total rate of energy emmision, Eb =")
|
cf45f014eb7e84b59519c8323f6799c6fc7c1c7d | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/trainCascadeObjectDetect.sci | 36d210419b49fcbc431a99aacb6e0a3cc7cc8563 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 9,042 | sci | trainCascadeObjectDetect.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
f35bd4a3ab3a9635854b813c5d681cfdec5086ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH13/EX13.3/Ex13_3.sce | 5ecf2a54da9b956fe992bb50da54a7520e956d91 | [] | 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 | 991 | sce | Ex13_3.sce | // chapter 13
// example 13.3
// page 278
Vcc=15 // V
Re=2 // kilo ohm
Rc=1 // kilo ohm
Rl=1 // kilo ohm
Vbe=0.7 // V
// dc load line
// when Ic=0, Vce=Vcc i.e. Vce=15 and when Vce=0, Ic=Vcc/(Rc+Re) i.e. Ic=15/3
// so equation of load line becomes Ic=-(1/3)*Vce+15
clf()
x=linspace(0,15,5)
y=-... |
6d97e961fdbd1f95d928b2dcc9558c2e93545f56 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/phasedelay.sci | 19aeded75e1fc56412a0d85ac428bf20773f5213 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,108 | sci | phasedelay.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
function [phi, varargout]=phasedelay(varargin)
//cas variable is 2 if sos form is involved and 1 if direct rational form is given
//(sos,n) or (sos,w) or (sos,'whole')or (b,a) is the input
//cas variable is 2 if sos form is involved and 1 if di... |
7eeda813902f62d448f905983c19f3da91a558cd | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Exercise_22.sce | 1964e8dac433004152775b31c65038463b3505dc | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,898 | sce | Exercise_22.sce | //C-Exercise22
//Jurain Kahl
//Nattawut Phanrattinon
funcprot(0);
exec("CompFin_2019_SS_BS_Price_Int.sce")
//computes the initial price of European call options with identicall maturity T and strikes K = (K1, ..., Kn)
function V0 = BS_EuCall_FFT (S0, r, sigma, T, K, R, N, M, kappa1)
//model parameters delta and ka... |
16371f62791c904508cd68c853b2bfc31e62ddf3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%rolss.sci | eb3839bde4259f94c8e29b6cf988ee29e75961ce | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 95 | sci | %rolss.sci | function r=%rolss(s1,s2)
//%rolss(s1,s2) <=> s1==s2 , s1 rational, s2 state-space
//!
r=%f
|
d88d6de492992b824d5bae46b9f480bacf1e06a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH13/EX13.5/13_5.sce | 787ddd12788434b51994ecc7cbd6615aad77f119 | [] | 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 | 521 | sce | 13_5.sce | clc;
// page no 447
// prob no 13_5
//signal with bandwidth Bbb=200 kHz & SNR=20 dB spred at chip rate 50:1
Bbb=200*10^3;//Bandwidth
Gp=50;//chip rate
SNR_in=20;//SNR is 20 dB without spreading
//Determination of BW after spreading
Brf=Gp*Bbb;
disp('MHz',Brf,'The value of BW after spreading');
//Converting in... |
d871a3b80fa017dd2718e2b7985f3c431769eab1 | 56743f362de98f910919780918c86679ec136d3e | /resolucao-provas/2017-2018/2º Teste Prático v1.sce | eb42bcea2fa6d0d2c598f0862aa2effaf8c2f536 | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,923 | sce | 2º Teste Prático v1.sce | clc
clear
// 1.a)
Re1R = readxls("Material/dados.xls")(1).value
exec("Material/funcoes.sce", -1)
disp ("Re1R")
disp(Re1R)
// 1. b)
// Equivalência => RST
// 143
isR = verifica1(Re1R)
isS = verifica4(Re1R)
isT = verifica3(Re1R)
if isR == %t & isS == %t & isT == %t
disp("A matrix Re1R é uma rel... |
2df80cbe72295118d185a934ea62f80f48bff5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.15/14_15.sce | 370b96578b5806a2ebc2317a330653e690f13b96 | [] | 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 | 831 | sce | 14_15.sce | clear;
clc;
//Example - 14.15
//Page number - 485
printf("Example - 14.15 and Page number - 485\n\n")
//Given,
T = 25 + 273.15;//[K] - Temperature
mol_CaCl2 = 0.001;//[mol/kg] - Molality of HCl
A = 0.510;//[(kg/mol)^(1/2)]
Z_positive = 2;//Stoichiometric coefficient of 'Ca' ion
Z_negative = -1;//Stoichiom... |
21b0deb1531abc5c63c2de93969bc18cc59548da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH2/EX2.8/EX2_8.sce | 7ae6503a6038260d5b8659d176d534b732b1764e | [] | 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 | 552 | sce | EX2_8.sce | // Exa 2.8
clc;
clear;
close;
format('v',7)
// Given data
d = 10.5;// in gm/cc
At = 108;// atomic weight
N_A = 6.025*10^23;// in /gm mole
r = 10^-3;// in m
q = 1.6*10^-19;// in C
// The number of electrons per unit volume
n = (N_A/At)*d;// in /cm^3
n = n * 10^6;// in /m^3
A = %pi*((r)^2);// in m^2
I = 2;... |
aa2d4b7ffd87722d349a5e29fdd1ad1735a6b67d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.6/Chapter3_example6.sce | 5be34231d9669adbd345cf91086793a64cb217d3 | [] | 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 | 982 | sce | Chapter3_example6.sce | clc
clear
//Input data
T1=40+273//Temperature at the beginning of compression in K
p1=1//Pressure at the beginning of compression in kg/cm^2
p2=15//Pressure at the end of adabatic compression in kg/cm^2
T3=2000+273//Maximum temperature during the cycle in K
Cv=0.17//Specific heat at constant volume in kJ/kg.K
g... |
156e82e0a4ee665f2e91ca47f25c2b3da7fa55b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH6/EX6.1/Ex_6_1.sce | 3a6cbefb91aff12d3293022b58572ad4d9c571c2 | [] | 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 | 320 | sce | Ex_6_1.sce | //Example 6_1
clc;
clear;close;
//Given data:
hp=[50 100 150 120 0];//hp
t=[20 20 10 20 15];//seconds
//Solution :
hp_rms_t=0;//initializing
for i=1:5
hp_rms_t=hp_rms_t+(hp(i)^2*t(i));//hp
end
hp_rms=sqrt(hp_rms_t/sum(t));//hp
disp(hp_rms,"Required hp(rms)");
disp("Motor size should be 100 hp");
|
20fd51751250ea7a64b9180db7aae21aa684b05a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH20/EX20.1/example_20_1.sce | 2e404fce3ecb5773bcceda361e9660dadbb4352f | [] | 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 | 703 | sce | example_20_1.sce | clear;
clc;
disp("--------------Example 20.1---------------")
// 01000010 - first 8 bits of IP4 packet
p="01000010";
s=strsplit(p,4); // split into two
v=bin2dec(s(1)); // version
d=bin2dec(s(2)); // header length
bytes=d*4; // formula
if(((bytes > = 20 )&((v == 4) |(v == 6)))) //minimum number of bytes is ... |
08f0447d70f2a96d225ee1d1504e7af11312d54a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH5/EX5.15/ex5_15.sce | 827061577e5b7b59e5a40186bc4d49beddf11a5d | [] | 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 | 424 | sce | ex5_15.sce | //Example 5.15, page no-208
clear
clc
f1=2.4 //first signal frequency
f2=3.2 //2nd signal frequency
f3=3.4 //3rd signal frequency
//minimum sampling rate for each of the signals would be twice the highest frequency component
sr=3*(f3*2)
st=10^6/(sr*10^3)
printf("Sampling rate of th... |
482c00b65c8d905e3f3d3153ceb180a9187c99ad | cb412970af67cd342235f1ad29668c7ac9a2dfed | /mt_demo/t_demo.sci | 8f10e3afc02335ba247fa6ae3c6b52bc50ec3c6e | [] | no_license | dowaiko/mt_tutorial41 | cdab43af761897afc940ae64deb7df423bdd5776 | d21788c424e2c1df2ecc46ca6ae270e393433e85 | refs/heads/master | 2020-04-10T13:25:27.584350 | 2019-05-31T13:37:08 | 2019-05-31T13:37:08 | 161,050,504 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,442 | sci | t_demo.sci | clear;
clf; // clear
//scf; // add
printf('\n');
printf('************** t demo ****************');
printf('\n');
printf('Enter a File Name of T Unit');
UnitSpaceFile = input('File Name(.xls)?: ',"string");
//printf('./' +UnitSpaceFile+'.xls\n');
T_Mat_Sheets = readxls('./' + UnitSpaceFile + '.xls'); // EX... |
eabf9a4b98d00ed90ee4055de7c3a8eff1ce88b6 | 717ddeb7e700373742c617a95e25a2376565112c | /3137/CH8/EX8.2/Ex8_2.sce | 0b95660484874e061bb6571d02d4854ec6f4780f | [] | 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 | 491 | sce | Ex8_2.sce | //Initilization of variables
//length matrix
L1=[0,4,6] //m
//Bending moment matrix
B=[0,400,0] //N.m
//Shear force plotting
//Here the left side and right side lengths are considered as close as 4 to keep up with right and left distinctions
L=[0,3.999,4,5.99998,6]
S=[100,100,-200,-200,0]
//Calculations cum Re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.