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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8686cb4c0bb26662c3168d2510248f16954f8fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.m.2/ExaMisc8_2.sce | c94814bdb5fb52d5b3fddd52675c46693009301c | [] | 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 | 343 | sce | ExaMisc8_2.sce | //Exa Misc 8.2
clc;
clear;
close;
//given data
format('v',6);
fo=10;//in KHz
R1=25;//in kohm
R2=60;//in kohm
Rc=40;//in kohm
R=7.1;//in kohm
hie=1.8;//in kohm
C=1/(2*%pi*fo*10^3*R*10^3*sqrt(6+4*Rc/R));//in F
disp(C*10^9,"Value of Capacitor(in nF) :");
hfe=23+29*R/Rc+4*Rc/R;//unitless
disp("Value of hfe i... |
6c07d1550a875ab82f9093ed5ead51e29a8e910e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/metanet/max_clique.sci | b8837e30cfd840945ad56789a2d46885568a8ab5 | [
"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 | 880 | sci | max_clique.sci | function [nsize,nodes]=max_clique(g,ind)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs>2|rhs<1 then
error(39)
elseif rhs==1 then
ind=0
end;
// check g
check_graph(g)
// check ind
if (ind<>0&ind<>1) then
error('The second argument must be 0 or 1')
end
m=prod(size(g('tail')))
n=g('node_number')
head=g('head'); tail=... |
a69a43f72869a993c6efbd8992587adc24eca525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH7/EX7.1/7_1.sce | fc209b00ac5f5005a697bc18bc0c1edbd9eaf7fb | [] | 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 | 231 | sce | 7_1.sce | clear;
clc;
c=3*(10^8);
f=3000*(10^8);
lo=c/f;
l=lo*(10^4);
m=1;n=0;a=7.62;
lc=2*a;
printf("-Critical wavelength = %f cm\n",lc);
lg=sqrt((l*l*lc*lc)/((lc*lc)-(l*l)));
printf("-Guide wavelength = %f cm",round(lg*10)/10);
|
da23c4725d5636efb067ab46e6021330cd5c92d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.6/Example_14_6.sce | f7ac46d6d6ee099d69d792a9ced87a6ada8f1ea5 | [] | 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,408 | sce | Example_14_6.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.6
clear;
clc;
//Given
//SO2 + (1/2)O2 - SO3
//Basis: 1 Kgmole of SO2
n_SO2 = 1;// SO2 fed in Kgmole
//From table 14.1 (page no 301)
//alpha values for the following components are given as
a_SO2 = 7.116;
a_O2 = 6.14... |
d26741d937715ebed5d63b6d48f94a32e9fde3e2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787.zip/Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787/CH4/EX4.12/Exa4_12.sce | 76179ad864b341cc19b1f7d64060c61d88e963e2 | [] | 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 | 327 | sce | Exa4_12.sce | errcatch(-1,"stop");mode(2);//Exa4.12
;
;
//given data
Vz=5;//in volts
to=25;//in degree centigrade
t=100;//in degree centigrade
Vdrop=4.8;//in Volts
delVz=Vdrop-Vz;//in Volts
delt=t-to;//in degree centigrade
TempCoeff=delVz*100/(Vz*delt);
disp(TempCoeff,"Temperature coefficient f zener diode in % : ");
e... |
cdd6def0050ba2bc13e9ebc4791bfb5d8a41d0ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH16/EX16.11/Ex16_11.sce | 4cacd36fbedaf036a00ecf42257553670f8b01b3 | [] | 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 | 301 | sce | Ex16_11.sce | clc
clear
//Initialization of variables
n1=8
n2=9
n3=1
n4=12.5
U11=3852
U12=115
U21=3009
U22=101
U31=24773
U32=640
U41=2539
U42=83
H=-2203389
//calculations
dU1=n1*(U11-U12)+n2*(U21-U22)
dU2=n3*(U31-U32)+n4*(U41-U42)
Q=H+dU1-dU2
//results
printf("Heat of reaction = %d Btu",Q)
|
cb18437c8afd5bdbae7360f9d28faa15505fe0a9 | 6285663d2259fa331b87bfb8ab368f892ee94351 | /07/OverflowTest/EQ2/EQ2.tst | 2dca33fbb749af2500c69023616d255bc5a96d7d | [] | no_license | Ellonet/nand-ex1 | 1ed60786aef5386321519d23b1d2328930e0700d | 19eee2248c24c9912ca72b61ce0d1869dc885d71 | refs/heads/master | 2020-04-01T10:07:53.274194 | 2019-01-06T18:07:23 | 2019-01-06T18:07:23 | 153,103,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | tst | EQ2.tst | // This file was created by Evyatar.
load EQ2.asm,
output-file EQ2.out,
compare-to EQ2.cmp,
output-list RAM[0]%D2.6.2 RAM[256]%D2.6.2;
set RAM[0] 256, // initializes the stack pointer
repeat 200 { // enough cycles to complete the execution
ticktock;
}
output; // the stack pointer and the stack ba... |
b56003e3daf668b69f7ce5a7128720152753ed00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.9.3/Ex2_9_3.sce | 84f2be469ada8ee872bd916d7ddf412cd34ad587 | [] | 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 | 516 | sce | Ex2_9_3.sce | clear
clc
w1=1;//amount of glucose C6H12O6 in gm
w2=1;//amount of sucrose C12H12022 in gm
n=(w1/180)+(w2/342);//amount of solute
R=8.314;//in J/Kmol
T=25;//in C
V=1000;//volume of water in gm
P=(n*R*(T+273))/(V*10^-6);//osmotic pressure of solution
printf('P=%.3f *10^4 N/m^2',P/10^4)
w=(w1+w2);//weight of so... |
c8c4b1e15060a6cdfdb8dabeaf526cd2dcfd4713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.10/Ex3_10.sce | c46e524f3ab07feffde48aabbbb876cd452c7716 | [] | 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,880 | sce | Ex3_10.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.10
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
V1 = 440; // HV Side Voltage Rating o... |
8c6739244ef6e6fcbd4c0a638f58843668fdfc58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.6/Exa2_6.sce | 035e8e57c4d6620382ff0ef0911a599d77351e69 | [] | 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 | 279 | sce | Exa2_6.sce | //Exa 2.6
clc;
clear;
close;
//given data
ni=1.4*10^18;//in atoms/m^3
Nd=1.4*10^24;//in atoms/m^3
n=Nd;//in atoms/m^3
p=ni^2/n;//in atoms/m^3
ratio=n/p;//unitless
disp(p,"Concentration of holes in per m^3 : ");
disp(ratio,"Ratio of electron to hole concentration : "); |
075ce584cad0a9a5992be11d221b7bd60dda3312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH22/EX22.15/Ex22_15.sce | 29e02dfc12d33873a822469003670a5a49a8f0d0 | [] | 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,546 | sce | Ex22_15.sce | // Example 22_15
clc;funcprot(0);
//Given data
T_1=400;// °C
p_1=40;// bar
p_2=2;// bar
p_3=0.5;// bar
p_4=0.05;// bar
n_t1=75/100;// The isentropic efficiency of the first stage of the turbine
n_t2=80/100;// The isentropic efficiency of the second stage of the turbine
n_t3=85/100;// The isentropic efficiency... |
58b092404f7000ac5397c223e3a72f06bc0daf68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.108/EX2_108.sce | 78494ca341b012bb4db06b573a87cf3f739a00a1 | [] | 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 | 138 | sce | EX2_108.sce | //EXAMPLE 2-108 PG NO-146
I1=(100/1.414)^2;
I2=(10/1.414)^2;
R.M.S=(I1+I2)^0.5;
disp('R.M.S VALUE is = '+string(R.M.S)+' A');
|
616e18d6e130dcd9e72b9d4dec405890b43ccdfd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/elem/smooth.sci | e36299a4daacefb6183aae3dbd6b4d286b30d3dd | [
"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 | 240 | sci | smooth.sci | function [pt]=smooth(ptd,pas)
//
[lhs,rhs]=argn(0)
[m,n]=size(ptd)
d=splin(ptd(1,:),ptd(2,:))
if rhs=1 then l=abs(ptd(1,n)-ptd(1,1));pas=l/100;end
pt=[ptd(1,1)+pas:pas:ptd(1,n)]
pt=[ptd(:,1) [pt;interp(pt,ptd(1,:),ptd(2,:),d)] ptd(:,n)]
|
e59784917cee569ac83f67ea868ae656811177f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.14/Ex5_14.sce | f16fbd0485aed83f4cb92e841012aea5d3816f68 | [] | 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 | 794 | sce | Ex5_14.sce | //Chapter-5,Example 5_14,Page 5-31
clc()
//Given Values:
m=1.676*10^-27 //mass of neutron
h=6.625*10^-34 //Planck's constant
lam=1*10^-10 //wavelength of neutron
//Calculations:
C=3*10^8 //Velocity of light
Ep1=h*C/lam //Energy of photon in joules
E1=... |
576132324337547f5b538a2e81af1f856966e157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH14/EX14.5/Ex14_5.sce | 52fb55ba89c53ed0e2929949dfd6711b670950de | [] | 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 | 405 | sce | Ex14_5.sce | clc//
//
//
//Variable declaration
V=20*15*5; //volume(m^3)
T=3.5; //time(s)
A=950; //surface area(m^2)
//Calculation
sigma_as=0.165*V/T; //total absorption in the hall(OWU)
ac=sigma_as/A; //average absorption coefficient
//Result
printf("\n total absorption in the hall is %0.3f... |
7f5de0dd6ca11460288b943630a365cb8c8a0d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH9/EX9.6/9_06.sce | 654c349e680414a6163c7fe18e9b593a842e50ff | [] | 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 | 247 | sce | 9_06.sce | clear
clc
FAo=1000;//mol/min
//Drawing trial operating lines with a slope of 1/72 and for each evaluating integral dXA/-rA
//From graph
Area=1.72;
V=FAo*Area;
printf("\n The volume of adiabatic plug flow reactor is %f",V)
printf("litres") |
55585b84cf4a21ca258a354679f6f05757456ec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH3/EX3.3/example3.sce | dd1fdab629dcb984a77b77bc7d71b6291adfae70 | [] | 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 | 391 | sce | example3.sce | // to find load voltage and load current using ideal diode
// Example 3-3, page 65
clear;clc; close;
// Given data
// diode is forward biased, equivalent to a closed switch.
// Calculations
V=10;// load voltage in volts
R=1000;// load resistance in ohms
I=V/R;// all the source voltage appears across the load resist... |
7fa4606985ae964b5b6f2e1859cf6fc98012260f | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH8/EX8.4/Ex8_4.sce | 660b51b2b1b710976c84ea2258ca70e981fcb276 | [] | 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 | 409 | sce | Ex8_4.sce | //Caption:Design a square wave generator using 7555 CMOS
//Ex8.4
clc;
clear;
close;
V=5//Supply voltage(in volts)
f1=1//Frequency(in khz)
f2=3//Frequency(in khz)
C=0.01//Capacitance(in micro farad)
Ra=47//Choosed resistor(in kilo ohm)
t1=1/(2*f1)
t2=1/(2*f2)
R=t1/(0.693*C)
Rb=R-Ra
disp(C,Rb,Ra,'Components... |
9a12ed5d6d6cba425937b5a45e64bb9f51a1e6fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH20/EX20.6/Ex20_6.sce | 9d8b36c89e14aab45dc9ee00b7f7d184eeb2a7b4 | [] | 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 | 346 | sce | Ex20_6.sce | //chapter20
//example20.6
//page441
Vin_min=22 // V
Vout=15 // V
Il_max=0.1 // A
// for maximum series resistance, we consider the case when input voltage is minimum and load current is maximum because then zener current drops to minimum.Thus,
Rs_max=(Vin_min-Vout)/Il_max
printf("required series resistanc... |
a65ce47204a8f977d1a0b06094399e1203a9f12e | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/Morisita_RP-003.tst | 344f95600a11aa0836ea481c7f4a1bc627f5e9fd | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | tst | Morisita_RP-003.tst | ../inputs/pops-4x2-1212-2121.ssv |
b3cca9d8ae377bae668ffd60ec7141a777a60aed | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH2/EX2.5/example25.sce | 05b0eadc4da1f976fb15c6235a8690a1357deb7b | [] | 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 | 468 | sce | example25.sce | //Example 2.5
clc;
Max_Limit=10;
h=ones(1,Max_Limit);
N2=0:length(h)-1;
a=0.5;//constant a>0
for t=1:Max_Limit
x(t)=exp(-a*(t-1));
end
N1=0:length(x)-1;
y=convol(x,h)-1;
N=0:length(x)+length(h)-2;
figure
a=gca();
plot2d(N2,h)
xtitle('Impulse Response','t','h(t)');
a.thickness=2;
figure
a=gca();
plot2d(N1,x)
xtitle('Inp... |
740e7bedefe4da642cf096b27163dda9d4f5c10f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH17/EX17.5/17_5.sce | 53e2996df59365ffd6b7421e66247e06a5ea0349 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | 17_5.sce | clc
//initialisation of variables
M1= 18.02 //gms
m1= 0.965 //gms
m2= 0.035 //gms
M2= 58.5 //gms
R= 8.314 //J/mol K
M= 18.02 //kg
T= 20 //C
vf= 0.001002 //m^3
x21= 0.021856 //m^3
//CALCULATIONS
n1= m1/M1
n2= m2/M2
x1= n1/(n1+n2)
x2= n2/(n2+n1)
P= R*(273.15+T)*x2/(M*vf)
P1= R*(273.15+T)*x21/(M*vf)
//R... |
aa5e2df3eeb0c3b9c0414412a88584aab6a85681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.19/2_19.sce | 7b102705d2187720c2fdf76aeed2cac364d0ac8d | [] | 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 | 805 | sce | 2_19.sce | clc,clear
printf('Example 2.19\n\n')
V=110
P=4
R_a = 0.1,R=0.01 //A resistance of 0.01 ohms
R_se=R+R
//case(i)
I_1=50, I_a1=I_1
N_1=700
E_b1 = V -I_a1*(R_a + R_se)
//T (prop.) phi*I_a from torque equation (1)
//phi_1 (prop.) I_a1 ... |
a28b21249ecd1b79a638e8c1f7039a92330c5294 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH18/EX18.15/CH18Exa15.sce | f0b65c374136bf77e1d959c0f39cf32d28c3839b | [] | 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 | 362 | sce | CH18Exa15.sce | // Scilab code Exa18.15 : : Page-768 (2011)
clc; clear;
I_1 = 3/2; // Isospin for delta(1232)
I_2 = 1/2; // Isospin for delta 0
delta_ratio = sqrt((2/3)^2)/sqrt((1/3)^2); // Branching ratio
printf("\nThe branching ratio for a resonance with I = 1/2 is %d", delta_ratio);
// Result
// The branchin... |
23ec5188b6d60c30fd1bad7dfbf6a7557454dd25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.54/Ch3_3_54.sce | 0747348cc7c38f9e4254a7cdb0c567fa8cac2733 | [] | 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 | 510 | sce | Ch3_3_54.sce | clc
disp("Example 3.54")
printf("\n")
disp(" Draw a DC load line for the base bias circuit neglecting Vbe")
printf("Given\n")
//given
betadc=100
Rc=5*10^3
Rb=1.5*10^6
Vc=30
//to find Ib
Ib=Vc/Rb //from ciruit
//Ic value
Icq=betadc*Ib
//Vce value
Vceq=Vc-(Icq*Rc)
//to draw DC load line
Ic1=Vc/Rc
Vce1=... |
5f282525e0d173addbd7760408a8e25d0cdb7f20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.2/Ex_9_2.sce | 6d014a180e5db678668d33e3db543ca07ad26d74 | [] | 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 | 217 | sce | Ex_9_2.sce | // Example 9.2;//photocurrent
clc;
clear;
close;
R=0.85;//responsivity in ampere per watt
Po=1;//output power in milli watt
Ip= R*Po;//photocurrent in milli ampere
disp(Ip,"photocurrent in milli ampere is ")
|
8b4df76026e45ee59372036259660a8081885653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.10/7_10.sce | 15b703b1e5ab50210e4ddb11ad7f33c61215946a | [] | 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 | 267 | sce | 7_10.sce | clc;
b=0.228;
a=1-b;
c=[1+(2*0.455)-b-2*a]/2
n2=a+b+c+1.709;
p1=8.28;
T2=555;
n1=1+0.455+1.709;
T1=2968;
p2=p1*(n2/n1)*(T1/T2);
p=1;
K=a/b*[n2*p/(c*p2)]^0.5;
disp(log(K),"log(K) is:");
disp("2968","from tables it is proved that temperatur is:")
|
1520d387428ab4aed1c8cf4238773599dccbbd81 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH8/EX8.12/Ex8_12.sce | dca8de16974a90ff26b2bebcd48e70e314bb9caa | [] | 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 | 701 | sce | Ex8_12.sce | // Variable declaration
val = 0
data1 = [27,23,64,44,30,75,26,124,54,30,14]
data2 = [15,13,22,29,31,64,30,64,56,20,21]
y = [1,1,1,1,1,1,1,1,1,1.1,1]
d = []
alpha = 0.05 // level of significance
for i = 1:11
d(i) = data1(i)-data2(i)
end
n = length(d)
Mean = sum(d)/(length(d))
// Calcula... |
edc06e2e6540a1b4783cd7b15034155f2c92fcec | 3c9ed378363a111d20ce027e85cbc5ac9629bbb9 | /r_lineal.sce | d63e2cf97a49d63e51b1cbf8ea4821ddbaf9912f | [] | no_license | JeG99/scilab-code | 2b9eade6e57730a6274fb7ffc3f723bfd26d6153 | eae76b665688e04a5de2af8b56d0357ab0de340b | refs/heads/master | 2022-10-09T06:33:39.463575 | 2020-06-06T03:52:43 | 2020-06-06T03:52:43 | 269,859,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,499 | sce | r_lineal.sce | clear
///////////////////////////////////////////////////////
// r_lineal.sce
//
// Este programa obtiene los coefientes de una ecuacion
// lineal por medio de sus fórmulas de regresión, dado
// un conjunto de pares coordenados.
//
// José Elías Garza Vázquez
// 22 / 01 / 20 version 1.0
//////////////... |
a5ea099ea95c26c68fd88886e6f6d0e1b699d3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.19/19.sce | 8186ab2b2baa8578af4e087d1155a7a037c8b658 | [] | 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 | 19.sce | clc
clear
//INPUT DATA
n=2//no.of atoms in BCC structure
d=7.86*10^6//density of iron of FCC structure in kg/m^3
AW=55.85//atomic weight of Fe
N=6.023*10^23//Avogadro's Number per Kg mol
//CALCULATION
a=(((n*AW)/(d*N))^(1/3))/10^-10//The lattice constant in m
r=((a*sqrt(3))/4)//The atomic radius of Fe which ... |
fa47cbdb769119e8a326ca651957ef73ec6da11e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.18/Ex4_18.sce | 8bd1e0450da50f8beb08b7f7bb2a846c0b456be8 | [] | 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 | 838 | sce | Ex4_18.sce | clc
//Variable Initialisation
Ea=230//Input Voltage of motor in volts
Ia=50//Armature Current in Ampere
N1=800//Rated Speed of Motor in rpm
Ra=0.4//Armature resistance in ohm
d1=0.3//Duty ratio for Motoring Operation
d2=0.6//Duty ratio for Motoring Operation
d3=0.7//Duty ratio for Braking Operation
d4=0.4//Dut... |
ba7a109f3513d6f7f3a487c561b7ae74fc9268e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH12/EX12.3/12_3.sce | 9ae922c005a00fe788cf0d6ea935a72be4b4bfec | [] | 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,353 | sce | 12_3.sce | //chapter 12
//example 12.3
//page 371
clear all;
clc ;
//given
Vcc=20;//supply voltage
Rl=500;//load resistance
Av=75;//closed loop voltage gain
f1=30;// i/p signal frquency Hz
hfe=80;
hie=1.4;
Ve=5;Vce=3;
VR2=5.7;
Vbe=5;
VR3=Vcc-Vce-Ve;
R3=Rl/10;
Ic=VR3/R3*10^3;
printf("\ncollector current = %d micr... |
b503655f960940f4834b4a3db4efa347740e2206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH4/EX4.10/Ex4_10.sce | 68b4b7c81dbe8bcb1694f40ea9b398a47f04eb94 | [] | 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 | 952 | sce | Ex4_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 4
// Energy Analysis of Process
// Example 10
clear ;clc;
//Given data
V = 2 // volume in m^3
gam = 1.67 // gamma ideal gas coefficient
P0 = 0.1 // Initial Pressure in MPa
T0 = 300 // Initia... |
728e7f6aa3bf3637b55fccb1c01007c8c03d543f | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-4/variants.sce | 6c85bf1565a9d538d15c5fe994dfc08541109c4f | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | variants.sce | k=1;
cp=zeros(1,991);
c=zeros(1,991);
noe=zeros(1,991);
for n=10:1000
noe(k)=n;
a=round(rand(1,n)*100);
[cmp_h,ab] = quick(a,1,n,0);
[cmp_r,ar] = sorttest_quick(a,1,n,0);
cp(k) = cmp_r;
c(k) = cmp_h;
k=k+1;
end
plot(noe,cp,"m");
plot(noe,c);
xlabel("ARRAY SIZE");
ylabel("NUMBER OF CO... |
011a13743fb3ca6276627acf5966c8898048b8e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH5/EX5.5/example5_5.sce | 2cef022a6cbdda11417839458df693908170ffe7 | [] | 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 | 338 | sce | example5_5.sce | disp('chapter 5 ex5.5')
disp('given')
disp('709 op-amp is used to design an noninverting amplifier')
disp('voltage gain Av=50')
Av=50
disp('voltage gain Av=50=34dB')
disp('compensation components are listed for Av=20dB and for Av=40dB')
disp('for over compensation use components for Av=20dB')
disp('C1=500pF R1=... |
94ea956d9c08a04e5adf96faba7c330bb57bf714 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/scilab/interface.sci | 29f7427928651edb7eb20de641957994f38b98cb | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sci | interface.sci | try
type(cdo_factor);
delmenu('CDO');
catch
// exec builder.sce;
exec loader.sce;
end;
addmenu('CDO',['Product';'Model';'Computation';'Last computation';'Numdef';'Losses']);
CDO=['exec(''product.sci'',-1)';'exec(''model.sci'',-1)';'exec(''computation.sci'',-1)';'exec(''last_computation.sci'',-1)';'exec... |
93c97a38c4257d756c82a165464b5baebdcc5a47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.16/Ex2_16.sce | 12724dd8567686f7650ad94f58fc339d4642aafb | [] | 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 | 395 | sce | Ex2_16.sce | //problem 16 pagenumber 2.99
//given
f1=500;//hz
f2=2.2e3;//hz
a=5;
c=0.1e-6;//farad
rf1=10e3;//ohm
//determine r1 r2
R1=1/(2*3.14*f1*c);
R2=1/(2*3.14*f2*c);
Ri=2e3;//ohm assuming
Rf=(a-1)*Ri;format(6);
disp('R = '+string(R1/10^3)+' Kohm');
disp('R2 = '+string(R2/10^3)+' Kohm');//error in book
disp('R1 = ... |
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,... |
d6dc20913dac60d75188dc83d5eee81c53b84259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH1/EX1.3/Ex1_3.sce | 1f4cc7aa5664f77954e8ffe4893fd078bec0dff1 | [] | 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 | 206 | sce | Ex1_3.sce | //Example 1-3, Page No - 15
clear
clc
wavelength_feet=75
wavelength_meter= 75/3.28
c=300000000
frequency=c/wavelength_meter
printf('The signal frequncy is %.3f Megahertz',frequency/1000000)
|
1af259622ad3d06327be8be5fcda23dd2a993108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.4/Ex8_4.sce | 39572035f67ea91efc027fffe6ca2e619c4fc913 | [] | 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 | 710 | sce | Ex8_4.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_4.sce
clc;
clear;
p=4;
s=21;
Cs_per_slot=4;
Cs=Cs_per_slot*s;
printf("\n Number of coil sides=%d \n",Cs)
C=Cs/2;
printf("\n Number of coils=%d \n",C)
Yc1=(C... |
41a179d9fc1dcf8a3d1fd5f4c03280b8244a7b3b | 5d079b5e33f7565df988283b8566430d84135c9d | /MR2GDL/MR2GDL.sce | dfbdb4eb2159a5dc1b86add552b954d480b2f1fd | [] | no_license | Torradera/MEC1804 | ee158d5c1afa0bb8f9156ea650beb16bbbad8b87 | e5e0d93f27ddb1b38bf182af0af6649fdab3a860 | refs/heads/master | 2021-03-09T18:10:47.009137 | 2020-03-11T22:47:41 | 2020-03-11T22:47:41 | 246,365,858 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | MR2GDL.sce | clear
clc
t = [0:0.001:4] //tempo
l1 = 1 //tamanho do braco 1
l2 = .5
theta1 = %pi*t/8 //theta1 em funcao do tempo
theta2 = %pi*(t.^2)/16 // theta2 em funcao do tempo
dtheta1 = %pi/8
dtheta2 = -%pi*t/8
ddtheta1 = 0
ddtheta2 = -%pi/8
//Movimento
x = l1*cos(theta1) + l2*cos(theta1+theta2)
y = l1*sin(theta1) + l2*si... |
0f67087625f66a32dd698d3659d7395d4fa3b85f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.22/EX6_22.sce | 05ec1beda796020a54ab7aad30eb89472c4ef20a | [] | 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 | 393 | sce | EX6_22.sce | //Example6.22 // To determine the output voltage
clc;
clear;
close;
Vin = 2 ;
R2 = 20*10^3 ;
R1 = 2*10^3 ;
// the output voltage of follower Vo1 is
Vo1 = Vin ;
disp('the output voltage of follower Vo1 is = '+string(Vo1)+ ' V');
// the output voltage of an inverting amplifier
Vo = -(R2/R1)*Vo1 ;
disp('Th... |
6753cf7cf8483c14aa7039ba67cc7d7af42591b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH8/EX8.6/Ex8_6.sce | 5c558d424df322d41f00fa6915eaed31cd8f5b2f | [] | 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 | 3,103 | sce | Ex8_6.sce | clear all; clc;
disp("From figure 8.14c we have Pl=620hp at N=18400rpm. Pick a point on the curve of N/(T01^0.5)=18400/(530^0.5)=800")
disp("In figure 8.14a,say p02/p01=5")
disp("So we have")
disp("m(T01^0.5)/p01 ETAc p02(psia) m(lbm/s) p03(psia) p03/p04")
disp(" 5.7 0.85 73.5 ... |
64832a151d489d7629ed28eef2e7840eec1f1bb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.18/8_18.sce | a6edc8737113e3cbf7a6186fec20eefbd024a278 | [] | 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,390 | sce | 8_18.sce | //Fuels and Combustion//
//Example 8.18//
C=624;//weight of carbon in 1kg of coal sample in grams//
O=69;//weight of oxygen in 1kg of coal sample in grams//
S=8;//weight of Sulphur in 1kg of coal sample in grams//
N=12;//weight of nytrogen in 1kg of coal sample in grams//
H=41;//weight of hydrogen in 1kg of coal ... |
43d1ba28caa5328820b77cc984343593922853a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.11/15_11.sce | 5951a0304e8ad93c780166fc565472bbc9436a61 | [] | 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 | 15_11.sce | //Example 15.11
//Midpoint Method
//Page no. 518
clc;clear;close;
deff('y=f(x,y)','y=y+x')
y=1;
h=0.2;
printf('i\txi\tyi\tslope1\tslope2\ty(i+1)\n-----------------------------------------------\n')
for i=1:3
x=(i-1)*h
s1=f(x,y);
s2=f(x+h/2,y+s1*h/2);
printf(' %i\t%g\t%g\t%g\t%g',i-1,x,y,s1,s... |
10dd6455c49cbea87addaa6c48fd773ab3225485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH2/EX2.11/ex2_11.sce | eac63d9ba7cb593daf58d9f479ec74422b9e6020 | [] | 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,014 | sce | ex2_11.sce |
clc
printf("\n")
//let
//S=displacement of car from rest with uniform acceleration a, the engine torque T assumed to remain ocnstant
//v=final speed ofcar
//G=gear ratio
//r=effective radius
//n=efficiency of transmission
//M=mass of the car
//Ia and Ib=moments of inertia of road whels and engine
//formula... |
653775294e505fa024df592c0a543741eb69b713 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-usage-003.tst | 86770d0798d72c84eb46fffacefe181e170f295d | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | tst | test-usage-003.tst | FLAGS='--detect --list'
STDIN=''
STDOUT=''
STDERR='!USAGE!'
EXITVAL='1'
|
cfe695d713f5e247962f796b3f3e5faedae32d9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH11/EX11.1/Example11_1.sce | 95e4aa69d9eaf599b9c49767779f79e9611a0bf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,135 | sce | Example11_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 4: OVERHEAD LINE INSULATORS
// EXAMPLE : 4.1 :
// Page number 183
clear ; clc ; close ; // Clear the work space and cons... |
8a5d44df75d8c495727da177b5f5fe075277e837 | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/test_mnprobln.sci | c6db811f3b99bb4fe04f4173761bcba275eb7ac0 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sci | test_mnprobln.sci | exec("mnprobln.sci",2);
function ok=test_mnprobln()
mu=[1;-1];
Sigma=[5 6;6 9];
n1=51;
y1=linspace(-10,10,n1);
n2=51;
y2=linspace(-10,10,n2);
y=zeros(2,n1*n2);
for i1=1:n1
b=(i1-1)*n2;
y(1,b+1:b+n2)=y1(i1);
y(2,b+1:b+n2)=y2;
end
dy=((y1(n1)-y1(1))/(n1-1))*((y2(n2)-y2(1))/(n2-1));
p=... |
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
//T... |
702dba88864683db4b7919def513aa44aa07616b | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.23/ex_1_23.sce | 2eafa8ae595f44f4c8d22ea80678db38440f93e0 | [] | 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 | 769 | sce | ex_1_23.sce | //ex_23 product of discrete signal and unit step function
clear;
clc;
close;
t=-3:3;
x=[3 2 1 0 1 2 3];
//u[1-n]
for i=1:length(t);
if t(i)<=1 then
u1(i)=1;
else
u1(i)=0;
end
end
y=x.*u1';
figure
a=gca();
plot2d3(t,y)
plot(t,y,'r.')
xtitle('y[n]','n')
a.y_location='origin... |
f451de2c954e3736f5905e3d9d7b8fda089a3b96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.2/ex_3_2.sce | 09d884608e8a2469f2c52e2de33359b3aeefca9a | [] | 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,355 | sce | ex_3_2.sce | // Example 3.2: calculate the input impedence, output impedence, voltage gain and current gain
clc, clear;
Hie=3.2; // the h-parameters of the transistor in kilo-ohm
Hfe=100; // the h-parameters of the transistor
R1=40; // resistance in kilo-ohm
R2=4.7; // resistance in kilo-ohm;
Rc=4; // resistance in kilo-ohm... |
fee0d834f75008d36db63d523f3893c2ba4b9189 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.9/Ex2_9.sce | 3e801b9fb3d810007252d7e52a7b7c94a7fc2705 | [] | 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 | 447 | sce | Ex2_9.sce | // chapter 2
// example 2.9
// Fig. 2.17
// Calculate the value of commutating capacitance
// page-54
clear;
clc;
// given
Edc=120; // in V (source voltage)
I=20; // in A (current)
t_off=60; // in us (turn-off time of both SCR)
// calculate
R1=Edc/I; // calculation of R1
R2=R1; // calculation of R2
C=1.44*t_off/R1; // ... |
a6dd5f935df6d484b2e8e684f9489a38c4a11fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH3/EX3.1/eg3_1.sce | 1664e24adca109c1146f67eebf06e4e54971ead3 | [] | 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 | 936 | sce | eg3_1.sce | clear;
clc;
ld=100; //load in KW
v=500;............// voltage in volts
res=1.75*(.000001);...........//restivity in milli ohm per cm sq
nos_cores=2;.......//number of feeder core
l=0.8;.............//length of tx line in km
area=1;...........//area in cm sq
cost_of_energy=0.12;..//cost in Rs per un... |
466ad41d75390819fb0f77f017e6c22d285967bf | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.6_7.tst | fb93e31f6264046c953c5cbff2aa9fc2b20191fa | [] | 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 | 38,681 | tst | bow.6_7.tst | 6 9:0.5 14:1.5 16:0.125 18:0.06666666666666667 27:1.0 29:1.0 43:0.2 44:0.3333333333333333 56:0.5 60:0.025 64:0.6666666666666666 70:0.16666666666666666 78:0.3333333333333333 127:1.0 129:1.0 160:0.3333333333333333 183:0.25 199:1.0 200:1.0 230:0.25 289:1.0 301:1.0 387:0.25 398:0.3333333333333333 442:0.3333333333333333 578... |
5b0a84044ae8eea5e9161b8c8fd4ce654540b5a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH6/EX6.7/6_7.sce | ccdbaeca6b06d398728edb05ab1ea9ab552d2f2d | [] | 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 | 413 | sce | 6_7.sce | clc
//Initialization of variables
T1=400+460 //R
P1=100 //lb/in^2
P2=20 //lb/in^2
T2=140+460 //R
Cp=50
//calculations
Pratio=P1/P2
Tratio=T1/T2
C=log(Tratio) /log(Pratio)
n=1/(1-C)
v1=Cp*T1/(144*P1)
v2=Cp*T2/(144*P2)
w=144*P1*v1^n
function[p]=fun(v)
p=w/v^n
endfunction
Work=intg(v1,v2,fun)
//results
printf("Work done ... |
5158e025ced5d245238b0e70e4bc2f4792d692e4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/util/%sp_sum.sci | f10e24a0f73c0b78db7b032c2d139d0cf926b7f5 | [
"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 | 170 | sci | %sp_sum.sci | function a=%sp_sum(a,flag)
// Copyright INRIA
[m,n]=size(a);
if flag==2|flag=='c' then
a=sparse(a*ones(n,1))
end
if flag==1|flag=='r' then
a=sparse(ones(1,m)*a);
end
|
c73a10057d5e56baa0471c7ecd4e4a4ee4b11164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH20/EX20.3/Ex20_3.sce | 440940ac75dffb993bb2d7f1e65ffb9254ccd3ed | [] | 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 | 546 | sce | Ex20_3.sce | //Example 20_3
clc();
clear;
//To find the current through the inductor
f=60 //Units in Hz
l=15*10^-3 //Units in H
xl=2*%pi*f*l //Units in Ohms
v=40 //Units in V
i=v/xl //Units in A
printf("The current in the inductor when frequency=60 Hz is I=%.2f A",i)
f=6*10^5 ... |
e8adcdd4d21c4c00e18be94b933ad43ebaff8b4d | 0225f07f11230da9818e159324b578abd0a88cec | /Webasto X250_3/Webasto X250_3.tst | d1f9f2b5697cbd670c52e758b7149992c964893c | [] | no_license | zzzmarikzzz/eagle | a57ac554d1bea0f07d6d9c3a9494dd59a73beb3a | 13374a4fcb5c181b1047f207df8618054ec5ee2a | refs/heads/master | 2021-01-18T15:09:34.371046 | 2020-06-21T20:29:00 | 2020-06-21T20:29:00 | 54,958,216 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,129 | tst | Webasto X250_3.tst | G75*
%MOIN*%
%OFA0B0*%
%FSLAX25Y25*%
%IPPOS*%
%LPD*%
%AMOC8*
5,1,8,0,0,1.08239X$1,22.5*
%
%ADD10C,0.01600*%
%ADD11C,0.00000*%
%ADD12C,0.08800*%
%ADD13R,0.09068X0.06706*%
%ADD14R,0.06706X0.09068*%
%ADD15C,0.15200*%
%ADD16R,0.03950X0.04343*%
%ADD17R,0.09461X0.03162*%
%ADD18R,0.04737X0.05131*%
D10*
X0002859Y0002438D02*
X0... |
7412d9c017b1ddb206797b5ae4ec7734dd7146d4 | c3280ada260999123d75347caeaad1c7fc9f8266 | /kali.sce | 2f589623a4ba693e51d36e987bbe9f3b3bb51bc8 | [] | no_license | dikisp/Kuliah-MetNum | 3bd01f0573f2a18eb320a716da841ca3ec69930b | 7775f5e0251457702fb3e24c88483df0ff37fee7 | refs/heads/master | 2020-03-23T06:41:49.307866 | 2018-07-17T03:13:25 | 2018-07-17T03:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | kali.sce | function total = hitung(atas)
jum = 0;
i=1;
while i < atas
if i modulo 5 = 0 then
jum = jum + i;
end
i=i+1;
end
total = jum;
endfunction
|
cd9910c3be89fba2e76def203cd9526f33b88908 | 52f5a79ebadf29e2886413996e4ae855b9ed3a00 | /vuejs/nginx.tst | b8074899ca97978dd1ca7dee0a6c0562a452bf7f | [] | no_license | fernandotugu/estudos | 97bb20c66966f8d6c6657a3f6fcab17bfe86c1eb | e73d25e7e76aa77de59130fdd95a394ab7baeb7f | refs/heads/master | 2023-01-06T22:59:07.256808 | 2020-01-15T19:54:03 | 2020-01-15T19:54:03 | 199,859,219 | 0 | 0 | null | 2023-01-05T03:11:47 | 2019-07-31T13:13:53 | Vue | UTF-8 | Scilab | false | false | 33 | tst | nginx.tst | rewrite ^(.+)$ /index.html last;
|
779483f460971ed1549ab9ed2ee84a8bbbe5587f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH1/EX1.7/Ex1_7.sce | 15c2808b8cee84d81b407152fbba585926fce317 | [] | 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 | 146 | sce | Ex1_7.sce |
//calculate the current I1.I2
I=12
R1=6
R2=8
I1=I*R2/(R1+R2)
I2=I*R1/(R1+R2)
disp('I1='+string(I1)+'amps' , 'I2 ='+string(I2)+'amps')
|
4d147bf258ccd53ee18730d0203751a188efc476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.2/15_2.sce | 982b0809c2666c9281e9e973798487971c98b431 | [] | 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 | 187 | sce | 15_2.sce | clc
//initialisation of variables
Ksp= 2*10^-12
M= 8.84*10^-5 //molar
n= 2
//CALCULATIONS
r= (Ksp/(n^2*M^3))^(1/3)
//RESULTS
printf ('mean ionic activity coefficient = %.1f ',r)
|
cd7a559a859b3f82f892d8d6944f450886af773d | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH4/EX4.10/eg_4_10.sce | dd61d9c745d43146f07cff45594b16a748de42c5 | [] | 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 | 44 | sce | eg_4_10.sce | clc;
k=[1 1 0 1;
0 1 1 1];
karmap3(k); |
c915313f02e3d483f4e1b0a100f39ec608a70dd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.4/12_4.sce | dcb5d38f3b5b2f5a16f72b7f4f1dc827d06cd68e | [] | 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,333 | sce | 12_4.sce | //To find angle and maximum velocity
clc
//Given:
phi=20 //degrees
t=20, G=2
m=5 //mm
v=1.2 //m/s
addendum=1*m //mm
//Solution:
//Angle turned through by pinion when one pair of teeth is in mesh:
//Calculating the pitch circle radius of pinion
r=m*t/2 //mm
//Calculating the pitch circle radius of wheel
R=m... |
c7d5e1b11d16111f5ccc9eae332593e58df606a0 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/unite.tst | a6bd7f597d4302d7a2c5ee45149ae5348e8d390c | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 87 | tst | unite.tst | ## Test of the unite feature
read <bzr.fi
read <testrepo.fi
unite bzr testrepo
write -
|
d8501d3da21d2edebbe3ccb6e672e1bde4e81c64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH2/EX2.4/2_4.sce | 11507153ecdcc741514358622966a93931b16cb9 | [] | 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 | 384 | sce | 2_4.sce | clc
//initialisation of variables
R= 0.08205 //l-atm deg^-1 mole^-1
T= 25 //K
n= 1 //mole
V= 0.5 //lit
b= 0.04267 //lit mole^-1
a= 3.592 //lit^2 atm mol^-2
//CALCULATIONS
P= R*(273.15+T)/V
P1= (R*(273.15+T)/(V-b))-(a/V^2)
//RESULTS
printf ('pressure calculated using ideal gas law= %.1f atm',P)
printf ('\n... |
ab252830cbc5d370569871cec8db2ad49f851afd | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_vrt_col/~BivLCM-SR-bfas_ee_vrt_col-PLin-VLin.tst | 0f937ae3b66aa6ae4ebb1a46412ef38334976caf | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ee_vrt_col-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.392222D+00
... |
548149944eccc0edf3da06b2d84bd17988896204 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH3/EX3.7/3_7.sce | a2fed319d75df42539100422fc9cc023cb2e9f1f | [] | 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 | 169 | sce | 3_7.sce | clc
//initialisation of variables
p= 800 //atm
P= 10000 //psi
x= 14.696 //psi/atm
//CALCULATIONS
P1= p*x
//RESULTS
if (P1>P) then
disp("Salesman is honest")
|
6f1f269ab6930d42f5c7dc85c1b3619cef65e5a7 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-usage-004.tst | 9ffec089678e3fa05e374f8002b5346834e35c26 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 76 | tst | test-usage-004.tst | FLAGS='--list --print NONE'
STDIN=''
STDOUT=''
STDERR='!USAGE!'
EXITVAL='1'
|
0f2a187d2a9f09bac353793c75290f75f0f503cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.10/exp_.sce | 19007ba9427848dbb20f0337d3c46f934bce155d | [] | 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 | 498 | sce | exp_.sce | clear;
clc;
v=400;
Xl=.30;
Xc=3.75*10^(-6);
l=300;
L=Xl/(2*%pi*50);
C=Xc/(2*%pi*50);
Zc=sqrt(L/C);
mprintf(" surge impedence is %.3f ohm\n",Zc);
phase=2*%pi*50*sqrt(L*C);
pconstant=%i*phase;
mprintf("propagation constant is %.4f\n",imag(pconstant));
A=cos(phase*l);
D=A;
B=%i*Zc*sin(phase*l);
C=(%i*sin(p... |
b69e3570de64690b65a22350e8754c8727688dee | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm3.sci | 7605a198dffad2d73b53372149d3296f33f44f10 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sci | pgm3.sci |
x = 0:5:35;
y = [0 20 43 59 89 124 154 200];
h = 5;
x = 25/h + 1
velocityAt25seconds = (y(x + 1) - y(x - 1)) /(2* h) ;
accelerationAt25seconds = (y(x + 1) - (2 * y(x)) + y(x - 1))/(h^2)
x = 1;
velocityAt0seconds = (y(x + 1) - y(x)) /(h) ;
|
0bf60dec2516a2d95f940483df98da595d21a4bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH12/EX12.02/12_02.sce | 9410fab061a6397f3d0b82479a016a87e44fc014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | 12_02.sce | //Mass flow//
pathname=get_absolute_file_path('12.02.sce')
filename=pathname+filesep()+'12.02-data.sci'
exec(filename)
//Checking for chocking:
c=pb/p0;
if(c<=0.528)
//choked
else
//Not choked
//Therefore pressure at exit = back pressure
pe=pb;
//Mach number at exit:
Me=(((p0/pe)^((k-1)/k)-1)*(... |
e99445f1ec1a63a39ef592e52964d71feecac539 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_hrz_ind/~BivLCM-SR-bfi_c_hrz_ind-PLin-VLin.tst | 4e242d8614aa5e9d045e54a52c92770acdf58cd6 | [] | 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_c_hrz_ind-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.303401D+00
... |
f04d4011d8b352d62bdad975056ba60d11822d92 | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /QuadraticDistortion.sce | f522a758d1fac298902cfb8bc35d973ac9cd488a | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 445 | sce | QuadraticDistortion.sce | clear;
clf;
dt = 1/10000;
//Generating a sine wave and then passing it through a quadratic function
t = -0.01:dt:0.01;
x = sin(200.*(%pi).*t);
a = 3;
b = 5;
y = a.*x + b.*x.*x;
subplot(2,1,1);
plot(t,x);
xgrid(1);
xlabel("T", "fontsize", 3);
ylabel("X", "fontsize", 3);
title("Sine wave: x", "fontsize", 3);
subplot... |
177dbc61e9383260660a81fcda9f4b6ce335934c | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/soal_06.sce | d99a4750d258847ab27d4567ea1280f56c49c0ab | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | soal_06.sce | function f = soal_06(z)
epsilon0 = 0.885e-12
F = 0.3
Q = 9.4e-6
q = 2.4e-5
R = 0.1
c = 1 - z/sqrt(z^2 + R^2)
f = Q*q*c/(2*epsilon0) - F
endfunction
function F = eval_F(z)
epsilon0 = 0.885e-12
Q = 9.4e-6
q = 2.4e-5
R = 0.1
c = 1 - z/sqrt(z^2 + R^2)
F = Q*q*c/(2*epsilon0)
endfunction
function ... |
df34d23364f8d9e643428989ba65ecad3cb2e355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH3/EX3.4/ex_3_4.sce | c66ba9c3bbafc6efff38490d6f39460422f5d81f | [] | 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 | 176 | sce | ex_3_4.sce | //Ex 3.4
clc;
clear;
close;
format('v',5);
SR=0.5;//V/micro second
Vm=10;//V
f=100;//kHz
fm=(SR/10^-6)/(2*%pi*Vm);//Hz
disp(fm/1000,"Maximum frequency, fm is(kHz)");
|
035e8c4b97f999b75606acfe9f1078ab9e55cea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH11/EX11.8/Ex11_8.sce | 83a5fa265e78e83fdc8b2c20ef56225536cf9f8a | [] | 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 | 143 | sce | Ex11_8.sce | clc;
close();
clear();
//page no 379
//prob no. 11.8
B=400*64; //Mb/s
mprintf('Memory bus bandwidth = %i Mb/s or %i MB/s',B,B/8);
|
e7a4bd23df9edf565cd77e3179d52f47c0f5eb13 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/prepad.sci | fdf3146e564f20594bf09fba6d72318ed6104d71 | [] | 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 | 762 | sci | prepad.sci | // Copyright (C) 2018 - 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_... |
e597b86aca9238732f1a326dbe03de3b13ef5d1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH24/EX24.8/24_8.sce | f8298daabc8a740e5bbdcf13495ca4703fbde9a1 | [] | 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,261 | sce | 24_8.sce | clear//
//Variables
VCC = -18.0 //Source voltage (in volts)
RC = 4.3 //Collector resistance (in kilo-ohm)
RE = 1.0 //Emitter resistance (in kilo-ohm)
beta = 200.0 //Common emitter current gain
VBE = -0... |
8b78a94c913b4d1ffcfa8bca3631968a78594852 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH12/EX12.9/12_9.sce | b5e241fb06947adbb31e6e27b3414d3dcdf8b984 | [] | 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 | 326 | sce | 12_9.sce | //example 12.9
clc; funcprot(0);
// Initialization of Variable
k1=0.88;//p2/poy;
k2=0.628;//poy/pox
pox=100;//pressure
R=1545;
T2=494;
k=1.4;
M2=0.24;
A=2.4;
V2=M2*sqroot(k*R/28.97*T2*32.2);
mdot=95.9*A*V2/T2/R*28.97;
disp(mdot,"mass flow rate in lb/s");
p2=k1*k2*pox;
disp(p2,"pressure in lbf/in^2")
cle... |
31dd39f06534b649ea80ac721af4dd4e8c4392cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.22/exa_1_22.sce | 92af74a44d46cc37c31d0bea562777a1d45093f7 | [] | 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 | 236 | sce | exa_1_22.sce | // Exa 1.22
clc;
clear;
close;
// Given data
miu_p= 0.05;// in m^2/v-sec
rho=5*10^28/10^8;// in /m^3
q= 1.6*10^-19;// in C
sigma= q*rho*miu_p;// in (Ωm)^-1
disp(sigma,"The conductivity of silicon material in (Ωm)^-1 is : ")
|
d2c0870a358055c980c037b4589a2ec8e93aa5bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH10/EX10.3/exa10_3.sce | c301f60149a64162b89fe89caedbbb84ec9b7b30 | [] | 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 | 337 | sce | exa10_3.sce | clc;
//Example 10.3
//Page No 400
disp("Given: For figure, Analog sample voltage of +1.07 V. ;");
//solution
a=1.07/1
disp(round(a));
disp("The quantization error is the difference between the original sample voltage and the quantized level, or");
q=1.07-1;
disp(q,"Qe = ");
disp("From Table 10-2, the PCM code... |
2237accfc247f7db336f2e574dd31d2511b6f6bf | bc0a6b4d5e326bd35c72bec024b555ed91a1c543 | /circle1.sce | 030f9e043ebebead838fdeeeb59a969cddd80275 | [] | no_license | askmrsinh/SEM1_AM | 0c9e7b4a51caa1321d1203cf9060e454b685e0ee | 31da57ba40d0741b370dd3c789a1dfec5c99bdea | refs/heads/master | 2021-09-28T03:09:18.743057 | 2016-08-18T15:01:52 | 2016-08-18T15:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | circle1.sce | a=1
theta=0:%pi/64:2*%pi;
r=a*(1-cos(theta))
polarplot(theta,r)
r=a*sin(theta)
polarplot(theta,r)
|
5535d5f800e17140ca2fcb7c539147438c28c9ee | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/scilab-examples/root/findrt.sce | 9e5540e963580891c527bf377e5166f476f2cf03 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | findrt.sce | // here is an example use of the while statement
// which is used for finding the root of a polynomial
// which is known to lie within a certain interval.
// a is the lower value of the range
// b is the upper value of the range
a= 0; fa = -%inf;
b =3 ; fb = %inf ;
while abs(b-a) > %eps*b
x = ( a + b ) ... |
04d5c799ec74cf3e29718bae5dedea9997f9068b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH6/EX6.4/Ex6_4.sce | b7aa3c0f847d4af626b3c8e831e0c204beee81e5 | [] | 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 | 547 | sce | Ex6_4.sce | //Ex 6.4
clc;clear;close;
format('v',5);
Range=0:10;//range
//(i)2-bit DAC
n=2;//no. of bits
step=max(Range)/2^n;//V
reading='10';//input in binary
Vo=step*bin2dec(reading);//V
disp(Vo,"(i) Output Voltage(V)");
//(ii)4-bit DAC
n=4;//no. of bits
step=max(Range)/2^n;//V
reading='0110';//input in binary
Vo=s... |
a6e23388ee52d875089b7aa60b63ff7d66392520 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.39/EX20_39.sce | 52e3d2082ff170c6c90edacca2903f1dc0133447 | [] | 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,620 | sce | EX20_39.sce | clc;funcprot(0);//EXAMPLE 20.39
// Initialisation of Variables
N=10000;.................//Compressor rpm
v=660;............//Volume of air delivered in m^3/min
p1=1;.................//Inlet pressure in bar
t1=293;.............//Inlet temperature in K
rp=4;.............//Pressure ratio
etaisen=0.82;........//Isen... |
83f56397345b9b6970261696e71d825d16e87d0d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.52/Ex1_52.sce | d2da333ada409ce96cd5c550f28fcc377d9c9542 | [] | 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 | 281 | sce | Ex1_52.sce | errcatch(-1,"stop");mode(2);//Example 1_52
;
;
//To find diameter of 25th ring
dm=0.62 //units in cm
ds=0.3 //units in cm
d25=2*(dm^2-ds^2)+ds^2 //units in cm^2
d25=sqrt(d25) //units in cm
printf("Diameter of 25th ring is %.3f cm",d25)
exit();
|
3c7bb2ef4a6ca365813f9d6ccdff169ed046748e | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH5/EX5.18/Ex5_18.sce | f30142324a0f25d4e70dafc6d39d5364190c2213 | [] | 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 | 370 | sce | Ex5_18.sce | //Variable Declaration
x = [0.1 0.4 0.1 ; 0.2 0.2 0]
//Calculation
p1 = x(2,1)/sum(x(2,1:3)) // for x1=0 & x2=1
p2 = x(2,2)/sum(x(2,1:3)) // for x1=1 & x2=1
p3 = x(2,3)/sum(x(2,1:3)) // for x1=2 & x2=1
// Result
printf ( "P(0|1): %.2f , P(1|1): %.2f , P(2|1) : %.2f",p1,p2,p3)
printf ( "As P(0|1) is not equal... |
866a7b6199d2f628d972cbb3c3b0df60e8ad51a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.11/Ex10_11.sce | 808162e854c34e848b90892c78a6b08b99e74b30 | [] | 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 | 337 | sce | Ex10_11.sce | clear
//
//
//
//Variable declaration
epsilon0=8.854*10^-12; //relative permeability(F/m)
alphae=10^-40; //dielectric polarizability(Fm^2)
N=3*10^28; //number of atoms
//Calculations
epsilonr=1+(N*alphae/epsilon0); //dielectric constant
//Result
printf("\n dielectric constant is... |
3a4c0fe081c97bfae1dd45395013d0d31e3124d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH12/EX12.6/Ch12Exa6.sci | 8fe539acca9615f6ca81640aa6cb1b8372abfab8 | [] | 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 | 310 | sci | Ch12Exa6.sci |
Thalf1= 2.5*(10^5); //half-life of U-234, y
AtomicRatio= 1.8*(10^4); //atomic ratio of u-238 and U-234 in the sample
Thalf2= AtomicRatio*Thalf1; //using Eqn12.9
disp(Thalf2,"The half-life of Uranium-238, in years, is: ")
//Result
// The half-life of Uranium-238, in years, is:
// 4.500D+09 |
43eb1b13e3ff40fcdb1a715686ef5a83b5e974ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.16/5_16.sce | 8d58607cea490b33a4c1bf441fab142c17bd9a30 | [] | 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 | 5_16.sce | clear all; clc;
disp("Ex 5_16")
disp("Free body diagram is as shown in fig 5-30b")
//Initilization of variables
F=[0,0,-200] //matrix notation
//Calculations
//Applying summation of forces along all axes and equating them to zero
//Applying moment about point X,Y,Z and equating it to zero
//We get six equations an... |
0ac2228d58c54adda4a5b5fc8256ff882ac82bd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH10/EX10.7/10_7.sce | e7f68336a31dd4e63e5a8f93220263b013788b50 | [] | 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 | 485 | sce | 10_7.sce | //chapter 10
//example 10.7
//page 303
clear all;
clc ;
//given
R1=1 ;
R2=3.9;//in Mohm
Rl=56;
Rs=2.2;
Rd=6.8;//in kohm
gm=4.5;//mA/V
rd=100;//kohm
vi=50;//mV
rs=200;//ohm
Rp=1/gm;//in kohm
Zi=1000*(Rs*Rp)/(Rs+Rp);
Zo=Rd*rd/(Rd+rd);
Av=gm*(Rd*Rl)/(Rd+Rl);
vo=Av*vi*Zi/(rs+Zi);
printf('\nInput Impe... |
07942cdaf55e6b2e0af4881e17f92d3bb4e1b335 | 95a097a2fe8699932e1301c6d095bc4127c62da8 | /00/And.tst | fdbbbc980ccd0b936e6919b9c2d16df30b6181b0 | [] | no_license | itzhak-razi/From-Nand-to-Tetris | f508703b6cdb7a4841b2fae6849382c80a731c3f | 4b11c4fe802dbea1c863b03ca71fd5891e39e45b | refs/heads/master | 2021-06-01T11:09:02.084364 | 2012-11-23T01:12:45 | 2012-11-23T01:12:45 | 7,025,062 | 36 | 38 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | tst | And.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.nand2tetris.org
// File name: projects/00/And.tst
load And.hdl,
output-file And.out,
compare-to And.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0,... |
e6a2da88c2bdbd642bd523794e61418776d8361b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.23/Ex2_23.sce | e3bb15dd96c1cfdc4f0c810caf71f56d06df6d5a | [] | 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 | Ex2_23.sce | //Force P required to hold the system
//Refer to fig. 2.28 (a),(b)&(c)
//Applying Lami's Theorem at A we get
C=4000*sind(180-60)/sind(60+90-15) //N
//Applying equilibrium conditions B
P=(-2000*cosd(45)+C*cosd(60))/cosd(15) //N
printf("P=%.1f N is required to hold the system in given position.",P)
... |
680f071f8c9fadebb7905f1cde6f223d6879bd3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.15/4_15.sce | 95d4e7bd4134f5df4d895f4ffa6bc88555ab492e | [] | 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 | 512 | sce | 4_15.sce | //pathname=get_absolute_file_path('4.15.sce')
//filename=pathname+filesep()+'4.15-data.sci'
//exec(filename)
//Maximum temperature(in K):
T1=500+273
//Minimum temperature(in K):
T2=200+273
//Temperature of the body(in K):
T3=450+273
//Efficiency:
n=1-T2/T1
//Ratio of W to Q1:
r1=n
//COP of pump:
COP=T3/(T... |
c6de70cc975d29c57019c592decb83a98b9e70a0 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/07/MemoryAccess/BasicTest/BasicTestVME.tst | 34dafeb536ce3a56b4ade37f8714463a16694b3e | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | tst | BasicTestVME.tst | // File name: projects/07/MemoryAccess/BasicTest/BasicTestVME.tst
load BasicTest.vm,
output-file BasicTest.out,
compare-to BasicTest.cmp,
output-list RAM[256]%D1.6.1 RAM[300]%D1.6.1 RAM[401]%D1.6.1
RAM[402]%D1.6.1 RAM[3006]%D1.6.1 RAM[3012]%D1.6.1
RAM[3015]%D1.6.1 RAM[11]%D1.6.1;
set ... |
943e74d15f6b44d39e387467517915ffdd8bcb2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.22/Ex1_22.sce | 262a7da83cdc0d143001fbafe49009967dc48071 | [] | 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 | 222 | sce | Ex1_22.sce | clear
//
//applying kcl to circuit at node b i3+i4=6-4=2
vb=8
vba=2 //voltage drop across nodes b and a
va=6 //potential of node a w.r.t note c
i2=3
//applying kcl to node a
isa=1
vs=va+2*isa
printf("\n vse= %0.1f V",vs)
|
239a0f49450647733e635d1a38a42b48780a266c | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH12/EX12.1/Example12_1.sce | bd0440c78ffe0c3182bcedfc31100bb8452ab849 | [] | 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 | 358 | sce | Example12_1.sce | //Example 12.1
//Program to Calculate the Gain of a Negative Feedback Amplifier with
//Given Specifications
clear;
clc ;
close ;
//Given Circuit Data
A=100; //Internal Gain
B=1/10; //Feedback Factor
//Calculation
Af=A/(1+A*B);
//Displaying The Results in Command Window
printf("\n\t The Value of the Gain of ... |
97af8a7c99ba14eab74508156f4e86015e24ed29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.5/example3_5.sce | e94453b4376c81271ca29fc3eb55f40b66fae08c | [] | 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 | 605 | sce | example3_5.sce |
//example 3.5
//calculate Field Capacity
clc;
//Given
d=2; //root zone depth
Wc=0.05; //existing water content
gammad=15; //dry density of soil
gammaw=9.81; //unit weigth of water
Vw=500 //water applied to the soil
Wl=0.1; //water loss
A=1000; //area of p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.