blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98716bc4213a11a69ca7315edde6ffc4baf029d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.27/Example14_27.sce | 9beee3d5dc815a9923ec2a3868b6fab5584526e8 | [] | 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,278 | sce | Example14_27.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-27
clear; clc; close; // Clear the work space and console.
// Given data
// From diagram in fig.14-23a
P_L = 14400 ; // Load output power in W
V_L = 120 ; // Load ... |
ef642c242690c0940211b87072967c3670976c41 | 79a9b8e61be2b6f6982c748002a7eb60ebe61e94 | /scilabCode/berbask.sci | 10d3aaafa98998b8fed900c0f04802c4ad323ebc | [] | no_license | kavyamanohar/DSPlab | 2537afda78992bf9fc2e60d93ef95849c40c23e9 | eca8a02bbac243a61db8db89f3e05ea2e6485c39 | refs/heads/master | 2021-01-21T13:53:00.373606 | 2016-06-05T08:27:51 | 2016-06-05T08:27:51 | 54,376,427 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,891 | sci | berbask.sci | //sin wave
clc;
fm=5;
t=linspace(0,1,500);
sgl=0.2*sin(2*%pi*fm*t);
//msg sig
msg=[];
for i=1:500
if sgl(i)>0 then
msg=[msg 1];
else
msg=[msg 0];
end
end
subplot(3,1,1)
plot(t,msg);
title('msg signal');
xlabel('time');
ylabel('amplitube');
//carrier sig
fc=30;
... |
59128c94514ac143bd57b580bdd8b995f74edd98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.4/EXAMPLE11_4.sce | 3c1b451aeb9b022258758ee69c93879c89964634 | [] | 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 | 736 | sce | EXAMPLE11_4.sce | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.4(PAGENO 489)");
//given
Px_1 = 1/4//probability wrt to binary PCM '0'
Px_2 = 3/4//probability wrt to binary PCM '1'
//calculations
Ix_1 = log2(1/Px_1)//amount of information of zer... |
4a25b9d7c38ebc4ec33cc157f0b4f8d0015c05fa | ab89c2161afc0845367b8e25f534e4f99bd36759 | /LAB4/ex5.sce | 8021e918194c2e645f43e5e7d9b0401b1897ef47 | [] | no_license | PhiTruongCE/Digital_Signal_Processing | 22446ebfa65765d1dfcd2c420e05c83dc861ec15 | bacaf762f31a333a641ac48f6b5cc18f120c65be | refs/heads/main | 2023-06-04T03:38:36.140107 | 2021-06-17T04:04:49 | 2021-06-17T04:04:49 | 377,699,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,072 | sce | ex5.sce | clc;
clf;
clear all;
function [yn, yorigin]=multi(x1n, x1origin,x2n, x2origin);
n=(-x1origin):(size(x1n,2)-x1origin-1);
n2=(-x2origin):(size(x2n,2)-x2origin-1);
if(x1origin>=x2origin) then
x1=[x1n,zeros(1,x1origin-x2origin)];
x2=[zeros(1,x1origin-x2origin),x2n];
yn=x1.*x... |
c170339723d4189607ae591f68b0f9b49baf5fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH5/EX5.3/Exa5_3.sci | 18431d330e2ba85b42eb98084ffbf85f70fe76f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | Exa5_3.sci | //Determine bandwidth requirement for an FM signal
del = 10;
fm = 2;
fms = 8;
mf = del/fm;
bw = fm*fms*2;
disp(bw, 'Bandwidth requirement for an FM signal (in Khz) '); |
b17b1e74c939819962a0885571e998cd39654de8 | 935d5880888b1ef01c8dddaf85af2be07d7940e2 | /AdaptiveSwarmRobotsSimulation-ASRS/stages/Stage3.sce | 53f7595b846a18eab57d7f4545b21224c296df74 | [] | no_license | google-code/asrs | c3b35545bce8ae38c8184de002e93e18a67461ee | c9a828a4eb2fbf076116f3c51c44da45a60f9feb | refs/heads/master | 2016-08-05T13:33:11.103066 | 2015-03-15T15:18:57 | 2015-03-15T15:18:57 | 32,267,209 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Stage3.sce | ___________
| |
| |
| |____ |
| |
| |
| ____ |
| | |
| | __ |
| |
| |
|___________|
|
60c79b88f6a3fa82fa7350c07f8214a955034ab6 | 2f14b5754bf00d8f425d930813ec9fbb37443f20 | /RPS.sce | 8bc8d97fd80f3dcd4d8b905397cc4181128eb78f | [] | no_license | sohamkan/Sci-projects | 9f14b01e4937ccf3cf59732fc19d495d566bfaae | 5baf7456498ba0075760095655826b7ddcae471e | refs/heads/master | 2022-11-22T04:03:53.155413 | 2020-07-12T04:31:34 | 2020-07-12T04:31:34 | 278,990,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | RPS.sce | clc
R=('Rock')
P=('Paper')
S=('Sizzors')
input hand = ('Select your hand')
if hand == R then
print('you win')
else
print('You lose')
end
|
a742588d41a0ed0920bbbcdceea5bb66670216bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.7.b/solution7_7.sce | 7152777eda4b0d18731886595ae61497db1cb616 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | solution7_7.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution7_7.sce')
//Obtain path of data file
datapath = path + filesep() + 'data7_7.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the tensile force induced in appropriate bolt P1 (N)
if ((l1 > l2) & (l1 > l3)) then
P... |
56a63c6ffa71abe9ef85de028685a5a5c57e4e46 | 8f9c1cb8cf99eeb567d6016def4e3d438bd0265e | /fobj.sce | 4b79c89e9c31316cbec5354088d08de575fb14ac | [] | no_license | lizandrosousa/control | 39a8db51408c090dae45419e8555ce72fbd6d282 | 3578d6932190e21aa813e7a7adbd569eb34fc1ed | refs/heads/master | 2021-05-12T17:35:02.924238 | 2018-01-11T04:41:16 | 2018-01-11T04:41:16 | 117,049,441 | 0 | 0 | null | 2018-01-11T04:41:16 | 2018-01-11T04:20:27 | Scilab | UTF-8 | Scilab | false | false | 6,909 | sce | fobj.sce | // Universidade Federal Fluminense
// Departamento de Engenharia Química e de Petróleo
// Codigo para solução do modelo de`Produção Gas Lift
// Prof. Lizando Santos
// Fontes: Alessandro Jacoud Peixoto Diego Pereira-DiasArthur F. S. Xaud Argimiro Resende Secchi
// Modelling and Extremum Seeking Contr... |
9211dda2da40aa1fea1637a36c430834f2b43dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.8/Chapter4_Example8.sce | d57cbf24877f58c2d4f60a542193d8a2fd3f4b3e | [] | 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,036 | sce | Chapter4_Example8.sce | //Chapter-4, Illustration 8, Page 171
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
P1=3.5;//Dry saturated steam in bar
P2=1.1;//Exit pressure in bar
At=4.4;//Throat area in cm^2
h1=2731.6;//Enthalpy at P1 in k... |
48fa4eec02cb68b956f7634c16f0b96c3d4fc8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.14/Chapter7_Exampl14.sce | 5cbd58a7b6150aaf1b36881aceb10a0348caebf9 | [] | 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 | Chapter7_Exampl14.sce | clc
clear
//INPUT DATA
t1=15;//dry bulb temperature in Degree C
t3=41;//heating coil temperature in Degree C
t11=11;//wet bulb temperature in Degree C
p=760;//pressure in mm of Hg
x=0.4;//realtive humidity in percentage
pva=9.83;//Saturation pressure in mm Hg
ps2=33.68;//Saturation pressure in mm Hg
cp=1.005;... |
5e83f63f16bf7ea640ba9f3a84a0ea48f18b2227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH8/EX8.4.b/ex_8_4_b.sce | 18c9d8600f996957e1058d5c196f9c0c1e0b1db9 | [] | 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 | 719 | sce | ex_8_4_b.sce | //example 8.4(a)//
clc
//clears the screen//
clear
//clears the variables//
disp('In this case of flip flop, J and K are initially 0 & 1 respectively. Thus J is active. With the first leading edge of clock input, Q and therefore J goes to logic 1 state. The second leading edge edge forces Q to go to logic 0 state ... |
3e558092b053df9aedfcac6e7e1ab90ee7dd7643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH13/EX13.2/Ex13_2.sce | 596d64ff47d8e4074f5371be4cb7a1773033cd12 | [] | 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 | 333 | sce | Ex13_2.sce | // Calculation of required quantity of magnesium
clc
j = 15 // current density in mA m^-2
m = 0.0243 // molar mass of magnesium
F = 96490 // farad charge
n = 2 // charge on ion
t = 10 // time in years
printf("\n Example 13.2")
a = m*j*1e-3*(t*365*24*3600)/(n*F)
printf("\n Amount of magnesium required is %0.1f ... |
637febbeb76fc9b7900b5d04d8ec7a36c0ea5350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH3/EX3.7/Ex3_7.sce | b60011599681c3e97405b8124cfff8b1d3fab56c | [] | 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 | 851 | sce | Ex3_7.sce | // Example 3_7
clc;funcprot(0);
// Given data
T_1=240;// °F
T_2=80;// °F
p_1=150;// psia
p_2=14.7;// psia
c_p=0.240;// Btu/lbm · R
c_v=0.172;// Btu/lbm · R
// Solution
// (a)
deltau=c_v*((T_2+459.67)-(T_1+459.67));// Btu/lbm
deltah=c_p*(T_2-T_1);// Btu/lbm
printf('\n(a)The change in specific internal ene... |
140604d61fd4055c2fb43c1bc0e9814fbaa093a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH4/EX4.3/Ex4_3.sce | f58b04436ab92cd2a86976d6d6bd22e3cc6fd52a | [] | 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 | 294 | sce | Ex4_3.sce | //Chapter 4
//page no 114
//given
clc;
R1=0.7;
R2=0.99;
ad=0.1;
//compute Ld
Ld=1-R1*R2*%e^-(2*ad);
printf("\n Decay Loss %0.4f \n",Ld);
trt=40;//fs
tph=trt/Ld;
printf("\n Photon lifetime %0.2f fs\n",tph);
BW=1/tph;
printf("\n Bandwidth %0.1f Thz\n",BW*1000);//Answer in Thz
|
3a6599bc9eb3c94ba0a78a09970f430c7ff3525a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH6/EX6.4/Ex6_4.sce | 0d7dc32976fa60e2990c39e1f2b44c7d60566fe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Ex6_4.sce | // Initilization of variables
W1=50 // N // weight of the first block
W2=50 // N // weight of the second block
mu_1=0.3 // coefficient of friction between the inclined plane and W1
mu_2=0.2 // coefficient of friction between the inclined plane and W2
// Calculations
// On adding eq'ns 1&3 and substuting the value... |
7f772672559f0c8e883005dcb474b2685d088a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH2/EX2.08/2_08.sce | 01173f014317a460cb9a53eacbbbaac76201879a | [] | 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 | 254 | sce | 2_08.sce | //Problem 2.08:
//initializing the variables:
tc = 0.0512 // in cal/m.s.°C
//calculation:
k = tc*0.3048*3600/(252*1.8) // in Btu/ft.h.°F
printf("\n\nResult\n\n")
printf("\n thermal conductivity in english units is %.3f Btu/ft.h.°F\n",k)
|
eb6a52d2de2966b332bf789225fb457c4bd2536f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH12/EX12.5/Ex12_5.sce | 4035f5170d8cb1147e1a5e59331a2c5f8f78a96d | [] | 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 | Ex12_5.sce | //Example number 12.5, Page number 265
clc;clear;
close;
//Variable declaration
n1=1.53; //Core refractive index
n2=1.42; //Cladding refractive index
//Calculation
thetac=asin(n2/n1); //critical angle(radian)
thetac=thetac*180/%pi; //critical angle(degrees)
//Resul"
printf("critical angle is ... |
5687150cc3a3c86ea4933641215eb24dc311e344 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/DELAYV_f.sci | 3d04115fdab88c59988f62d919b80e7867fdce02 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,465 | sci | DELAYV_f.sci | function [x,y,typ]=DELAYV_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then //normal position
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=ar... |
b5a1b0f61b6ea0cf17a22b318c44a6a65e4a339c | f78a758dc17a311b355e12366d1315f7a9c2b763 | /HYUNDAI KIA/ES96200-00 2016/7.1 Transient Immunity-Supply lines 3.tst | 440ae61d2cc5c5b1689dd0f2a75551bfb7bee402 | [] | 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 | 795 | tst | 7.1 Transient Immunity-Supply lines 3.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="2">
<Pulse>Pulse 2b</Pulse>
<Title>Pulse 2b</Title>
<Organization>HYUNDAI KIA</Organization>
<Standard>ES96200-00 2016</Standard>
<Item>7.1 Transient Immunity-Supply lines</Item>
<Coun... |
f43d929e6e23f9302f59f3e485ae925a707932e5 | 9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124 | /Parcial 2/DiazAgustin1.sce | a6b303a87b86f9d1533aae86276736ba38be81cc | [] | no_license | ignaciolitma/LCC-Metodos-Numericos | 8120eba09ea160e3252542373afc5ddad49a04c9 | e63728e5f15bb469dff205a74901a5b930e1271d | refs/heads/main | 2023-03-12T11:34:36.940908 | 2021-03-01T20:56:12 | 2021-03-01T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,644 | sce | DiazAgustin1.sce | // Dado un sitema de ecuaciones F y un punto inicial x,
// obtiene una solución aproximada al sistema F(v) = 0 con el método de newton multivariable
// con una tolerancia de epsilon y un máximo iter de iteraciones
function v = metodo_newton_multivariable(F, x, eps, iter)
for i = 1: iter
Jinv = inv(numderiva... |
0114f835040ab4c50e281b8ecf4c2d3e37e01316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.14/Ex15_14.sce | 69b4a7fbe21f7645fec55510d9d987b65b794b2b | [] | 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 | 467 | sce | Ex15_14.sce | //Finding resistance
//Example 15.14(pg. 400)
clc
clear
R1=0.12//old conductor resistance in ohm
d1=15//diameter of old conductor in cm
d2=0.4*d1//diameter of new conductor in cm
a1=%pi*(d1^2)/4//area of cross section of old conductor
a2=%pi*(d2^2)/4//area of cross section of new conductor
//R=rho*l/a=rho*V/a^... |
5722f7a70c0693a9e58c582f48aa4df8af8c7b9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH3/EX3.4/Example4.sce | 42c97942c29994e9b41ea03516d4f252ab057611 | [] | 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 | 609 | sce | Example4.sce | //Program for example 4 chapter 3
clear
clc
disp("Example 4:Display a message or the value of a variable using the command printf")
disp("********************************************************************")
disp("Answer : ")
disp('')
halt('Continue ...?? ')
if (getos()~='Linux') then
printf("\nTo display ... |
7f9bbbd43689c2b37e65b54c9242522c2af372f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH13/EX13.1/Ex13_1.sce | 687a7ddab3e1339b1915916d67b7dd0a03a494de | [] | 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 | 908 | sce | Ex13_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : AC Circuits
// Chapter 3: Magnetically Couple Circuits
// Example 13 - 1
clear; clc; close;
//
// Given data
Z1 = complex(4.0000,-1.0000);
Z2 = complex... |
39ec4c2bad1ab1423f0f985177e7c487ec187f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.20/Ex2_20.sce | 04564fedfd31472df55006e33fbd0d3562f38d99 | [] | 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 | 467 | sce | Ex2_20.sce | //problem 20 pagenumber 2.103
//given
v1=2;//volt
v2=3;//volt
v3=6;//volt
v4=8;//volt
rf1=50e3;//ohm
r1=40e3;//ohm
r2=25e3;//ohm
r3=10e3;//ohm
r4=20e3;//ohm
r5=30e3;//ohm
//determine output voltage
v0x=-(v1*rf1/r1)-(v2*rf1/r2);format(5);
req=r5*r4/(r5+r4);//combination of r4 and r5
re1=(r3*r5)/(r3+r5);//... |
cac610ebe52fc452db8b52bb0d9a614944e88247 | ee448e163bbdfa978366ef29a12478fef0cfeee3 | /taylor.sce | b593aff37fea1b5b68b98912c0f8775fd4a4a3f0 | [] | no_license | jerryleandro/ComputacaoNumerica | f3d14bd31e08424fa16dddf21e904e8ee012cd80 | 3e9da09f585c5ded586355b0974e63f3853014da | refs/heads/master | 2021-07-23T22:46:44.703735 | 2020-09-25T02:13:32 | 2020-09-25T02:13:32 | 217,126,491 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | taylor.sce | function t = taylor(x0 , x , n)
t = exp(x0)
for i = 2: n
t = t+exp(x0)*(x - x0)^(i-1)/factorial(i-1)
end
endfunction
t = taylor(-4.63,3.94,17)
|
8eca7c0a47d103259a11f88140b1018ca6de6770 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.17/exa_1_17.sce | b4a2100c103ae86941b43980f6ca94429240093f | [] | 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 | 365 | sce | exa_1_17.sce | // Exa 1.17
clc;
clear;
close;
// Given data
ni= 1.8*10^16;// in /m^3
q= 1.6*10^-19;// in C
em=0.14;// electron mobility in m^2/v-sec
hm=0.05;// hole mobility in m^2/v-sec
resistivity= 1.2;// in Ωm
n= 1/(q*em*resistivity);// in /m^3
disp(n,"The electron concenration in /m^3 is :")
p= ni^2/n;// in /m^3
disp... |
d98cc01df15f8099ef7fea82201025ad06213408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.27/EX3_27.sce | e8d4a46fb0f5df8cf35f99b844ffec0a1639c649 | [] | 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 | 759 | sce | EX3_27.sce | //Calculate efficiency of transformer //Chapter 3
//Example 3.27
//page 235
clear;
clc;
disp("Example 3.27")
kVA=40; //rating of the transformer
coreloss=450; //core-loss in watts
Culoss=800; //copper loss in watt
pf=0.8; //power factor of th... |
4eb77e9429865b2ae6135e8d4483cb605b7a6924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH11/EX11.5w/11_5w.sce | cff8c430483971845cb7ea846154579784f8ee58 | [] | 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,012 | sce | 11_5w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 11.5w
//calculation of the work done by an external agent
//given data
//E = (10 N/kg)(i + j).....given gravitational field
Ex=10//value of X-component of gravitational field(in N/kg)
Ey=10//value of Y-component of g... |
3f4065321c9792dfccf41d279e36cb8ecd2f9691 | 7a77a301987b89460fe3eddfbb6110d64a45e293 | /h.sci | 39991493209a69b313a915eda920657fad0ef3fc | [
"MIT"
] | permissive | UTEC-mateIII/TAP-1 | e73758b5401730365b9e14f8405234b94151f2b1 | d6c0c2d2e1e890864107d680a6e0d7547d271d6f | refs/heads/master | 2022-06-06T03:39:54.375274 | 2020-04-19T18:55:40 | 2020-04-19T18:57:51 | 256,275,251 | 0 | 4 | MIT | 2020-04-19T17:15:09 | 2020-04-16T16:50:29 | Scilab | UTF-8 | Scilab | false | false | 143 | sci | h.sci | exec('PMatrix.sci')
exec('Doolittle.sci')
P = PMatrix()
lu = Doolittle(P)
disp('Ejercicio h:')
disp("L:")
disp(lu.L)
disp("U:")
disp(lu.U)
|
f70271cb5fd5b7dfaa6bb65f39ef210e4b010b4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH9/EX9.3/Example9_3.sce | 978f199abb3ba7ba1c535c18e8cb600a573ca229 | [] | 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 | 175 | sce | Example9_3.sce | //clear//
//Example9.3:Lapalce Transform x(t) = 3exp(-2t)u(t)-2exp(-t)u(t)
syms t s;
y = laplace('3*%e^(-2*t)-2*%e^(-t)',t,s);
disp(y)
//Result
//(3/(s+2))-(2/(s+1))
|
e9ec38f91d1d728c33f8f58a246563f702e7cb0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.4/Examlpe_4.sce | 2a9fb99e142d0bee4347a2e8058d7007fd63ce8b | [] | 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 | Examlpe_4.sce | //Chapter-3,Example 4,Page 57
clc;
close;
m=234 // atomic mass of uranium
M_0 = 4 // initial mass of uranium
t_half= 2.48*10^5 // half life of uranium
t= 62000*365*24*3600 // time period
lamda=8.88*10^-14
M= M_0*exp(-lamda*t)
printf('Mass of uranium left unchanged is %.3f mg', M)
N= (M*6... |
60272e46e8f79f82df9b9170cabab1c300c8c299 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.37/2_37.sce | d9b77db21f86748e5d9711e6ce06ee1663401c6d | [] | 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 | 2_37.sce | //Network Theorem 1
//page no-2.39
//example2.37
disp("Applying KCL to node 1:");
disp("2*V1+17*V2 = 0");....//equation 1
disp("Applying KCL to node 2:");
disp("V1+6V2 = 0");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[2 17;1 6];
B=[0 0]'
X=inv(A)*B;
disp(X);
di... |
a5a363d6db2a46add512b9f5593e53dfdfee7dd3 | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP3/backward.sci | d4e88354f6f31b0fbf939ad2cad1c3a59f0673af | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sci | backward.sci | function[bet] = backward(sequence, transitionMatrix, emissionMatrix)
// Author: Benjamin Fradet
n = length(sequence);
numberStates = size(transitionMatrix, 1);
bet = zeros(n, numberStates);
// we start from state 1
bet(n, :) = [1, 1];
for i = n-1:-1:1
for j = 1:numberStates
... |
962e384d1e6e25c10be37ba628a553c8a2a565f1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/filtord/filtord10.sce | a05ddf0a132f9db178a20ce858e266d62271aeb2 | [] | 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 | 181 | sce | filtord10.sce | b=[1 2 3 2 3 4];
a=[1 2 3; 4 5 6];
y=filtord(b,a);
disp(y);
//output
//!--error 10000
//check input dimension
//at line 36 of function filtord called by :
//y=filtord(b,a);
|
fab474068a83d3cc8b275bcda688524b7e41a8c9 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/orm.tst | 1bcbddf6eb8784fd3875f409410d948abe09ae97 | [] | 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 | 12,654 | tst | orm.tst | nyaa nyaanee V;PL;1;PST
nyaa nyaachaa jiraa V;SG;1;PRS
nyaa nyaattee V;SG;2;PST
nyaa ni nyaadhaa V;SG;1;FUT
nyaa nyaachaa jiraa V;PL;1;PRS
nyaa nyaattee V;FEM;SG;3;PST
nyaa ni nyaattii V;FEM;SG;3;FUT
nyaa ni nyaattuu V;PL;2;FUT
nyaa nyaachaa jirtii V;FEM;SG;3;PRS
nyaa nyaachaa jirtaa V;SG;2;PRS
nyaa ni nyaatanii V;PL;3... |
16c4aa08cc776eae7634bc3a314946d78adf8ab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH4/EX4.8/EX4_8.sce | 9527a51114dfe33fc21ac912c36a6f19bbd7187a | [] | 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,305 | sce | EX4_8.sce | clc;funcprot(0);//EXAMPLE 4.8
// Initialisation of Variables
r=14;......................//Compression ratio
t1=87+273;....................//Temperature of the charge at the end of the stroke in Kelvin
p1=1;......................//Pressure of the charge at the end of the stroke in bar
hsupa=1700;...................... |
fc156f0ad90d80a218e726241359cbb6ab9cd36b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH7/EX7.8/7_8.sce | 61f81abc6517cf4501e8c12b10dc88af2cb6e2ab | [] | 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 | 265 | sce | 7_8.sce | clc
//Initialization of variables
p=50 //atm
pc= 73 //atm
t= 459.7+212 //R
tc=459.7+87.9 //R
R=0.73
M=44
v=0.193 //ft^3/lbm
//calculations
pr=p/pc
tr=t/tc
z=0.88 //from compressibility charts
p2= z*R*t/v/M
//results
printf("pressure = %.1f atm",p2)
|
c832ccdb234fc591dd57a8dec29f7baa9fa5f10a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.19/5_19.sce | cc00a9de93aac258a81e6d0bd31330206c8d3bbb | [] | 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 | 249 | sce | 5_19.sce | //ques-5.19
//Calculating pH of Calcium hydroxide
clc
M=0.005;//molarity of calcium hydroxide
c1=2*M;//content of hydroxide ion (in mol/L)
c2=10^-14/c1;//content of hydrogen ion (in mol/L)
p=-log10(c2);
printf("the pH required is %.0f.",p);
|
2a1269beb384ad0f76fc20c8c39ed44a0f111098 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/prbs/controller/scilabwrite.sce | 40ec54d50aafe044779e7161643619299ea4a96c | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 7,296 | sce | scilabwrite.sce | 0.10000E+00 0.00000E+00 0.10000E+03 0.10000E+01
0.10000E+01 0.10000E+03 0.50000E+02 0.10000E+01
0.20000E+01 0.10000E+03 0.50000E+02 0.20000E+01
0.30000E+01 0.10000E+03 0.50000E+02 0.30000E+01
0.40000E+01 0.10000E+03 0.50000E+02 0.40000E+01
0.50000E+01 0.10000E+03 0.50000E+02 0.50000E+01
0.60000E+01 0.10000E+03 0.50000E... |
ba7684f78d2fbc0aa5d68badf85cf67fc56c031c | e9d5f5cf984c905c31f197577d633705e835780a | /GED/nonlinear/scilab/nonlin_mandel98/compound_residuals.sci | c3d4b9782e6025a7febe56dac64c03d596444ab2 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,310 | sci | compound_residuals.sci | function y=compound_residuals(x, Ainput,Ncomp )
//******************************************************************************
// Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//**********************... |
94bbe41d8167801c7b0ea38911bf501ef3bcafbf | de14a6897d4397228a52bacb8905b8807370ef4b | /lena.sce | 5b7c0c2b43219243548423649c06e78238bda397 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | sce | lena.sce | //recuperation de l'image originale
n=512; funcprot(0);
l=read('/home/marlow/scilab/TD7/lena.csv',512,512); lena=l';
x=[1:512]; y=[512:-1:1]; xset('colormap',graycolormap(256));
//resolution du SVD
[U,S,V]=svd(lena);
sig=diag(S);
clf;
plot(sig,'o');
xlabel("k",'fontsize',4); ylabel("$$\\sigma_k'+'$$",'fontsize',4);
ep... |
ec7f78773e1b2c03f107bb6bb578b410201a378d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH11/EX11.1/11_1.sce | c7f27670bc30994f9ee6235504c5f0011cbd5303 | [] | 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 | 246 | sce | 11_1.sce | clc
//Initialization of variables
d=1.2 //m
w=1 //m
U=60*1000/3600 //m/s
nu=1.5e-5 //m^2/s
Cd=0.4
rho=1.22 //kg/m^3
//calculations
Rn=U*d/nu
A=d*w
Fd= Cd*0.5*rho*U^2 *A
M= 0.5*Fd
//results
printf("Bending moment = %.2f h^2 N m",M)
|
44fe1488bb0d3bee50d4ae1bc352899aa6bb841c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.3/Ex3_3.sce | c77016dad31f4c0314f556fc3dc2327cb833f110 | [] | 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 | Ex3_3.sce |
// Examle 3.3
// Given L1= 2L2
// From the Diagram Leq= 0.5+ (L1*L2)/(L1+L2)
// there for (L1*L2)/(L1+L2)= 0.2 ,( where Leq= 0.7)
// i.e (2*L2*L2)/3L2= 0.2;
/... |
a1e47503d2ffad1ad70b04c6319c747aed661750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.16/16_16.sce | 62c65b424bb2e8aea1f28aa44a5204733b203238 | [] | 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 | 191 | sce | 16_16.sce | clear;
clc;
Ro=600;R1=240;
R2=((Ro*Ro)-(4*R1*R1))/(4*R1);
d=acosh(1+(2*R1/R2));
printf("Value of shunt resistance = %d ohm\n",R2);
printf(" Attenuation = %f db",round(d*8.686*10)/10);
|
012026533bf9759a25d01590579cc3d301797270 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH21/EX21.1/Ex21_1.sce | 6ceed3ddcf629ff79dd57562560f6eba87edce91 | [] | 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,486 | sce | Ex21_1.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.1
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
nf=1.51;//refractive index of film
ns=1.50;//refractive index of substrate
nc=1.0;//refractive index of cover
d=4e-6;//thickness of film in m... |
b96e7601ebad8d6bc417598d894e10ad04383de5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH4/EX4.5/4_5.sce | 99808961b370a510d0ec61421f1a989b216594e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 4_5.sce | //To Compare the results the percent voltage drop ratio for different loading
//Page 204
clc;
clear;
//Voltage Drops in Percentage
VDlumped=5;
VDuniform=2.5;
VDincreasing=3.333;
//Ratio of the percent voltage drops
Rlu=VDlumped/VDuniform;
Rli=VDlumped/VDincreasing;
Riu=VDincreasing/VDuniform;
printf(... |
01fd3f8486ae513efe873e77170b3c577254aed5 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/solver/win2.tst | 7699554edb5606db2a548183bd4f4d51089aa7e7 | [] | 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 | 71 | tst | win2.tst | hguicoords
boardsize 4
playgame g4 a4 g7 f5 a1 d2 c3 d7 b5 c4 b4 b3
|
04f592104778d9feff54237fef0a6bb1d20eebec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH11/EX11.1/Ex11_1.sce | c10570883b11e8b5e0d49b027f1e8aa2bc69b348 | [] | 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,385 | sce | Ex11_1.sce |
clc
clear
//Input data
C=3.5//Capacity in litres
P=13.1//Indicated power in kW/m^3
N=3600//Speed in rpm
ve=82//Volumetric efficiency in percent
p1=1.013//Pressure in bar
T1=25+273//Temperature in K
rp=1.75//Pressure ratio
ie=70//Isentropic efficiency in percent
me=80//Mechanical efficiency in percent
g=1.4... |
6c963d399ba8f4da9291979393bf1370fe3d318f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.13/8_13.sce | 1d0c75d83f158356825efa4338b4c16080519c26 | [] | 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 | 834 | sce | 8_13.sce | //To calculate the conductivity, equilibrium hole concentration and position of Fermi level
ni = 1.5*10^16; ////intrinsic charge carriers per m^3
e = 1.6*10^-19;
mew_e = 0.135; //electron mobility, m^2/Vs
mew_h = 0.048; //hole mobility, m^2/Vs
sigma = ni*e*(mew_e+mew_h); //conductivity, ohm-1 m-... |
c0b1942cbe737f0243bd19e4ab08a68829095daf | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV2/vjezba2SZR.sce | 18e7c76d4c624f8951ea9468fee11a20a71f6026 | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 769 | sce | vjezba2SZR.sce | clc
mode(1)
//Zadatak za samostalni 2
scicv_Init()
img_gray = imread(getSampleImage("lena.jpg"), CV_LOAD_IMAGE_GRAYSCALE);
figure
matplot(img_gray);
title('Original');
img_mat=img_gray(:,:);
A=double(img_mat)
n = size(A,1);
[U,S,V] = svd(A);
k = 5;
figure
subplot(2,3,1)
Ak = U(:,1:k)*S(1:k,1:k)*V(:,1:k)';
matplot(Ak)... |
eb9c39747ba0a647b8b82007415932fd3cdeef2f | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2bpc/test_8.sce | e12fd6b19360bcd1dabda906643c944541c771b1 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | test_8.sce | // Test #8 : When output arguments are less than 5
exec('./zpklp2bpc.sci',-1);
[z,p,k]=zpklp2bpc(2.3*%i,[4.2,%i],3,0.3,[0.12,0.34]);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//k=-1.310438 - 0.3284784i
//p=0.4889351 + 0.4310543i
// 0.9980440 + 0.0625157i
//z=0.6269358 + 0.1312146i
//
//Matlab Output
//z=0... |
20cfa99ff79b2a1ef0e7972c5ca105f0c67f52f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH9/EX9.8.e/E9_8.sce | 2adf8867cba4234cf130dff19e4c9905bb2590b3 | [] | 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 | sce | E9_8.sce | clc
//Initialization of variables
E0=-0.11 //V
H=10^-7
//calculations
pH=-log10(H)
E=E0-29.59*pH*10^-3
//results
printf("Biological standard potential = %.2f V",E)
|
9434c65be2940a8b93ad8be92f7e50b3789ff24c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH8/EX8.13/Ex8_13.sce | 29735881bf9c6be4b9b11f72f9ca2c8d47023445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | Ex8_13.sce |
clear//
//Variable Declaration
e_x=800*10**-6 //Strain in x
e_y=200*10**-6 //Strain in y
y_xy=-600*10**-6 //Strain in xy
v=0.30 //Poissons Ratio
E=200 //Youngs Modulus in GPa
R_e=424.3*10**-6 //Strain
e_bar=500*10**-6 //Strain
//Calculations
//Part 1
R_sigma=10**-6*R_e*(E*10**9/(1+v)) //Stress in MPa
s... |
360e223802343094c6936517d22dc5d83c878000 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH2/EX2.2/Ex2_2.sce | ee39c6a71ecd1fcdadf413bee06933b98fbcd397 | [] | 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 | 296 | sce | Ex2_2.sce | //Variable declaration
sample1 = [0.27,0.35,0.37] // Copper content-1
sample2 = [0.23,0.15,0.25,0.24,0.30,0.33,0.26] // Copper content-2
Yvalue1 = [1,1,1]
Yvalue2 = [1,1,1,1,1,1,1]
//Results
plot(sample1,Yvalue1,"bo")
plot(sample2,Yvalue2,"ro")
title("Dot Diagram")
xlabel("$Copper Content$")
|
028700675e67f69844a6b4c040171690c02352a0 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /PDE/scilab/heat_1d_euler_exp.sce | 7b70beb0355a0f258b7ea84202a0b7736211f707 | [] | 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 | 1,102 | sce | heat_1d_euler_exp.sce | function [u,x,t] = heat_1d_euler_exp(a,xf,T,initialTemp,bx0,bxf,Nx,Nt)
// solve 1d heat equation using explicit Euler method
//
// a u_xx = u_t
//
// for: 0<=x<=xf, 0<=t<=T
//
// Initial condition: u(x,0) = it0(x)
//
// Boundary condition: u(0,t) = bx0(t), u(xf,t) = bxf(t)
//
// Nx = no. of subintervals along x-axis... |
af3bb98cf243092b2f4b2d74dbb589280e235229 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHe/enhe.9.tst | cd3d14be1828ef7c141c17df56aa76a4027e5164 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,689 | tst | enhe.9.tst | a b a b i l א ב א ב י ל
a b a d a n ע ב ד א ן
a b d o h ע ב ד ו
a b d u h ע ב ד ו ה
a b h u r א ב ח ו ר
a d e ע א ד
a d o l p h e א ד ו ל ף
a d r i a t i c א ד ר י א ט י ק
a d w a n ע ד ו א ן
a f a r ע פ א ר
a h m a d א ח מ ד
a j r a m ע ' ג ר ם
a l a s k a n א ל ס ק א ן
a l e x a n d r u א ל ק ס נ ד ר ו
a l l a n א ל ... |
e8e3fec170351a757bbf166a95eb42bc2db0d140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.14/SolEx4_14.sce | cbbb4ddf2ca64767d2ab333253c766d3fd4b06b3 | [] | 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 | 276 | sce | SolEx4_14.sce | //find IDQ and VGSQ.
//Example 4.14 page no 123
clear
clc
Vdd=15 //v
Vdsq=7 //v
Rs=3 //kΩ
Rd=1 //kΩ
Idq=((Vdd-Vdsq)/(Rs+Rd))
printf("\n Idq=%0.2f mA" ,Idq)
Vgsq=-(Idq*Rd)
printf("\n Vgsq=%0.2f V" ,Vgsq)
|
25286e876867c8af1198710293bc740a9a964801 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.4_9.tst | a0ee9318b334b04b7095674061d19ef7c3ca7bb2 | [] | 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 | 709,027 | tst | 5.4_9.tst | 4 632:1 681:1 715:1 913:1 935:1 1215:1 1510:1 1639:1 1649:1 1743:1 1831:1 1865:1 2241:1 2348:1 2485:1 2535:1 3460:1 3649:1 3868:1 3992:1 4023:1 4133:1 4237:1 4305:1 4801:1 4864:1 5007:1 5032:1 5424:1 5467:1 5653:1 5685:1 6353:1 6479:1 6510:1 6518:2 6537:1 6543:1 6562:1 7192:1 7373:1 7914:1 7989:1 8013:1 8056:1 8671:1 9... |
850353862277740550dde98f7c2dd4ce41c9cd71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH8/EX8.21/8_21.sce | 6146fb71c34aed12febe440e9c1518ac898820d4 | [] | 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 | 292 | sce | 8_21.sce | //finding maximum conversion time//
//example 21//
clc
//clears the command window//;
clear
//clears//
c=2^10;//maximum no of counts//
f=2*10^-6;//counter advance rate of 1 count per second//
T=c*f;//conversion time//
disp('maximum conversion time:')
disp(T);//displaying result//
|
9c71cc51059abc8ceca18f7adea41c162222ebbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH4/EX4.16/example416.sce | ede67c79707b1cfcfd1e1fdd8e4fa61bc355b99a | [] | 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 | 118 | sce | example416.sce | //Example 4.16
//Find DTFT of x[n]=(a^n)u[n],for 0<a<1
clc;
syms w a n;
x=a^n;
X=symsum(x*exp(-%i*w*n),n,0,%inf); |
f099bdf32293c5fbb6a723b6ca8deb272853a2ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH9/EX9.7/Exa9_7.sce | 3da35629c7533a457a44383bc44e77512d359928 | [] | 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 | 369 | sce | Exa9_7.sce | //Exa 9.7
clc;
clear;
close;
//given data
// IC 723
Id=1;//in mA
Vsense=0.7;//in volts
Vo=15;//in volts
Im=50;//in mA
Vr=7;//in volts
R1=(Vo-Vr)/(Id*10^-3);
R2=Vr/(Id*10^-3);
R3=(R1*R2)/(R1+R2);
Rcl=Vsense/(Im*10^-3);
disp("various resistance values for the circuit is as follows : ")
disp(R1,"R1 :")
di... |
567c92f584a84e249573d5eb8092e9afa93ee316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.40/5_40.sce | 603a871ec23d73bf826bd12dc0c399f53ef61599 | [] | 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 | 595 | sce | 5_40.sce | //Example 5.40
//Newton Raphson Method
//Page no. 206
clc;clear;close;
deff('y=f(F)','y=-10*F^3-21*F+10')
deff('y=f1(F)','y=-21-30*F^2')
printf('n\txn\t\t\f(xn)\t\tf1(xn)\t\tXn+1\t\tError\n')
printf('-----------------------------------------------------------------------------------------------------\n')
x0=1;e... |
2319cb4a834a1841b9e80e07a348ceb07049cc18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH6/EX6.6w/6_6w.sce | f5dac8acb731f4735782eddfd462389e56d63ca2 | [] | 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 | 759 | sce | 6_6w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.6w
//calculation of the values of coefficient of static and kinetic friction
//given data
M=2.5//mass(in kg) of the block
F=15//horizontal force(in N)
g=10//gravitational acceleration(in m/s^2) of the earth
x=10//... |
459239b579a55f0038f8bae404dd0d15e547d627 | 82d111a65c769023fffac97c55920dc88b256156 | /tests/procedures.tst | d8a902c77c764e9e6300a5604782a22fbf4e1e1e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | scotws/Cthulhu-Scheme | c32910f7425da53ebc125094145a05481278ab5f | d7edfce86664aaaafde10bd34484e39b21d431d7 | refs/heads/master | 2021-05-23T01:44:01.222040 | 2020-05-17T13:02:27 | 2020-05-17T13:02:27 | 253,177,979 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | tst | procedures.tst | ; Procedure Tests for Cthulhu Scheme
; Scot W. Stevenson <scot.stevenson@gmail.com>
; First version: 10. Mai 2020
; This version: 10. Mai 2020
; Formats:
; - empty lines are ignored
; - lines that start with a semicolon ';' like this one are ignored
; - lines that start with a SECTION are printed to the output
; - Al... |
9472045c0188fcbf7bd8dbb4c596e0982a92ecef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH11/EX11.11/EX11_11.sce | a24862008669bcad81a8ffa76c714a2a046b9aa0 | [] | 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 | 640 | sce | EX11_11.sce | clc;funcprot(0);//EXAMPLE 11.11
// Initialisation of Variables
a=4500;.................//Altitude
afr=14;...............//Air fuel ratio at sea level
t1=25;...........//Temperature at sea level in Celsius
p1=1.013;...........//Pressure at sea level in bar
//Calculations
t2=t1-(0.0064*a);............................ |
492a8b988502d2071e9479adf5fad4514661d518 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.10_7.tst | 53dc47d0de1ac337d92591cd49f9b0195c645ba3 | [] | 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 | 3,638 | tst | bow.10_7.tst | 10 1073:0.16666666666666666 1074:1.0
10 7:0.5 21:0.25 22:0.058823529411764705 431:1.0 486:0.5 649:1.0
10 4:0.2 7:0.5 54:0.25 72:1.0 91:0.6666666666666666 93:1.0 150:0.5 157:0.5 299:1.0 311:0.16666666666666666 419:1.0 421:1.0 798:1.0 1066:1.0 1084:1.0 1085:1.0 1087:1.0 1164:0.5 1367:1.0 1426:1.0 1436:1.0
10 22:0.0588235... |
87971ff078fef5c8f264f4b7e01cdea302cf351a | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH6/EX6.4/Example_6_4.sce | 8d7353860dd7625e57243179af3be54c81182afe | [] | 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,637 | sce | Example_6_4.sce | clc;
clear;
printf("\n Example 6.4\n");
l=0.3;//length of tube
printf("\n Given:\n length of tube = %.1f m",l);
id_t=25e-3;//Top internal diameter of tube
printf("\n Top internal diameter of tube = %d mm",id_t*1e3);
id_b=20e-3;//Bottom internal diameter of tube
printf("\n Bottom internal diameter of tube = %d... |
cd21d2920d95d52c38714db3358a9e131fd3e747 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH7/EX7.10.4/EX7_10_4.sce | d011cbfe731a54efb2e058a2f92ada4ebc1ee790 | [] | 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 | 530 | sce | EX7_10_4.sce | //Example No. 7.10.4
clc;
clear;
close;
format('v',7);
N1=1;//no. of turns in primary
N2=8;//no. of turns in secondary
//a=lambda/25;
aBYlambda=1/25;//(temporary calculation)
//A=%pi*a^2
A_BY_lambda_sqr=%pi*aBYlambda^2;//(temporary calculation)
Rr1=31200*(N1*A_BY_lambda_sqr)^2;//Ω(Radiation resistance for si... |
97adec727d9cf5d3d66020b9b8649d5de4aaee61 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%l_o_l.sci | ccb40bd81d696a9ca51b879c140027ff80c93791 | [
"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 | 375 | sci | %l_o_l.sci | function [r]=%l_o_l(l1,l2)
//l1==l2
//!
// Copyright INRIA
n1=size(l1)
r=n1==size(l2)
if r&n1>0 then
r=%f(ones(1,n1))
sel=%f(ones(1,n1))
k1=definedfields(l1)
k2=definedfields(l2)
for i=intersect(k1,k2),
if l1(i)==l2(i) then r(i)= %t,end
end
s1=1:n1;s1(k1)=[];
s2=1:n1;s2(k2)=[];
k1=intersect(s1,s... |
1a8331a164f5450e63cc4ae794fbe6d0e1c2594c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH7/EX7.1/Ex7_1.sce | 6b9dfd5c8d3fc9db4815a66b099f96cde77ba49b | [] | 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 | 743 | sce | Ex7_1.sce | //chapter-7 page 278 example 7.1
//==============================================================================
clc;
clear;
a=4;//Length of Waveguide in cm
b=2.5;//breadth Waveguide in cm
f=10^10;//Frequency in Hz
x=0.1;//distance between twice minimum power points in cm
c=3*10^10;//Velocity of Light in cm/... |
6bbf79db3c412f4c7ab81c9c1aab3aebfd35bc20 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RV20.prev.tst | 791c8deb7dca9d11dd7f104b829d939c1b43c161 | [
"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 | 257 | tst | RV20.prev.tst | [3,2,1] | [1,1] =
divide: quot[1] = 1, remd = [3,1]
divide: quot[0] = 1, remd = [2]
gcd: [3,2,1] / [1,1] -> [1,1] rest [2]
divide: quot[1] = 1/2, remd = [1]
divide: quot[0] = 1/2, remd = [0]
gcd: [1,1] / [2] -> [1/2,1/2] rest [0]
result: [1/2,1/2]
|
0fcdafd9137b8cb817727a7784081f21553c1a22 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/standard_define.sci | 73a7e42b849a141061442810f7dfdaf995f149a3 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sci | standard_define.sci | function o=standard_define(sz,model,label)
//initialize graphic part of the block data structure
[lhs,rhs]=argn(0)
if rhs<3 then label=' ',end
[nin,nout,ncin,ncout]=model(2:5)
if nin>0 then pin(nin,1)=0,else pin=[],end
if nout>0 then pout(nout,1)=0,else pout=[],end
if ncin>0 then pcin(ncin,1)=0,else pcin=[],end
if ncou... |
0dc50dbc121a249875ca20b25de45f2b59de1559 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH14/EX14.5/ex14_5.sce | 3339ed413fe02664a50d56839771f2e3ee9facee | [] | 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 | 450 | sce | ex14_5.sce | clc;
clear all;
C=2.4*1e-12;//given capacitance in F
e0=8.854*1e-12;//permittivity of vacume
a=4*1e-4;//area in m^2
d=0.5*1e-2;//thickness
tandelta=0.02;
er=(C*d)/(e0*a);//relative permittivity
disp(er,'relative permittivity is=');
lf=er*tandelta;//loss factor
disp(lf,'electric loss factor is=');
delta=atan(... |
b4ecd4de2faf22bee50af1ce40ecb223fa5ee6e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.27.a/data8_27.sci | f48f6488ac79214fd0b2b6b2ed81c3d6776cb5da | [] | 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 | 662 | sci | data8_27.sci |
//(Welded and Riveted Joints) Example 8.27
//Refer Fig.8.70 on page 324
//Number of rivets n
n = 9
//Permissible shear stress tau (N/mm2)
tau = 60
//Eccentric force P (kN)
P = 50
//Eccentricity e (mm)
e = 300
//Radial distance of rivets 2, 4, 6 and 8 from the C.G.(5) r2 (mm)
r2 = 100
//Number of rivets wi... |
b1c6b76cce5d15f71cc3c7cf011a998be8f9e219 | de14a6897d4397228a52bacb8905b8807370ef4b | /secante.sce | 902a47746a220d92dc9978888a4cc20e9a9e48a5 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | secante.sce | function y=f(x)
y=x^2-2;
endfunction
x=2; y=1;
ITMAX=1000; precision=1e-10; erreur=zeros(ITMAX,1); //initialisation
for k=1:ITMAX
y=x-f(x)*(x-y)/(f(x)-f(y));
//passage par une variable temporaire pour inverser les valeurs de x et y
temp=x; x=y; y=temp;
erreur(k)=abs(y-sqrt(2));
... |
c40d1385086c67ca46eefb3125b9303d71e65e86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.23/Ex25_23.sce | 7b72a63f3411b1b1542dea96a4b927510e44fa6d | [] | 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 | 193 | sce | Ex25_23.sce | clear
//Given
b=238
c=206
d=92
e=82
//Calculation
a=(b-c)/4.0
A=-d+(2*a)+e
//Result
printf("\n (i) The emission of alpha particle will reduce the mass number by 4a and charge number by 2a")
|
31587fb292a29649abdf5cd3ab089076f0a0df3a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/roots.man.tst | c27c52daabfc4fac6e574e4d36be6e4f018cabc8 | [
"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 | 136 | tst | roots.man.tst | clear;lines(0);
p=poly([0,10,1+%i,1-%i],'x');
roots(p)
A=rand(3,3);roots(poly(A,'x')) // Evals by characteristic polynomial
spec(A)
|
a54a4b0e768fc2aaec3d2d7c91549901d42f86fb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/PROD_f.sci | 652242d031f4a9bc8ad7885c7c5916d4e4de777b | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,757 | sci | PROD_f.sci | function [x,y,typ]=PROD_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
[orig,sz]=arg1(1:2)
wd=xget('wdim')
graphics=arg1(2); [orig,sz,orient]=graphics(1:3)
thick=xget('thickness');xset('thickness',2)
p=wd(2)/wd(1)
rx=sz(1)*p/2
ry=sz(2)/2
xarc(orig(1),orig(2)+sz(2),sz(1)*p,sz(2),0,23040... |
656fdacaa0bd51b527d0386fb7c9ff2c6f5c3e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH13/EX13.4/Ex13_4.sce | 6b98d6c51a023543b60a0bbdeb8541c73b1c2d4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex13_4.sce | clear
//Initialization
q=15*10**-6 //charge in coulomb
a=200*10**-6 //area
//Calculation
d=q/a //electric flux density
//Results
printf("\n D = %d mC/m^2",d*10**3)
|
d37b4945827143cc7772f6583a1e69b91213ef40 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%sxr.sci | e6346eb8b2ff17f74784fffeaf37360664fa97ae | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sci | %sxr.sci | //<f>=%sxr(n1,f2)
// %sxr(,M,r) calcule le produit element par element de la matrice de
//scalaires M par la matrice de fractions rationnelles r . (M.*r)
//!
f=list(f2(1),n1.*f2(1),f2(3),f2(4))
//end
|
4059f51d54ad71d899a963bf37716624226f3a97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH5/EX5.5/ex_5_5.sce | c79431e9bf21b3e49780118357a938f9d6370cf0 | [] | 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 | ex_5_5.sce | //Ex 5.5
clc;
clear;
close;
format('v',4);
Ad=5:200;//Gain
R1max=50;//kohm(Potentiometer)
R4=10;R3=10;//kohm
//Case 1st : Ad=Admin &R1=R1max
R1=R1max;//kohm
R2=(min(Ad)-1)/2*R1max
//Case 2nd : Ad=Admax &R1=R1min
R1min=2*R2/(max(Ad)-1);//kohm
disp(R2,"Resistance R2(kohm)");
disp(R1min,"Minimum value of res... |
6fc637dc3d2e300ec32ebef8ce6107700760ff0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH11/EX11.2/Ch11Ex2.sce | 7a7518787e174f918d4575c5c925de62ffe30a36 | [] | 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 | 700 | sce | Ch11Ex2.sce | // Scilab code Ex11.2: Pg 383 (2005)
clc; clear;
// Part (a)
f = 6.42e+13; // Frequency of absorption, Hz
omega = 2*(%pi)*f; // Angular frequency of absorbed radiations, Hz
mu = 1.14e-26; // Reduced mass of CO molecule, kg
K = mu*(omega^2); // Effective force constant of CO molecule, N/m
printf("\nTh... |
1d8bf2cdf39851d7bdf13f7b120a403caaca263b | 05054a01bf975f26d83f2fc1ca9fe8c5b8919a50 | /BPSKandFSK.sci | e5ca74a5c775917455641e36922f87613fe7a069 | [] | no_license | manoj0108/Generation-of-Signals | 4d4f99390209b62b5331e54845cf733baf9ff54d | 46a7ab81993f482d86a0fae64458ced15771fb7d | refs/heads/main | 2023-06-04T03:29:26.312704 | 2021-06-20T20:30:54 | 2021-06-20T20:30:54 | 378,732,223 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,248 | sci | BPSKandFSK.sci | Generation Of BPSK and BFSK signal:
// NRZ polar line coding technique
// Generating BPSK and BFSK signals
clc; clear;
fc = input('Enter the carrier frequency'); //2
n = input('Input Message sequence'); //[1 0 0 1 1 1 0 1]
for i=1:length(n)
if n(i) == 1 then
seq(i) = 1;
else
seq(i) = -1;
e... |
aa75de64968280a23b8b7b13f679940dbcbbe155 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanStability_Coupled.tst | eb8f57cb3c98bd52b005b6fd315700005927b170 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 862 | tst | ChanStability_Coupled.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Linear stability with coupled solver (Arpack LI): Channel Largest real Ev = (0.00223554,+/-0.249844i)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanStability_Coupled.xml</parameters>
<files>
<file descripti... |
43d31874b61071e9e3bb86e94ab6a7f5fdf96c33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH1/EX1.1/chapter1_Example1.sce | 8efba1eb1b777bde43681fd67c18bb12f7112b10 | [] | 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 | 287 | sce | chapter1_Example1.sce |
clc
clear
//INPUT DATA
L=1;//Length of the bar in m
l=0.25;//Length of the pemdulum in m
//CALCULATIONS
k=sqrt((L^2)/12);//Radius of gyration m
T=sqrt(((k^2/l)+l)/9.8)*2*3.14;//Time period of pendulum in s
//OUTPUT
mprintf('Time period of the pendulum is %3.3f sec',T)
|
a9f06b5a8f4ebd18628594ba8146203cfc0d4064 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_04_example.sci | f05c1c9ca1775f9759f2215697b5bc67d99b6ae1 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sci | 6_04_example.sci | //Example Water Jet Stinking a Stationary Plate
V_1 = 20 //velocity of water jet [m/s]
mdot = 10 //water mass flow rate of stiking the stationary plate [kg/s]
beta1 = 1 //momentum flux correction factor |
c961c9d35388cad58fc2899666b9b8d18da9c051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.15/4_15.sce | b8f4d29a2020838e567f790f54a630fa72e4942d | [] | 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 | 810 | sce | 4_15.sce | clc,clear
printf('Example 4.15\n\n')
P=30*1000/3 //power per phase
V_ph=400/sqrt(3) //phase voltage
R=(V_ph)^2/P //resistance of strip
t=0.025*10^-2 //thickness of strip
S=1.03*10^-6 //specific resistance of nichrome alloy
l_by_w = R*t/S //because R=specific_resistance*l/(w*t) ... |
08ffb453e0ab117c4cf2be8d491c5cee57e1cadc | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_note/Bourel-Masanes TDmachine.sce | 251b3157210a638aeca4a33400f1e289c4aac009 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,217 | sce | Bourel-Masanes TDmachine.sce | vo = zeros (1, 50)
v1 = 10*ones (1, 50)
v2 = 0:0.3:10
v5 = linspace (-3, 7, 50)
v6 = 1:1:25
p = 2*ones (1, 25)
p.^v6
function r = truc(x)
r = (1+x) .* sin(%pi .* x)
endfunction
x = linspace (-2, 2, 100)
a = truc(x)
fenetre = figure("Figure_name", "Equations", "position", [100 50 1000 600]);
fenetre.backgro... |
2ec0d904f9bd5ff70de14644bab443f40af54f87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH9/EX9.3/93.sce | 90a7bc3247b00dedbcc3da1ed70d3b4cf97fd7fe | [] | 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 | 238 | sce | 93.sce | // problem 9.3
D=0.15
s=0.3
Hs=3
Hd=30
n=0.8
a=3.142*D*D/4
N=60/60
w=9810
Q=0.62/60
Qth=(2*a*s*N)
slip=(Qth-Q)/Qth
power=(w*Qth*(Hs+Hd))/(1000*n)
disp(slip*100,power,"power in Kw required to drive the pump,percentage slip")
|
9cccd5329a0e4ef7a36f9f9591a10b9019ce19e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH5/EX5.12/Example_5_12.sce | 056a5a6f0c5aa0e865ca21043c4464da22fc1a43 | [] | 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 | 752 | sce | Example_5_12.sce | //Example 5.12
clear;
clc;
//Given
HfNH4NO3=-365;//enthalpy of formation of NH4OH in kJ mol^-1
HfH2=0;//enthalpy of formation of H2 in kJ mol^-1
HfH2O=-242;//enthalpy of formation of H2O in kJ mol^-1
HfN2H4=50;//enthalpy of formation of N2H4 in kJ mol^-1
SoNH4NO3=150;//Standard entropy of NH4NO3 molecule in J... |
20726ad13a1d9ac635b2a661b1d19cfd325cf7e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.18/ex1_18.sce | 15c03ba5573c54383998b52014ea2bb3c8793536 | [] | 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 | 287 | sce | ex1_18.sce | //Page Number: 43
//Example 1.18
clc;
//Given
er=2.2;
n0=377;//ohm
n2=n0/sqrt(er);//ohm
n1=377;//ohm
//Reflection coefficient
t=(n2-n1)/(n2+n1);
disp(t,'Reflection coefficient:');
//Vswr
//Taking mod of reflection coefficient
t1=-t;
p=(1+t1)/(1-t1);
disp(p,'VSWR:');
|
9ed486a37aa862cbc75d21c5fdbc62f0ec44c4c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_upper.sci | c2d9a5a4951d3c2071cff8d02a52ff9da872621c | [
"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 | 140 | sci | sci_upper.sci | function [stk,txt,top]=sci_upper()
// Copyright INRIA
txt=[]
stk=list('convstr('+stk(top)(1)+',''u'')','0',stk(top)(3),stk(top)(4),'10')
|
257069a5aabad32a52fb370643d5134abdca84fc | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/boundingRect.sci | 973bf8ce5719189dff8fab68211206e9d5714ead | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sci | boundingRect.sci | //Function migration (image list to matrix) for: boundingRect
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = boundingRect(varargin)
select length(varargin)
case 01 then
res = raw_boundingRect(varargin(01))
else
error(39)
end
endfunction |
88deb7ce1bd9ca77c95b9a5f99f7f33dd42d40a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH7/EX7.2.1/7_2_1.sce | 7e951829f568bcafa2d65f67d6b13a22a18b92ab | [] | 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 | 7_2_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 7
//Example 7.2-1
//Principles of Unsteady state and convective mass transfer
//given data
pa1=0.2*101325;//Pa
pa2=0;
P=2*101325;
ya1=pa1/P;
ya2=pa2/P;
yb1=1-ya1;
yb2=1-ya2;
ybm=(yb2-yb1)/((log(yb2/yb1))/log(2.71828183));
kdy=6.78/(10^5);
k... |
63043132066c66e8cb69d409a342a9cf6827b73e | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.10/Example3_10.sci | bdd0540cd89a2f019003183cfacbef5a16f374e3 | [] | 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,102 | sci | Example3_10.sci | clear;
clc();
// To find the total heat flow per foot of depth through the sction and the shape factor
k=0.9; // thermal conductivity of section material in Btu/hr-ft-degF
// Heat is considered to flow through fictitious rods and only half of the heat flows through symmetry axes
... |
0fad6ebc96e24ecb8b9c4ed8e095872387618fca | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH13/EX13.3/Example_13_3.sce | 80aa943002a07344714fd282d60d08086c3e9f15 | [] | 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 | 178 | sce | Example_13_3.sce | syms Y t
X1=Y;
X2=diff(Y,t);
X3=diff(X2,t);
A=[0 1 0;0 0 1; -2 -7 -4]
B=[0 ; 0 ; 5]
disp("OUTPUT IS C*X + D*U WHERE ")
C=[1 0 0 ];
D=0;
disp(C,"C=")
disp(D,"D= ")
|
9569e300842a498eb32a81548a31b1b50df1ef13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH7/EX7.14/Ex7_14.sce | 5c065b80160223e54c0e1be2544d2972ce65846c | [] | 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 | 300 | sce | Ex7_14.sce | // Exa 7.14
clc;
clear;
// Given
// An LVDT
vo = 2.6; // Output voltage(volts) of LVDT
d = 0.4; // displacement in mm
// Solution
printf(' The sensitivity s = RMS value of output voltage/Displacement \n');
S = vo/d; // sensitivity
printf(' Therefore, s = %.1f V/mm \n',S);
|
9c133b575f209ef7950e48351586123776abc6a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH1/EX1.10/1_10.sce | 0d9bb7231f700b300664d8036d07fe85e11ad90a | [] | 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 | 1_10.sce | disp("En=-(13.6)*(Z^2)/(n^2)");
n1=1;n2=2;n3=3;
Z=3;
h=6.6*10^-34;
c=3*10^8;
E1=-(13.6)*(Z^2)/(n1^2);
E2=-(13.6)*(Z^2)/(n2^2);
E3=-(13.6)*(Z^2)/(n3^2);
printf('\n The value of E1 is %f eV',E1);
printf('\n The value of E2 is %f eV',E2);
printf('\n The value of E3 is %f eV',E3);
a1=91.8;a2=108.8;a3=114.75; //... |
3b9fd9c239c8345b3b119fcc9cd7dd83ba73377c | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Syntaxe/OK/DO_OK.tst | 065d959e58808142c416e6fdbcb94b2b147266db | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 96 | tst | DO_OK.tst | void main()
{
int a = 10;
do
{
print("DO_OK");
}
while(a == 10)
{
print("DO_OK");
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.